Skip to content
Endless Documentation

Create Invitation

POST
/organizations/{organization_id}/invitations

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/organizations/org_abc123/invitations" \  -H "Content-Type: application/json" \  -d '{    "invitations": [      {        "email_address": "user@example.com"      }    ]  }'
{  "invitations": [    {      "id": "string",      "email_address": "string",      "role": "org:admin"    }  ],  "errors": [    {      "email_address": "string",      "error": "string"    }  ]}