---
title: "Get an eSIM assignment"
method: GET
path: "/v1/esim/sims/{esim_id}/assignment"
tags: ["esims"]
---

# Get an eSIM assignment

`GET /v1/esim/sims/{esim_id}/assignment`

## Request

- Base URL: `https://us1.platform.bird.com`
- URL: `https://us1.platform.bird.com/v1/esim/sims/{esim_id}/assignment`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `bird_session`

Returns the assigned person. An unassigned eSIM or a resource outside this workspace returns 404.

## Headers

- `X-Workspace-Id` string
- `X-Organization-Id` string

## Response `200`

The requested resource.

- EsimAssignment: The person assigned to one eSIM. Assignment grants no workspace membership or permission to read installation credentials.
  - `id` string, required
  - `subscriber_id` string, required
  - `esim_id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Resource not found
- `409`: Resource conflict
- `422`: The request has invalid field values, violates a business rule, or carries a query parameter the endpoint does not declare. Field validation errors use `type: validation_error` and include the affected fields in `details`. Business-rule errors identify the failed rule in `type`.
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/messagebird/apis/bird-api.md) · [All operations](https://skmtc.dev/messagebird/apis/bird-api/llms.txt) · [OpenAPI document](https://skmtc.dev/messagebird/apis/bird-api/revisions/6dfce1179799?raw)
