Backend API
Send an invitation to a new user
cURL
curl --request POST \ --url https://api.wacht.dev/invited-users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "role": "<string>", "organization_id": "<string>" } '
{ "id": "<string>", "email": "[email protected]", "invited_at": "2023-11-07T05:31:56Z" }
JWT Bearer token authentication using the Authorization header
(i64 formatted as string)
Invitation sent successfully