Browse the API reference

List Pending Invitations

get/v1/orgs/{org_id}/invitations

Part of Org Members.

Requires admin or owner role.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
org_idrequiredstringOrg Id

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/orgs/{org_id}/invitations" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

FieldTypeDescription
invitationsrequiredOrgInvitationResponse[]

Organization invitation response.

OrgInvitationResponse fields
FieldTypeDescription
idrequiredstring
org_idrequiredstring
emailrequiredstring
rolerequiredOrgRole

One of: owner, admin, member

statusrequiredstring
invited_by_user_idrequiredstring
invited_by_namerequiredstring
created_atrequiredstring (date-time)
expires_atrequiredstring (date-time)
is_expiredrequiredboolean
tokenoptionalstring

Test-support only: the raw invite token. Populated ONLY when AUTH_INVITE_TOKEN_IN_RESPONSE is enabled in a non-production environment; always null in production. Lets automated authorization tests complete the invite -> register flow without email interception.

totalrequiredinteger
org_idrequiredstring
StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
422Validation Error
429Rate limit exceeded
500Internal server error