---
title: "Record a license your account already holds, with its receipt, so your agents reuse it"
method: POST
path: "/v1/me/entitlements"
tags: ["Rights desk"]
---

# Record a license your account already holds, with its receipt, so your agents reuse it

`POST /v1/me/entitlements`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/me/entitlements`
- Auth: HTTP bearer

## Headers

- `X-Request-Id` string

## Request body

- object
  - `resource_id` string
  - `asset` string, required
  - `uses` string[], required
  - `territory` string
  - `client` string
  - `expires_at` string
  - `evidence_url` string
  - `evidence_sha256` string
  - `note` string

## Response `200`

OK

- object: Inferred from 13 recorded responses; required fields appeared in every one; additional properties may appear.
  - `entitlement` object, required
    - `id` string, required
    - `source` string, required
    - `resource` object, nullable, required
      - `id` string
      - `title` string
      - `license` string
    - `asset` string, required
    - `uses` string[], required
    - `constraints` object, required
      - `geography` string
      - `client` string
    - `expires_at` unknown, required
    - `status` string, required
    - `evidence` object, required
      - `url` string, nullable, required
      - `sha256` string, nullable, required
      - `ledger_seq` unknown, required
    - `note` string, nullable, required
    - `created_at` string, required
    - `ended_at` unknown, required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

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