Skip to main content
POST
/
create-customer
Nieuwe klant aanmaken
curl --request POST \
  --url https://api.clientbox.co/api/1.1/wf/create-customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Sophie",
  "last_name": "de Vries",
  "email": "[email protected]",
  "company_name": "Tech B.V."
}
'
{
  "id": "cust_12345",
  "name": "Jan Jansen",
  "email": "[email protected]"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
first_name
string
required

De voornaam van de klant.

Example:

"Sophie"

last_name
string
required

De achternaam van de klant.

Example:

"de Vries"

email
string<email>
required

Het zakelijke e-mailadres. Wordt gebruikt voor communicatie.

company_name
string

Optioneel: Bedrijfsnaam.

Example:

"Tech B.V."

Response

Klant succesvol aangemaakt.

id
string
Example:

"cust_12345"

name
string
Example:

"Jan Jansen"

email
string