API Reference
Reference for the REST API
Send an invitation email to a user to join an organization.
cURL
curl --request POST \ --url https://api.xata.tech/organizations/{organizationID}/invitations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com" } '
{ "message": "<string>", "id": "<string>" }
The access token received from the authorization server in the OAuth 2.0 flow.
Unique identifier for a specific organization
Email address of the user to invite
Invitation sent successfully
Was this page helpful?