POST
/
v3
/
users
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": "[email protected]",
    "first_name": "John",
    "last_name": "Doe",
    "full_name": "John Doe",
    "country": "US",
    "project_uid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "accounts": []
  },
  "message": "User created."
}

Authorizations

Authorization
string
header
required

The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').

x-project-id
string
header
required

Workspace UID required to identify the workspace.

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.