Skip to main content
POST
/
v1
/
customers
Create a customer
curl --request POST \
  --url https://revstack.dev/v1/customers \
  --header 'Content-Type: application/json' \
  --data '
{
  "environmentId": "<string>",
  "userId": "<string>",
  "providerId": "<string>",
  "externalId": "<string>",
  "email": "jsmith@example.com",
  "name": "<string>",
  "phone": "<string>"
}
'
{
  "id": "<string>",
  "success": true
}

Body

application/json
environmentId
string
required
userId
string
required
providerId
string
required
externalId
string
required
email
string<email>
required
name
string
required
Minimum string length: 1
phone
string

Response

Customer created successfully

id
string
required
success
boolean
required