API reference

API reference · Organizations

Make a one time invite link

POST/api/orgs/{id}/invite-linksSigned in session

Grants member or billing only; an admin or owner is invited by wallet address. The link is returned once. At most 20 open links per crew.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe crew's id.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
rolestringOne of "member", "billing".

Example

{
  "role": "member"
}

Answer 201

The link, shown once.

Fields of the 201 answer
FieldTypeWhat it is
idinteger
urlstring
rolestring
expiresAtinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 409OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter