API Access
Read your SMS records from your own software. The API shows exactly what your pages show you — no more and no less.
API credentials
X-API-Token: <your token>
Send it as a request header, never in the address — a token written into a URL ends up in server logs and browser history, and it does not expire. A new token stops the old one at once.
Is the API connected?
Endpoints. GET /api/me tells you whether the token works and how many records you may read.
GET /api/sms/cdr returns the records, newest first, with date_from, date_to, fnum, fcli,
page and per_page (up to 500).
Answers. 200 with "connected": true means it works. 401 is a missing or wrong token;
403 means API Access is switched off for the account, which only the level above can turn on.
API playground
answered from your own recordsClick “Preview” to build it…
Click “Preview” to see the answer…