{
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
}
const response = await fetch(
"POST /api/v1/message/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Go!Chat
Update thread message
Updates the specified chat message.
POST
/
api
/
v1
/
message
/
{id}
{
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
}
const response = await fetch(
"POST /api/v1/message/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Path parameters
Body parameters
Show properties
Show properties
Response body
- 204
- default
{
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
}
const response = await fetch(
"POST /api/v1/message/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"bcc": "string",
"cc": "string",
"content": "string",
"delivery": {},
"existing_attachments": [
"string"
],
"new_attachments": [
{
"file": "string",
"name": "string"
}
],
"read": "boolean",
"set_reminder": {
"delay": "integer",
"number_left": "integer"
},
"subject": "string",
"to": "string"
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
⌘I