tickets

List a ticket's thread

Oldest first by default (sort_dir=desc for newest first). Internal staff notes are visible to staff only. from/to bound created_at (since/until are accepted aliases, so an incremental poll sends since=<last created_at>): YYYY-MM-DD is an inclusive whole UTC day, RFC3339 an exact instant (from inclusive, to exclusive); malformed is 400 invalid_from / invalid_to. total counts the messages matching the window.

get/tickets/{id}/messages

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/tickets/{id}/messages
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

ticket id

Query parameters

fromstring

created_at lower bound (inclusive): YYYY-MM-DD or RFC3339

tostring

created_at upper bound: YYYY-MM-DD (inclusive day) or RFC3339 (exclusive)

sincestring

alias of from (from wins when both are sent)

sort'created'

sort field

sort_dir'asc' | 'desc'

sort direction (id breaks ties in the same direction)

limitinteger

page size

offsetinteger

page offset

Response

OK

limitinteger
offsetinteger
successboolean
totalinteger

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.