List ticket messages
const url = 'https://api.muninx.com/messages?ticket-id=example&limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.muninx.com/messages?ticket-id=example&limit=25' \ --header 'Authorization: Bearer <token>'Returns messages for a ticket using cursor-based pagination. Customer users do not receive internal messages.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Ticket identifier whose messages will be returned.
Maximum number of messages to return.
Cursor returned by the previous messages page.
Responses
Section titled “ Responses ”Messages page
object
object
Author email, or organization display name when organization reply identity is enabled.
Cursor for the next page of messages.
Page size applied to this response.
Example
{ "items": [ { "author-role": "admin", "type": "external" } ]}Invalid request.
Error envelope emitted by the shared Gin error middleware.
object
Example generated
{ "code": "example", "message": "example", "error": "example"}Missing, invalid, or expired bearer token.
Error envelope emitted by the shared Gin error middleware.
object
Example generated
{ "code": "example", "message": "example", "error": "example"}The requested resource does not exist or is not accessible.
Error envelope emitted by the shared Gin error middleware.
object
Example generated
{ "code": "example", "message": "example", "error": "example"}Unexpected server error.
Error envelope emitted by the shared Gin error middleware.
object
Example generated
{ "code": "example", "message": "example", "error": "example"}