POST
/
invited-users
Invite User
curl --request POST \
  --url https://api.wacht.dev/invited-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "role": "<string>",
  "organization_id": "<string>"
}'
{
  "id": "<string>",
  "email": "jsmith@example.com",
  "invited_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Body

application/json

Response

Invitation sent successfully

The response is of type object.