Skip to main content

Worked request and response samples

Copy a request body as written, substitute your own ids, and compare the response envelope. Errors follow Devotel Orbit’s { error, meta } envelope, shown once below under Error envelope.

Create a ticket

POST /api/v1/inbox/tickets
Request

Add a comment to a ticket

POST /api/v1/inbox/tickets/{id}/comments
Request
GET /api/v1/inbox/tickets/{id}/links
string
Optional edge-kind filter, e.g. related or duplicate.
Request

Error envelope

422

Worked sequences

The catalogue above trims every operation past the fifteenth to cURL plus Node.js (TypeScript). The two flows below re-run the inbox setup pipeline in the full six-language group; request bodies and response envelopes are the ones the catalogue publishes for each operation.

Create a macro, then run it on a conversation

Macros package the reply plus side effects an agent applies in one click. Create one, then apply it to a live conversation. Create the macro — POST /api/v1/inbox/macros
Run it on a conversation — POST /api/v1/inbox/conversations/{convId}/run-macro

Create a routing rule and read the rule list

Routing rules decide which queue or agent a new conversation lands in. Create the rule, then confirm it on the list read. Create the rule — POST /api/v1/inbox/routing-rules
Read the rules back — GET /api/v1/inbox/routing-rules