curl --request POST \
--url https://api.getenso.ai/customers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"entity": {
"legalName": "<string>",
"alias": "<string>",
"email": "[email protected]",
"phoneNumber": "<string>",
"cc": "<string>",
"bcc": "<string>",
"address": {
"address": "<string>",
"city": "<string>",
"zip": "<string>",
"StateId": "<string>",
"taxId": "<string>"
},
"attributes": [
{
"value": "<string>",
"key": "<string>",
"isIdentifier": true
}
]
}
}
'Create a new customer
curl --request POST \
--url https://api.getenso.ai/customers/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"entity": {
"legalName": "<string>",
"alias": "<string>",
"email": "[email protected]",
"phoneNumber": "<string>",
"cc": "<string>",
"bcc": "<string>",
"address": {
"address": "<string>",
"city": "<string>",
"zip": "<string>",
"StateId": "<string>",
"taxId": "<string>"
},
"attributes": [
{
"value": "<string>",
"key": "<string>",
"isIdentifier": true
}
]
}
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Customer object that needs to be created
Name of the customer
Entity associated with the customer
Show child attributes
Legal name of the entity
Alias of the entity
Email address of the entity
Phone number of the entity
Emails to be CC'd in comunications
Emails to be BCC'd in comunications