Skip to Content
WhatsApp API by Retention Stack

Contacts

Check recipient registration and contact identifiers

GET
/v1/contacts/check-exists

Check a phone number of 10–15 digits, including country code and without +, using your session. Unlike most endpoints, success is the unwrapped engine object: numberExists and, when available, chatId. Use the returned chatId unchanged. A lookup error does not prove the number is unregistered.

Authorization

BearerAuth
headerAuthorizationBearer <ch_live_... | ak_live_...>

Direct WhatsApp Session Token (Authorization: Bearer ch_live_...) or Account API Key (ak_live_...). Generated in your dashboard at https://whatsapp-messaging.retentionstack.agency/start.

Query Parameters

phone*string

Phone number (10-15 digits)

Match^\d{10,15}$
session*string

WhatsApp session name. With a session token (ch_live_...), me targets that token's session; with an account key, use the session name.

Length1 <= length

Response Body

Invalid request or session not ready. Inspect error.details for validation issues, currentStatus, nextSteps or nextStep; link WhatsApp before sending.

application/json
  1. response
success*false
Value infalse
error*
timestamp*string
Formatdate-time
Example Request
curl -X GET 'https://wp-rapidapi.retentionstack.agency/v1/contacts/check-exists?phone=15551234567&session=me'
Example Response
{  "numberExists": true,  "chatId": "15551234567@c.us"}