---
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`

## Request

- Base URL: `` (relative, and the document’s source URL is not known)
- URL: `/api/v1/embedded-messages/get-embedded-messages`
- Auth: none declared

## 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.dev/optimove/apis/optimobile-web-inbox-api.md) - [All operations](https://skmtc.dev/optimove/apis/optimobile-web-inbox-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimove/apis/optimobile-web-inbox-api/revisions/845cb0ac67dc?raw)
