curl --request DELETE \
  --url https://integration.getmateo.com/api/v1/message \
  --header 'Authorization: Bearer <token>'
{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_inbound": false,
  "subject": "<string>",
  "author_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": {},
  "raw_content": "<string>",
  "status": "sent",
  "attachment_count": 123,
  "reply_to_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "external_files": {},
  "external_id": "<string>",
  "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "review_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "author_type": "employee",
  "forwarded": false,
  "forwarded_message_text": "<string>",
  "send_after": "<string>",
  "footer": "<string>",
  "sendout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sent_at": "<string>",
  "timestamp": "<string>",
  "location": "<string>",
  "location_metadata": {},
  "contacts": {},
  "files": {},
  "header_media_filename": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Select columns to return

id
string
required

Message ID

created_at
string

Message creation date

updated_at
string

Latest update

organisation_id
string

Organisation ID

conversation_id
string

Conversation ID

is_inbound
string

Is the message inbound?

subject
string

Subject of message

author_id
string

Author ID

content
string

Content of message

raw_content
string

Raw content of message

status
string

Status of message

attachment_count
string

Attachment count of message

reply_to_message_id
string

Reply to message ID

external_files
string

External files of message

external_id
string

External ID

template_id
string

Template ID

review_channel_id
string

Review Channel ID

author_type
string

Author type of message

forwarded
string

Is message forwarded?

forwarded_message_text
string

Forwarded Message text

send_after
string

Message send after

Message footer

sendout_id
string

Sendout ID

campaign_id
string

Campaign ID

sent_at
string

Message sent at

timestamp
string

Timestamp of message

location
string

Coordinates that are shared via chat

location_metadata
string

Location metadata of message

contacts
string

Contacts of message

files
string

Files shared with the message

header_media_filename
string

Header media filename of message

Response

200
application/json
The updated Message object

The response is of type object.