Number
Status and sync
GET
/v1/me/healthYour number's status
GET https://api.api-supp.com/v1/me/health
Connection state, counters and stored data for your number. Good for a status screen. If the phone was unlinked or logged out, the number needs re-pairing from the portal; it won't reconnect by itself.
json
{
"connection": "open",
"qr_pending": false,
"stats": { "messages_in": 15, "sends": 4, "receipts_applied": 7 },
"db": { "messages": 27148, "chats": 1821, "lid_map": 112 }
}List every endpoint
GET https://api.api-supp.com/v1/discovery returns a machine-readable list of the endpoints: method, path, auth and a one-line summary.
Service check
GET https://api.api-supp.com/v1/health needs no token and returns {"ok": true} while the service is up. Use it for uptime monitors.
Ask WhatsApp for history again
POST https://api.api-supp.com/v1/sync restarts the number's WhatsApp session, after which WhatsApp may resend recent history. WhatsApp decides whether it does, and the reconnect takes a moment, so use it sparingly.
json
{ "ok": true, "message": "session restart triggered..." }