---
title: "Notify Altegio about a new chat message"
method: POST
path: "/marketplace/application/new_message"
tags: ["Marketplace"]
---

# Notify Altegio about a new chat message

`POST /marketplace/application/new_message`

## Request

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

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).

## Headers

- `Accept` string, required

## Request body

- object
  - `salon_id` integer, required: Location ID.
  - `application_id` integer, required: Marketplace application ID.
  - `phone_from` string, required: Sender phone number as digits.
  - `message` string, required: Message preview used by notification-center delivery.
  - `name` string, required: Sender name used if lead creation is enabled.

## Response `201`

Chat unread/highlight state updated.

- 200SuccessResponse
  - `success` boolean: Response status.
  - `data` ResponseDataNullObject, nullable: Response data.
  - `meta` union: Additional response data (empty object or empty array)
    - object
    - unknown[]
      - unknown

## Other responses

- `401`: Partner token is missing or invalid.
- `403`: The application does not belong to the partner.
- `404`: No Chat frame is installed for this application and location.
- `422`: Invalid request payload.

## Changes

- **2026-09-13** `0368d9fa0db4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alteg/apis/developer-tools/changes/marketplace/application/new_message/post.md)

---

[API](https://skmtc.dev/alteg/apis/developer-tools.md) - [All operations](https://skmtc.dev/alteg/apis/developer-tools/llms.txt) - [OpenAPI document](https://skmtc.dev/alteg/apis/developer-tools/revisions/bd49ff63fa21?raw)
