English
cURL
curl --request POST \ --url https://{tenantDomain}/my-org/invitations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "invitee": { "email": "user@example.com" }, "client_id": "string", "connection_id": "con_2CZPv6IY0gWzDaQJ", "ttl_sec": 3600, "roles": [ "string" ], "send_invitation_email": true }'
{ "id": "oui_12345678abcdefgh", "organization_id": "org_12345678abcdefgh", "inviter": { "name": "Allison the Admin" }, "invitee": { "email": "user@example.com" }, "client_id": "string", "connection_id": "con_2CZPv6IY0gWzDaQJ", "created_at": "2025-04-11T20:11:45.431Z", "expires_at": "2025-04-11T20:11:45.431Z", "roles": [ "string" ], "invitation_url": "<<initiate_login_url>>?invitation=<invite ID>&organization=org_123234", "ticket_id": "1asdfasd23usjdef" }
Create a new invitation for a member.
The access token received from the authorization server in the OAuth 2.0 flow.
Create Member Invitation for an Organization.
The response is of type object.
object