List Invites

List your organization's invites, newest first.

List your organization's invites, newest first. Pending, accepted and expired invites are all included unless you filter by status.

GET /v1/organizations/invites

Query parameters

emailstringoptional

Only return invites sent to this email address (case-insensitive).

roles[]string[]optional

Only return invites with one of these roles.

Allowed values:userdeveloperbillingadminowner
statuses[]string[]optional

Only return invites with one of these [statuses](/api- reference/admin/invites#status).

Allowed values:pendingacceptedexpired
limitintegeroptionalDefault 20

Items per page, 1 to 1000.

after_idstringoptional

Return the page after this ID (older items). Pass the previous page's last_id.

before_idstringoptional

Return the page before this ID (newer items). Pass the previous page's first_id.

Response

dataInvite[]optional
has_morebooleanoptional

true when there are more items beyond this page.

first_idstring | nulloptional

ID of the first item on this page, or null if the page is empty.

last_idstring | nulloptional

ID of the last item on this page, or null if the page is empty.

Errors

StatusReason
400A role or status is not a valid value, or limit is out of range, both after_id and before_id are set, or the cursor ID doesn't exist.