Skip to main content
POST
/
customer
cURL
curl --request POST \
  --url https://api.slash.com/customer \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "customMetadata": {}
}
'
{
  "customer": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>",
    "status": "active",
    "phone": "<string>",
    "address": {},
    "customMetadata": {}
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Query Parameters

The legal entity ID. Required if authenticating with access to multiple legal entities.

Body

application/json
name
string
required

Display name of the customer.

email
string
required

Email address of the customer.

phone
string

Phone number of the customer.

address
IAddressModel · object
customMetadata
object

Custom metadata to associate with the customer.

Response

OK

customer
Customer · object
required

A customer represents a billing recipient associated with a legal entity.