---
title: "Link Current User To Agency"
method: POST
path: "/v1/agency/link/user"
tags: ["agency"]
---

# Link Current User To Agency

`POST /v1/agency/link/user`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/agency/link/user`
- Auth: HTTP bearer

## Request body

- LinkCurrentUserPayload
  - `agency_id` integer, required
  - `agency_user_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
