Skip to main content
POST
/
customers
/
cURL
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": "jsmith@example.com",
    "phoneNumber": "<string>",
    "cc": "<string>",
    "bcc": "<string>",
    "address": {
      "address": "<string>",
      "city": "<string>",
      "zip": "<string>",
      "StateId": "<string>",
      "taxId": "<string>"
    },
    "attributes": [
      {
        "key": "<string>",
        "value": "<string>",
        "isIdentifier": true
      }
    ]
  }
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Customer object that needs to be created

name
string
required

Name of the customer

entity
object

Entity associated with the customer

I