Skip to content

Developers

Requests and answers

Send JSON to POST /v1/ops/{operation-name}. A successful answer has a result field. An error has a code and message; some refusals also have a reason and detail. Include the request_id when asking for help.

List operations use an opaque cursor. Pass next_cursor to read the next page.

Examples

Request
curl -X POST https://api.telfluent.co.il/v1/ops/billing.offers \
  -H "Authorization: Bearer <key>" \
  -H "Content-Type: application/json" \
  -d '{}'
Successful answer
{
  "result": {}
}
Error answer
{
  "error": {
    "code": "<code>",
    "reason": "<reason>",
    "message": "<message>",
    "detail": {}
  },
  "request_id": "<request_id>"
}
The next page of a list
curl -X POST https://api.telfluent.co.il/v1/ops/billing.ledger \
  -H "Authorization: Bearer <key>" \
  -H "Content-Type: application/json" \
  -d '{"cursor":"<next_cursor>"}'