MAX icon

MAX

Отправка сообщений и работа с API мессенджера MAX

Сообщение → Получить

AI-generated

Summary

Fetches a single MAX messenger message by its ID via GET https://platform-api.max.ru/messages/{messageId}, using the maxApi credential.

Inputs

  • messageId (required) — ID of the message to retrieve (e.g. a value like "mid.1234"). It is inserted directly into the request URL path. The same parameter is shared with the Delete operation.

Output shape

One output item per input item, whose json is the message object returned by the MAX API.

The node doesn't reshape the response. The exact fields come from the MAX API. The operation runs once per input item. If 'Continue on Fail' is enabled, a failed item yields { error: message } instead of stopping the workflow.

Examples

Example 1: Look up the full message that a trigger event referenced.

Resource: Сообщение, Operation: Получить, ID сообщения: ={{ $json.message.body.mid }}

Example 2: Fetch a message from a hard-coded ID to check its content.

Resource: Сообщение, Operation: Получить, ID сообщения: mid.1234

Links

Discussion