List any ticket's messages
GET
/api/v1/admin/tickets/{ticketID}/messages
const url = 'https://api.aetherplatform.cloud/api/v1/admin/tickets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/messages?limit=50';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.aetherplatform.cloud/api/v1/admin/tickets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/messages?limit=50' \ --header 'Authorization: Bearer <token>'Lists a ticket’s message thread (no org scope), oldest first. Requires the platform-admin realm role.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ticketID
required
string format: uuid
Support ticket UUID.
Query Parameters
Section titled “Query Parameters”cursor
string format: uuid
Opaque cursor (a UUID) for pagination; pass back the prior page’s next_cursor.
limit
integer
Maximum number of items per page (1-100, default 50).
Responses
Section titled “Responses”A page of messages.
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
ticket_id
required
string format: uuid
author_id
JWT subject of the author; null for API-token requests.
string | null format: uuid
author_type
required
string
body
required
string
attachments
Opaque legacy attachments blob (structured attachments arrive in a later phase).
Array
created_at
required
string format: date-time
next_cursor
string | null
Example
{ "items": [ { "author_type": "tenant" } ]}Missing or invalid credentials.
Media typeapplication/json
object
error
required
object
code
required
A stable, machine-readable error code.
string
message
required
string
details
Array<object>
object
field
required
string
code
required
string
message
required
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The credential was accepted but lacks the required role or access (e.g. a non-platform-admin calling an /api/v1/admin endpoint).
Media typeapplication/json
object
error
required
object
code
required
A stable, machine-readable error code.
string
message
required
string
details
Array<object>
object
field
required
string
code
required
string
message
required
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The requested resource was not found.
Media typeapplication/json
object
error
required
object
code
required
A stable, machine-readable error code.
string
message
required
string
details
Array<object>
object
field
required
string
code
required
string
message
required
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}