Sample - OpenAI API
GET/organization/invites/{invite_id}

Retrieve an organization invite

Retrieves a specific invitation from an organization. Provide the invite_id of the invitation whose recipient, role, status, and project access details you want to inspect.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
invite_idstringrequired
The unique identifier of the organization invitation to retrieve.

1 status code
200Returns the organization invite, including its recipient email address, role, status, timestamps, and projects granted upon acceptance.
objectstringrequired
The object type, which is always `organization.invite`
Allowed:organization.invite
idstringrequired
The identifier, which can be referenced in API endpoints
emailstringrequired
The email address of the individual to whom the invite was sent
rolestringrequired
`owner` or `reader`
Allowed:ownerreader
statusstringrequired
`accepted`,`expired`, or `pending`
Allowed:acceptedexpiredpending
created_atintegerrequired
The Unix timestamp (in seconds) of when the invite was sent.
expires_atintegeroptional
The Unix timestamp (in seconds) of when the invite expires.
accepted_atintegeroptional
The Unix timestamp (in seconds) of when the invite was accepted.
projectsarray<object>required
The projects that were granted membership upon acceptance of the invite.

Error handling

invite_id must identify an existing organization invitation. The identifier is used to retrieve the invitation and its associated project memberships.