List support conversations
const url = 'https://api.deploybase.eu/api/v1/api/v1/support/conversations';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
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.deploybase.eu/api/v1/api/v1/support/conversations \ --header 'Authorization: <Authorization>'Lists every support conversation of the active team, most recent activity first, each with its state, whether a staff reply is unread, and a preview of the latest public message with its author.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
LastMessageAuthor is that message’s author name (staff by their name). List only.
LastMessagePreview is the latest public message, whitespace collapsed, at most 140 runes. List only; internal staff notes never count.
ProjectID and ProjectName name the team’s project the page route points at, so the thread can say “from Repro Site · Domains”. Thread only; absent when the route names no project of the team.
Example
{ "data": [ { "last_message_author": "Antoine", "last_message_preview": "The redirect is fixed in today's release", "project_name": "Repro Site", "state": "open" } ]}Unauthorized
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Internal Server Error
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Live 582ac705 built