---
title: "Get Embedded Messaging user messages for a specific container using POST"
method: POST
path: "/api/v1/embedded-messages/get-embedded-messages"
tags: ["EmbeddedMessage"]
---

# Get Embedded Messaging user messages for a specific container using POST

`POST /api/v1/embedded-messages/get-embedded-messages`

## Query parameters

- `CustomerId` string
- `VisitorId` string
- `LocalTime` number, double
- `TenantId` integer
- `BrandId` string, uuid

## Request body

- EmbeddedMessageOptions[]
  - `containerId` string, nullable — Container id to filter messages by
  - `limit` integer, nullable — Maximum number of messages to return

## Response `200`

If the request is successful, this response an dictionary of user messages based on the containerId.

- EmbeddedMessagesResponse — Embedded messaging Response consisting of a dictionary of string : enumerable of messages
  - `containers` object, nullable

## Other responses

- `400` — Bad Request
- `401` — This response will be returned if the request is not authorized to access this resource.
- `404` — This response will be returned if the request is invalid or missing required information.
- `500` — This response will be returned if there is an error in the system that prevents the operation from being completed.

---

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