---
title: "Get an automated message"
method: GET
path: "/conversations/pushedMessages/{id}"
tags: ["Conversations"]
---

# Get an automated message

`GET /conversations/pushedMessages/{id}`

## Path parameters

- `id` string, required

## Response `200`

Requested message is returned as a response

- ConversationsMessage — a Conversations message
  - `id` string — Message ID. It can be used for further manipulations with the message.
  - `type` 'agent' | 'visitor' — `"agent"` for agents’ messages, `"visitor"` for visitors’ messages.
  - `text` string — Message text or name of the attached file
  - `visitorId` string — visitor’s ID
  - `agentId` string — ID of the agent on whose behalf the message was sent (only in messages sent by an agent).
  - `agentName` string — Agent’s name as displayed to the visitor. Only in the messages sent by an agent.
  - `createdAt` integer — Timestamp in milliseconds.
  - `isPushed` boolean — `true` for pushed messages
  - `receivedFrom` string — In two-way integrations, messages sent via REST API can be marked with receivedFrom property and then filtered out when received in a webhook to avoid infinite loop.
  - `file` ConversationsMessageFile
    - `filename` string — Name of the file
    - `size` integer — Size in bytes
    - `isImage` boolean — Whether the file is an image
    - `url` string, url — URL of the file
    - `imageInfo` ConversationsMessageFileImageInfo — image info is passed in case the file is an image
      - `width` integer — Width of the image
      - `height` integer — height of the image
      - `previewUrl` string, url — URL of the preview

## Other responses

- `400` — Returned when invalid data posted
- `404` — Returned when item not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/revisions/2aec3cf66501/schema)
