API reference

API reference · Organizations

A crew's invite links

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

Needs members.manage. Never carries a code.

Parameters

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

Answer 200

The links.

Fields of the 200 answer
FieldTypeWhat it is
linksarray of object
links[].idinteger
links[].rolestring
links[].createdAtinteger
links[].expiresAtinteger
links[].usedAtinteger or null
links[].revokedAtinteger or null
links[].statestringOne of "open", "used", "revoked", "expired".

Errors

  • 401OpenAI shaped error.
  • 403OpenAI 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