Get Chat Window Status
Get chat window status for a customer with given WABA number π«
API Endpoint
User the following endpoint to get chat window status:
GET https://public.doubletick.io/chat/status
Request Headers
{
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
}
Request Body Parameters
{
"customerPhoneNumber": "customer_number",
"wabaNumber": "your_waba_number"
}
Parameters
customerPhoneNumber
(string, required): The customer's phone number in international format.wabaNumber
(string, required): The WhatsApp Business API number in international format.
Response
Success Response (201)
{
"customerPhoneNumber": "customer_number",
"wabaNumber": "your_waba_number",
"isOpen": false
}
Unauthorized (401)
{
"message": "Invalid public api key",
"error": "Unauthorized",
"statusCode": 401
}
Best Practices
- Ensure phone numbers are valid before making the request.
Updated 14 days ago
Whatβs Next
Explore more message types and enhance your WhatsApp communication with DoubleTick API