Get Timers
Get Timers API allows you to see the templateTimeLeft for a specific number.
Settings:
URL | |
Method | JSON via POST |
Body:
Parameter | Description / Example |
|---|---|
apiKey | Your API key for the service |
from | your WhatsApp account. international number without +. for example: 972771234567 |
number | the phone number you want to check. international number, example: 972551234567 |
Response:
{
"status": "OK",
"number": "972529988776",
"templateTimeLeft": "400",
"reason": 1
}
Response-Explain:
Parameter | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
status | OK or FAIL | ||||||||
number | the number you sent | ||||||||
templateTimeLeft | amount of minutes left since client's last message. if passed, you must use Template Message. This value resets every time the client is sending you a message. | ||||||||
reason | 'reason' is the status explanation in case of FAIL
|