CrmUser

Create User

POST
Create a new user

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Request

This endpoint expects an object.
additional
anyRequired

Any fields that are not unified yet/non-unifiable come inside this json object.

email
stringRequired
The email of a user in a CRM.
firstName
stringRequired
The first name of a user in a CRM.
lastName
stringRequired
The last name of a user in a CRM.
phone
stringRequired
The phone number of a user in a CRM.

Response

This endpoint returns an object
status
enum
Allowed values: okerror
message
string
result
any
POST
$curl -X POST https://api.revert.dev/crm/users \
> -H "x-revert-api-token: string" \
> -H "x-revert-t-id: string" \
> -H "x-api-version: string" \
> -H "Content-Type: application/json" \
> -d '{
> "additional": {},
> "email": "string",
> "firstName": "string",
> "lastName": "string",
> "phone": "string"
>}'
Response
1{
2 "status": "ok",
3 "message": "string",
4 "result": {}
5}