Add a user to Transmit. A user_id is returned as part of the User in the response that can then be used to perform other operations, such as get, update and delete. An email or a phone_number are required.
Required permissions: apps:create, [appId]:create, users:create.
Security
ClientAccessToken
Secondary phone numbers to add to user's phone numbers, each specified in E.164 format
The language of the user, as provided by the browser using the Accept-Language header field
If this user is a dependent, this defines the permissions that the primary user will have to act on behalf of the dependent user.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/users
- US production environmenthttps://api.transmitsecurity.io/cis/v1/users
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/users
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/users
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/users
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/users
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/users \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"phone_number": "string",
"username": "string",
"secondary_emails": [
"string"
],
"secondary_phone_numbers": [
"string"
],
"birthday": "2019-08-24T14:15:22Z",
"address": {
"country": "string",
"state": "string",
"city": "string",
"street_address": "string",
"postal_code": "string",
"type": "Home"
},
"name": {
"title": "string",
"first_name": "string",
"last_name": "string",
"middle_name": "string"
},
"external_account_id": "string",
"custom_app_data": {},
"picture": "string",
"language": "string",
"custom_data": {},
"external_user_id": "string",
"credentials": {
"password": "string",
"force_replace": true,
"device_id": "string"
},
"delegated_access": {
"actor_id": "string",
"permissions": [
"string"
]
},
"custom_user_fields": {}
}'Response
{ "result": { "email": { … }, "secondary_emails": [ … ], "phone_number": { … }, "secondary_phone_numbers": [ … ], "username": "string", "user_id": "string", "birthday": "2019-08-24T14:15:22Z", "address": { … }, "name": { … }, "status": "Active", "status_changed_at": "2019-08-24T14:15:22Z", "created_at": 0, "updated_at": 0, "identity_providers": [ … ], "identities": [ … ], "last_auth": "2019-08-24T14:15:22Z", "external_account_id": "string", "app_name": "string", "custom_app_data": {}, "groupIds": [ … ], "picture": "string", "language": "string", "custom_data": {}, "external_user_id": "string", "password_information": { … }, "custom_user_fields": {} } }