cURL
curl --request POST \ --url https://api.truthlocks.com/v1/users \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "email": "jsmith@example.com", "role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>" } '
{ "id": "990e8400-e29b-41d4-a716-446655440000", "org_id": "440e8400-e29b-41d4-a716-446655440000", "email": "newuser@example.com", "name": "John Doe", "status": "INVITED", "created_at": "2026-01-13T12:00:00Z" }
Invites a new user to the organization.
API key for machine-to-machine authentication
User invited
ACTIVE
INVITED
SUSPENDED