Answer a support conversation
const url = 'https://api.deploybase.eu/api/v1/api/v1/support/conversations/example/messages';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"body":"It works again, thanks"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.deploybase.eu/api/v1/api/v1/support/conversations/example/messages \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "body": "It works again, thanks" }'Adds a message to a conversation of the active team. Any team member may answer. The conversation becomes open again (also when it was closed), meaning the deploybase team owes the next reply.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Conversation ID
Request Body
Section titled “ Request Body ”Message
object
Example
It works again, thanksResponses
Section titled “ Responses ”Created
object
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.
object
Example
{ "data": { "conversation": { "last_message_author": "Antoine", "last_message_preview": "The redirect is fixed in today's release", "project_name": "Repro Site", "state": "open" }, "message": { "author_kind": "customer" } }}Bad Request
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"}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"}Not Found
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