Marketplace

Notify Altegio about a new chat message

Changed on

Marks the installed Chat frame as having unread messages. Altegio updates the timetable UI and may create a notification-center item according to the location's Chat settings. If lead saving is enabled and phone_from does not match a client, Altegio may create a lead.

The application must belong to the authenticated partner and its Chat frame must already be installed for the location (normally by passing chat_url to the installation callback).

post/marketplace/application/new_message

Request

  • Base URL
    https://app.alteg.io
  • URL
    https://app.alteg.io/marketplace/application/new_message
  • Auth
    HTTP bearer

Headers

Acceptstring required

Request body

salon_idinteger required

Location ID.

application_idinteger required

Marketplace application ID.

phone_fromstring required

Sender phone number as digits.

messagestring required

Message preview used by notification-center delivery.

namestring required

Sender name used if lead creation is enabled.

Response

Chat unread/highlight state updated.

successboolean

Response status.

dataResponseDataNullObject nullable

Response data.

Example response

{
  "success": true
}

Changes