Skip to main content
POST
/
customers
/
register
Register Customer
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/customers/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "phone": "<string>",
  "password": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "country": "<string>",
  "affiliate_id": "<string>",
  "campaign_id": "<string>",
  "funnel": "<string>",
  "affiliate_lead_id": "<string>",
  "promo_code": "<string>",
  "source": "organic"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
email
string<email>
required
phone
string
required
Maximum string length: 20
password
string | null
Required string length: 8 - 72
first_name
string | null
Maximum string length: 100
last_name
string | null
Maximum string length: 100
country
string | null
Required string length: 2
affiliate_id
string | null
campaign_id
string | null
funnel
string | null
affiliate_lead_id
string | null
promo_code
string | null
source
string
default:organic

Response

Successful Response