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.
The object type, which is always organization.invite
organization.invite The identifier, which can be referenced in API endpoints
The email address of the individual to whom the invite was sent
owner or reader
owner, reader accepted,expired, or pending
accepted, expired, pending The Unix timestamp (in seconds) of when the invite was sent.
The Unix timestamp (in seconds) of when the invite expires.
The Unix timestamp (in seconds) of when the invite was accepted.
The projects that were granted membership upon acceptance of the invite.
Show child attributes
Was this page helpful?