Basic Messages

Endpoints for sending and retrieving basic messages

Get all messages

get

This endpoint retrieves all messages.

Authorizations
x-api-keystringRequired
Responses
200

A list of messages

application/json
basicMessagesobject[]Optional
get
/api/v1/messages

Send a basic message

post

This endpoint allows you to send a basic message.

Authorizations
x-api-keystringRequired
Body
invitation_idintegerOptional

The ID of the invitation.

Example: 1
contact_idstringOptional

The ID of the contact.

messagestringOptional

The message content.

Example: your message here
Responses
200

Message sent successfully

application/json
successstringOptional
post
/api/v1/messages

Get a message by ID

get

This endpoint retrieves a message by its ID.

Authorizations
x-api-keystringRequired
Path parameters
idstringRequired

The ID of the message to retrieve.

Responses
200

A message object

application/json
invitation_idintegerOptional

The ID of the invitation.

contact_idstringOptional

The ID of the contact.

messagestringOptional

The message content.

get
/api/v1/messages/{id}

Last updated

Was this helpful?