Whats App

Validating Contacts

POST
/conversation/v1/contacts

To send a template message outside the customer care time window, you should validate the Contact number first. This is a WhatsApp procedure to validate the WhatsApp ID before approaching your customers. With API, you can do: Verify that a phone number in your database belongs to a valid WhatsApp account. You must ensure that the status is valid before you can message a user.

Get the WhatsApp ID for a phone number. WhatsApp IDs are needed to send messages and use notifications.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/conversation/v1/contacts"
"{\n  \"contacts\": [ {\n    \"wa_id\": \"12345678910\",\n    \"input\": \"12345678910\",\n    \"status\": \"valid\"\n  },\n  {\n    \"wa_id\": \"12345678910\",\n    \"input\": \"+1 234 567 8910\",\n    \"status\": \"processing\" # Only applicable when request is non-blocking\n  },\n  {\n    \"input\": \"+201003155512\",\n    \"status\": \"invalid\"\n  },\n  {\n    \"input\": \"456464566446\",\n    \"status\": \"failed\"\n  }\n}"