---
title: "Get a user's embedded messages"
method: GET
path: "/api/embedded-messaging/messages"
tags: ["Embedded Messaging"]
---

# Get a user's embedded messages

`GET /api/embedded-messaging/messages`

This endpoint returns embedded messages for which the specified user is eligible, grouped by <code>placementId</code>.<br/><br/>By default, it returns data for all placements that have messages for the user. To constrain the response to specific placements, provide one or more <code>placementIds</code> query parameters.<br/><br/>Learn about <a href="https://support.iterable.com/hc/articles/29156459027348">identifying users by <code>userId</code> and <code>email</code></a>.

## Query parameters

- `email` string
- `userId` string
- `platform` string
- `sdkVersion` string
- `packageName` string
- `placementIds` object[]
- `currentMessageIds` string[]

## Response `200`

successful operation

## Other responses

- `400` — Invalid parameters
- `401` — Invalid API key

---

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