Client Check

Check if a client exists in your company and get the list of bots they are connected to.

POST/api/v1/client/check

Request Headers

HeaderValueRequired
X-API-KeystringYes
Content-Typeapplication/jsonYes

Request Body

NameTypeRequiredDescription
phone_numberstringYesClient phone number (11 digits)

Response Body

json
{"status":"accepted","event_id":"550e8400-e29b-41d4-a716-446655440000"}

Examples

bash
curl -X POST /api/v1/client/check \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "phone_number": "12345678901"
  }'
CodeMessageDescription
202AcceptedMessage accepted into processing queue
401UnauthorizedInvalid or missing X-API-Key
422Unprocessable EntityValidation error — invalid phone number format
429Rate LimitToo many requests
500Internal ErrorServer-side error

Change Phone Number