cURL
curl --request POST \ --url https://api.callab.ai/v1/users/invite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "fullname": "<string>", "permissions": [ 123 ], "password": "<string>" } '
{ "status": "<string>", "message": "<string>", "data": "<string>" }
Add a new user to the company
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User details
The email address of the new user
The full name of the new user
Array of permission IDs to assign to the user
Optional password for the new user. If omitted, a random password is generated
User added successfully and invitation email sent.
Status of the response, e.g., 'success' or 'error'
A descriptive message for the response
Response data, typically a string for this type of response.
Was this page helpful?