Inbox
Shared inbox helpdesk for all your support channels. Built for your team.
Chat
Live chat with automated messaging, chatbots, and video calls for your website or web app.
Chatbots
Automate every business opportunity with pre-built and custom chatbots.
Push Campaigns
Increase re-engagement and boost sales with targeted push notification campaigns.
AI
BETA
Leverage the power of AI to help you respond, create, and summarize.
FAQ
Customizable and embeddable FAQ center to help customers help themselves.
Status Page
Keep customers informed by alerting them when there’s an incident or outage.
Live
Get more sales with real time customer activity monitoring and personal messages.
POST /conversations/{slug}/messages
Issuing a POST call to messages will allow you to create a new message under a specific conversation
Example Request
curl 'https://{brand}.reamaze.io/api/v1/conversations/{slug}/messages' \
-u {login-email}:{api-token} \
-H 'Accept: application/json' \
-H 'Content-type: application/json' \
-X POST -d '{"message": {"body": "foo", "visibility": 1}}'
Example Response
{
"body": "This is the body of the new message you just posted!",
"visibility": 0,
"created_at":"2014-05-25T21:58:53.286-07:00",
"origin_id": "XaEbMed",
"user": {
"name":"You",
"email":"you@example.com"
},
"conversation": {
"subject":"Conversations are awesome",
"slug":"conversations-are-awesome",
"created_at":"2014-02-25T21:58:53.204-07:00",
"category": {
"name":"Suggestions",
"slug":"suggestions",
"email":"suggestions@example.com",
"channel":1
}
}
}
Notes
- The
visibilityvalue can be the following values: 0 (Regular) or 1 (Internal Note). - The
bodyattribute insidemessagecan be formatted with markdown. - You may optionally pass in a
userattribute hash withemailandnameinsidemessageto specify the sender. By default, the message will be attributed to the user of the current authentication. - You may optionally pass in a
origin_idattribute insidemessageto specify a unique identifier of the message. This will help prevent duplicates and identify the message that you are creating. - You can optionally pass in a
suppress_notificationsattribute with a value oftrueto prevent Reamaze from sending any email (or integration) notifications related to this message. - You can optionally pass in a
suppress_autoresolveboolean attribute with a value oftrueto prevent Reamaze from marking the conversation as resolved whenmessage[user]is a staff user. - You can optionally pass in a
suppress_surveysattribute with a value oftrueto prevent Reamaze from sending a satisfaction survey. A date (YYYY-MM-DD ISO format) will suppress surveys before that date. - You can optionally pass in an
attachmentstring attribute with a URL to attach a file to the message. The URL should specify a valid location where Reamaze can fetch the file. - You can optionally pass in a
recipientsarray attribute to specify who will receive the message. This should be an array of email addresses or phone numbers. These participants will be automatically added as recipients in future correspondences within the thread.
Join thousands of teams using Reamaze to impress customers.
Find out how with a free account.