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/invitesQuery parameters
emailstringoptionalOnly return invites sent to this email address (case-insensitive).
roles[]string[]optionalOnly return invites with one of these roles.
Allowed values:
userdeveloperbillingadminownerstatuses[]string[]optionalOnly return invites with one of these [statuses](/api- reference/admin/invites#status).
Allowed values:
pendingacceptedexpiredlimitintegeroptionalDefault 20Items per page, 1 to 1000.
after_idstringoptionalReturn the page after this ID (older items). Pass the previous page's
last_id.
before_idstringoptionalReturn the page before this ID (newer items). Pass the previous page's
first_id.
Response
dataInvite[]optionalhas_morebooleanoptionaltrue when there are more items beyond this page.
first_idstring | nulloptionalID of the first item on this page, or null if the page is empty.
last_idstring | nulloptionalID of the last item on this page, or null if the page is empty.
Errors
| Status | Reason |
|---|---|
400 | A 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. |