Skip to main content
POST
/
whatsapp_configs
/
{whatsapp_config_id}
/
display_name_requests
/
{id}
Create customer
curl --request POST \
  --url https://app.kapso.ai/api/v1/whatsapp_configs/{whatsapp_config_id}/display_name_requests/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "customer": {
    "name": "Acme Corporation",
    "external_customer_id": "CUS-12345"
  }
}'
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Corporation",
    "external_customer_id": "CUS-12345",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

Your project API key

Body

application/json
customer
object
required

Response

Customer created

data
object
I