Skip to main content
POST
Send a new message

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-04-15

Body

application/json
type
enum<string>
required

Type of message being sent

Available options:
SMS,
Email,
WhatsApp,
IG,
FB,
Custom,
Live_Chat
Example:

"Email"

contactId
string
required

ID of the contact receiving the message

Example:

"abc123def456"

appointmentId
string

ID of the associated appointment

Example:

"appt123"

attachments
string[]

Array of attachment URLs

Example:
emailFrom
string

Email address to send from

Example:

"sender@company.com"

emailCc
string[]

Array of CC email addresses

Example:
emailBcc
string[]

Array of BCC email addresses

Example:
html
string

HTML content of the message

Example:

"<p>Hello World</p>"

message
string

Text content of the message

Example:

"Hello, how can I help you today?"

subject
string

Subject line for email messages

Example:

"Important Update"

replyMessageId
string

ID of message being replied to

Example:

"msg123"

templateId
string

ID of message template

Example:

"template123"

threadId
string

ID of message thread. For email messages, this is the message ID that contains multiple email messages in the thread

Example:

"thread123"

scheduledTimestamp
number

UTC Timestamp (in seconds) at which the message should be scheduled

Example:

1669287863

conversationProviderId
string

ID of conversation provider

Example:

"provider123"

emailTo
string

Email address to send to, if different from contact's primary email. This should be a valid email address associated with the contact.

Example:

"recipient@company.com"

emailReplyMode
enum<string>

Mode for email replies

Available options:
reply,
reply_all
Example:

"reply_all"

fromNumber
string

Phone number used as the sender number for outbound messages

Example:

"+1499499299"

toNumber
string

Recipient phone number for outbound messages

Example:

"+1439499299"

Response

Created the message

conversationId
string
required

Conversation ID.

Example:

"ABC12h2F6uBrIkfXYazb"

messageId
string
required

This is the main Message ID

Example:

"t22c6DQcTDf3MjRhwf77"

emailMessageId
string

This contains the email message id (only for Email type). Use this ID to send inbound replies to Hoop to create a threaded email.

Example:

"rnGyqh2F6uBrIkfhFo9A"

messageIds
string[]

When sending via the GMB channel, we will be returning list of messageIds instead of single messageId.

msg
string

Additional response message when sending a workflow message

Example:

"Message queued successfully."

Last modified on March 8, 2026