curl --request POST \
--url https://api.quentli.com/v1/customers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"name": "Juan Perez",
"username": "juan_perez_01",
"email": "juan@example.com",
"phoneNumber": "+525512345678",
"secondaryPhoneNumber": "+525598765432",
"acceptedServiceAgreement": true,
"skipTaxInvoice": false,
"assigneeId": "cmab12cd3000x1a2b3c4d5e6f",
"optedOutWhatsappAt": "2025-01-15T10:30:00.000Z",
"metadata": [
{
"key": "studentId",
"value": "A-1029"
}
],
"tags": [
"VIP",
"Colegiatura"
]
}
}
'{
"customer": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"username": "<string>",
"organizationId": "<string>",
"acceptedServiceAgreement": true,
"skipTaxInvoice": true,
"emailVerified": true,
"phoneNumberVerified": true,
"hasChangedPassword": true,
"email": "<string>",
"phoneNumber": "<string>",
"secondaryPhoneNumber": "<string>",
"archivedAt": "<string>",
"archivedById": "<string>",
"signatureAcceptedAt": "<string>",
"optedOutWhatsappAt": "<string>",
"optedInWhatsappAt": "<string>",
"startedWhatsappAt": "<string>",
"replyWithAssistant": true,
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"meta": {}
}
}Creates a new customer.
curl --request POST \
--url https://api.quentli.com/v1/customers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"name": "Juan Perez",
"username": "juan_perez_01",
"email": "juan@example.com",
"phoneNumber": "+525512345678",
"secondaryPhoneNumber": "+525598765432",
"acceptedServiceAgreement": true,
"skipTaxInvoice": false,
"assigneeId": "cmab12cd3000x1a2b3c4d5e6f",
"optedOutWhatsappAt": "2025-01-15T10:30:00.000Z",
"metadata": [
{
"key": "studentId",
"value": "A-1029"
}
],
"tags": [
"VIP",
"Colegiatura"
]
}
}
'{
"customer": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"username": "<string>",
"organizationId": "<string>",
"acceptedServiceAgreement": true,
"skipTaxInvoice": true,
"emailVerified": true,
"phoneNumberVerified": true,
"hasChangedPassword": true,
"email": "<string>",
"phoneNumber": "<string>",
"secondaryPhoneNumber": "<string>",
"archivedAt": "<string>",
"archivedById": "<string>",
"signatureAcceptedAt": "<string>",
"optedOutWhatsappAt": "<string>",
"optedInWhatsappAt": "<string>",
"startedWhatsappAt": "<string>",
"replyWithAssistant": true,
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"meta": {}
}
}Organization API key using Authorization: Bearer sk_....
Request body for creating a customer.
Customer creation payload.
Show child attributes
Customer created
Successful customer creation response.
Customer record including identity, contact details, and messaging preferences.
Show child attributes
Was this page helpful?