Send messages, schedule follow-ups, and request reviews on an enquiry.
Send a message to a customer
Sends a message to a customer over the chosen channel. If the customer or enquiry does not exist yet, Coax will create them from the supplied phone/email/name before sending. Use this when you want to start or continue a conversation without first looking up an enquiry id.
path Parameters
channelHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Send a message to a customer › Request Body
messagetypesub_typeattachment_idscontact_idcontact_idsteam_user_idbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionis_botenquiry_idenquiry_statuscampaign_idnameemailphoneavatarcompany_nameaddressdo_not_updatesuppress_socket_eventsSend a message to a customer › Responses
Message sent successfully. When campaign_id belongs to a paused campaign, the live route returns success: true with message Campaign is paused, message not sent. and no body.
successmessageSend a message on an existing enquiry
Sends a message on a known enquiry over the chosen channel. Use this when you already have an enquiry_id. If you only have a customer's phone/email, prefer PUT /api/v2/message/send/{channel}.
path Parameters
enquiry_idchannelHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Send a message on an existing enquiry › Request Body
messagetypesub_typeattachment_idscontact_idcontact_idsteam_user_idbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionis_botSend a message on an existing enquiry › Responses
Store a received message completed successfully.
successmessageSchedule a message to a customer
Schedules a message to be delivered later. Coax finds or creates the customer and enquiry from the supplied details before scheduling.
path Parameters
channelHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Schedule a message to a customer › Request Body
messagetypesub_typeattachment_idscontact_idcontact_idsteam_user_idbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionis_botenquiry_idenquiry_statuscampaign_idnameemailphoneavatarcompany_nameaddressdo_not_updatesuppress_socket_eventsscheduled_atcustomer_idSchedule a message to a customer › Responses
Schedule a message without an enquiry ID completed successfully.
successmessageSchedule a message on an existing enquiry
Schedules a message on a known enquiry. Use this when you already have an enquiry_id; otherwise use PUT /api/v2/message/schedule/{channel}.
path Parameters
enquiry_idchannelHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Schedule a message on an existing enquiry › Request Body
messagetypesub_typeattachment_idscontact_idcontact_idsteam_user_idbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionis_botscheduled_atSchedule a message on an existing enquiry › Responses
Schedule a message completed successfully.
successmessageSend a review request
Sends a review request to a customer. If the customer or enquiry does not exist yet, Coax will create them from the supplied details first. This is the simplest way to ask a customer for a review.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Send a review request › Request Body
channelmessagereview_typesbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionenquiry_idemailphonenamecompany_nameaddressavatardo_not_updatecustomer_idSend a review request › Responses
Review request sent successfully. Response message: Sent review request!.
successmessageSend a review request on an existing enquiry
Sends a review request against a known enquiry. Use this when you already have an enquiry_id; otherwise use PUT /api/v2/message/ask-for-review.
path Parameters
enquiry_idHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Send a review request on an existing enquiry › Request Body
channelmessagereview_typesbusiness_location_idlocation_idcreateActivityactivity_typeactivity_descriptionSend a review request on an existing enquiry › Responses
Review request sent successfully. Response message: Sent review request!.
successmessage