Create User
POST/crm/users
Create User
Request
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
- application/json
Body
userFirstName stringrequired
The first name of the user.
userEmail stringrequired
The email address associated with the user's account.
userLastName string
The last name or surname of the user.
remoteFields json
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
user
object
id string
remoteId string
userFirstName string
userLastName string
userEmail string
isActive
remoteCreatedAt string
remoteUpdatedAt string
remoteDeleted boolean
Default value: true
createdAt string
updatedAt string
{
"user": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "5969180000000474001",
"userFirstName": "Jon",
"userLastName": "jacob",
"userEmail": "jon@runalloy.com",
"isActive": {},
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"user": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "5969180000000474001",
"userFirstName": "Jon",
"userLastName": "jacob",
"userEmail": "jon@runalloy.com",
"isActive": null,
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...