Create invite
POST
https://api.openai.com/v1/organization/invites
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/organization/invites' \
--header 'Authorization: Bearer $OPENAI_ADMIN_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"role": "owner"
}'
Response Response Example
{}
Request
Header Params
Authorization
stringΒ
required
Example:
Bearer $OPENAI_ADMIN_KEY
Content-Type
stringΒ
required
Example:
application/json
Body Params application/json
Responses
Modified atΒ 2024-12-12 05:55:37