cURL
curl --request POST \ --url https://api.captaindata.co/v3/users \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --header 'x-project-id: <api-key>' \ --data '{ "email": "<string>", "full_name": "<string>", "country": "<string>", "timezone": "<string>", "uid": "<string>" }'
{ "user": { "uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "email": "example@example.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "country": "US", "project_uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "accounts": [] }, "message": "User created." }
The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').
Workspace UID required to identify the workspace.
Successful Response
The response is of type any.
any