Retrieve invite

GEThttps:/api.openai.com/v1/organization/invites/{invite_id}

Retrieves an invite.

Path parameters

  • invite_id
    string
    Required
    The ID of the invite to retrieve.

Response

The Invite object matching the specified ID.

Example request
1
curl https://api.openai.com/v1/organization/invites/invite-abc \
2
-H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
3
-H "Content-Type: application/json"
Example response
1
{
2
"object": "organization.invite",
3
"id": "invite-abc",
4
"email": "user@example.com",
5
"role": "owner",
6
"status": "accepted",
7
"invited_at": 1711471533,
8
"expires_at": 1711471533,
9
"accepted_at": 1711471533
10
}
Built with