Skip to main content
Create Comment
curl --request POST \
  --url https://integration.getmateo.com/api/v1/comment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "random uuid",
  "created_at": "now()",
  "organisation_id": "random uuid",
  "updated_at": "now()",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "author_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": {},
  "text": "<string>"
}'
{
  "id": "random uuid",
  "created_at": "now()",
  "organisation_id": "random uuid",
  "updated_at": "now()",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "author_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": {}
}

Authorizations

Authorization
string
header
required

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

Query Parameters

select
string

Filtering Columns

Body

application/json

comment

id
string<uuid>
default:random uuid

Comment ID

created_at
string<timestamp with time zone>
default:now()

Comment creation date

organisation_id
string<uuid>
default:random uuid

Organisation ID

updated_at
string<timestamp with time zone>
default:now()

Latest update

conversation_id
string<uuid>

Conversation ID

message_id
string<uuid> | null

Message ID

author_id
string<uuid> | null

Author ID

content
object | null

Content of comment

text
string<text>

Text content for the comment. Can be plain text or HTML.

Response

The updated Comment object

id
string<uuid>
default:random uuid

Comment ID

created_at
string<timestamp with time zone>
default:now()

Comment creation date

organisation_id
string<uuid>
default:random uuid

Organisation ID

updated_at
string<timestamp with time zone>
default:now()

Latest update

conversation_id
string<uuid>

Conversation ID

message_id
string<uuid> | null

Message ID

author_id
string<uuid> | null

Author ID

content
object | null

Content of comment