Skip to content
Ten Digit

Getting started

Conversation validity

Find out whether the 24-hour reply window is open for a contact.

WhatsApp only allows free-form messages within 24 hours of the contact's last message. Use this call to decide between a normal message and a template.

GET/conversation-validity

Parameters

LicenseNumberstringrequiredYour license number, shown on the Developer API page.
APIKeystringrequiredYour API key, shown on the Developer API page.
ContactstringrequiredPhone number with country code, digits only (for example 919876543210).
NamestringContact name, used if the contact is created.

Example request

curl -G "https://console.tendigit.in/api/v1/ext/conversation-validity" \
  --data-urlencode "LicenseNumber=YOUR_LICENSE" \
  --data-urlencode "APIKey=YOUR_API_KEY" \
  --data-urlencode "Contact=919876543210"

Response

json
{
  "success": true,
  "contact": "919876543210",
  "sessionStatus": "ACTIVE",
  "valid": true,
  "lastInboundAt": "2026-11-03T09:12:44.000Z",
  "conversationId": "cmt8z1abc0002xyz"
}

Open or closed

valid: true (sessionStatus: ACTIVE) means you can send any message type. false (EXPIRED) means only an approved template will go through.