curl --request GET \
--url https://api.openai.com/v1/organization/invites/{invite_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.invite",
"id": "<string>",
"email": "<string>",
"role": "owner",
"status": "accepted",
"invited_at": 123,
"expires_at": 123,
"accepted_at": 123,
"projects": [
{
"id": "<string>",
"role": "member"
}
]
}
Retrieves an invite.
curl --request GET \
--url https://api.openai.com/v1/organization/invites/{invite_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.invite",
"id": "<string>",
"email": "<string>",
"role": "owner",
"status": "accepted",
"invited_at": 123,
"expires_at": 123,
"accepted_at": 123,
"projects": [
{
"id": "<string>",
"role": "member"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the invite to retrieve.
Invite retrieved successfully.
Represents an individual invite
to the organization.
Was this page helpful?