Content-Type: application/json on calls that include a body.
A successful call returns success: true. Most also include a data object. A failed call returns success: false, a code, and a message.
Status codes
Phone numbers are digits with a country code, such as
919876543210. GreenTick strips formatting before it calls WhatsApp. An invalid number returns 400 with code INVALID_TO. Template variables are named. They are not positional {{1}} placeholders.
Pagination
List calls that paginate acceptlimit and return nextCursor. Pass that value as cursor to fetch the next page. nextCursor is null when there are no more results.
List conversations is one of these calls. A search query on that route filters the current result and turns cursor pagination off. Message history uses before and after instead of cursor. See List messages in a conversation.
Retries
When a write documents anIdempotency-Key header, keep the key for that attempt. A repeat of the same route and key returns the stored response. Use a new key only when you intend a new write.
