Openapi
Create an invitation and dispatch the invite email.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuidapplication/json
The invitation payload.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/123/members" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "email": "user@example.com", "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391", "roleName": "string", "invitedBy": "9803bd85-1570-4d91-99f5-3a4d18ccfff0", "expiresAt": "string", "acceptedAt": "string", "declinedAt": "string", "createdAt": "string"}emailuuid