---
title: "Sign an intent with the agent's key: commits it to the ledger and returns an rs-intent+jwt."
method: POST
path: "/v1/me/intents/{intent_id}/sign"
tags: ["Agents"]
---

# Sign an intent with the agent's key: commits it to the ledger and returns an rs-intent+jwt.

`POST /v1/me/intents/{intent_id}/sign`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/me/intents/{intent_id}/sign`
- Auth: HTTP bearer

## Path parameters

- `intent_id` string, required

## Headers

- `X-Request-Id` string

## Request body

- object
  - `signature` string, required

## Response `200`

OK

- object: Inferred from 49 recorded responses; required fields appeared in every one; additional properties may appear.
  - `intent_id` string, required
  - `binding` string, required
  - `statement_sha256` string, required
  - `ledger` object, required
    - `seq` integer, required
    - `commitment` string, required
    - `entry_url` string, required
    - `opening_url` string, required
  - `token` object, required
    - `token` string, required
    - `expires_at` string, required
    - `audience` unknown, required
    - `present_as` string, required
  - `note` string, 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)
