---
title: "Get End User Policy"
method: GET
path: "/api/v1/end-users/{external_id}/policy"
tags: ["end-users"]
---

# Get End User Policy

`GET /api/v1/end-users/{external_id}/policy`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/v1/end-users/{external_id}/policy`
- Auth: HTTP bearer

Returns the end user's policy, or null when none is set.

## Path parameters

- `external_id` string, required

## Response `200`

Successful Response

- EndUserPolicyResponse: The policy after a change and how many agents it was applied to.
  - `policy` object, nullable
  - `appliedToAgents` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
