Skip to content

Answer a support conversation

POST
/api/v1/support/conversations/{id}/messages
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.

id
required
string

Conversation ID

Message

Media type application/json
object
body
string

Example

It works again, thanks

Created

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
conversation
object
closed_at
string
created_at
string
first_responded_at
string
first_response_due_at
string
id
string
last_message_at
string
last_message_author

LastMessageAuthor is that message’s author name (staff by their name). List only.

string
last_message_preview

LastMessagePreview is the latest public message, whitespace collapsed, at most 140 runes. List only; internal staff notes never count.

string
page_route
string
project_id

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.

string
project_name
string
state
string
Allowed values: open waiting closed
subject
string
type
string
unread
boolean
message
object
author_kind
string
Allowed values: customer staff
author_name
string
body
string
created_at
string
id
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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