Add user

POST
/api/v1/users

Adds a new recipient and associates them with the specified organizations.

Authorization

auth ApiKey
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

In: header

X-API-KEY<token>

Internal API key for admin endpoints. Example: "X-API-KEY: {key}"

In: header

Request Body

application/json

The request containing the recipient's details

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/users" \  -H "Content-Type: application/json" \  -d '{    "firstName": "string",    "lastName": "string",    "organizations": [      "6441dca2-bec7-4a05-8053-a5d3cf914587"    ]  }'
"string"