# Approvals

Step-up approval requests a person decides.

Related guide: [Step-up approval](https://provenanceauth.com/docs/mandate/guides/step-up-approval.md)

## Endpoints

- `GET /v1/mandate/approvals/{id}`: [Retrieve an approval](#get-v1-mandate-approvals-id)
- `POST /v1/mandate/approvals/{id}/link`: [Get a link to an approval](#post-v1-mandate-approvals-id-link)
- `GET /v1/mandate/approvals`: [List approvals](#get-v1-mandate-approvals)
- `GET /v1/mandate/approvals/{id}/reminders`: [List an approval's reminders](#get-v1-mandate-approvals-id-reminders)
- `POST /v1/mandate/ap2_mandate_requests`: [Ask the person for AP2 mandates](#post-v1-mandate-ap2-mandate-requests)
- `GET /v1/mandate/ap2_mandate_requests/{id}`: [Collect the AP2 mandates](#get-v1-mandate-ap2-mandate-requests-id)
- `POST /v1/mandate/approvals/{id}/respond`: [Respond to an approval](#post-v1-mandate-approvals-id-respond)
- `POST /v1/mandate/approvals/{id}/reminders`: [Remind the approvers](#post-v1-mandate-approvals-id-reminders)
- `DELETE /v1/mandate/approvals/{id}/reminders/{reminder_id}`: [Cancel a held reminder](#delete-v1-mandate-approvals-id-reminders-reminder-id)

## The ap2 mandate request object

### Attributes

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | no | Unique identifier for the object (`coap_…`). |
| `object` | enum | no | The type of object. One of `ap2_mandate_request`. |
| `status` | enum | no | The approval's status. One of `pending`, `in_review`, `approved`, `denied`, `expired`. |
| `expires_at` | timestamp | no | When the approval expires. |
| `created_at` | timestamp | no | When it was opened. |
| `decided_at` | timestamp \| null | no | When the person decided. |
| `approve_url` | string | no | On create: the approval page's link (show it to the person, or let Provenance send it). |
| `status_url` | string | no | On create: the keyless status read, with the agent's DPoP proof when holder-bound. |
| `delivery` | object | no | On create, when Provenance sent the link: what happened to the send. |
| `holder_jkt` | string | no | The thumbprint of the agent's holder key, when bound. |
| `deny_reason` | string | no | With `denied`: the reason given. |
| `review` | object | no | With `in_review`: when the review ends. |
| `retry_after` | integer | no | With `in_review`: seconds to wait before asking again. |
| `intent_token` | string | no | Once approved: the cart-bound intent token. |
| `intent_token_expires_at` | timestamp | no | When the intent token expires. |
| `ap2` | object | no | Once approved: the AP2 content (the binding and the mandate content with its AP2-bound token). |
| `ap2_mandates` | object | no | The AP2 v0.2 mandates Provenance signed after the person approved this exact cart with a passkey (present only on an approval created with `ap2.issue`, once it is decided). Each is an SD-JWT (`dc+sd-jwt`, ES256) that any AP2 verifier listing Provenance's AP2 JWKS as an issuer accepts. Signed again on each read with the same claims, as the intent token is. |
| `ap2_mandates.status` | enum | yes | `issued`: the mandates are here. `pending_app_signature`: the person approved from the Provenance app and its key is signing; ask again after `retry_after`. `holder_proof_required`: a holder-bound request read without the agent's DPoP proof. `revoked`: the approval's token was revoked. `not_issued`: this approval issues none (`reason`). `unavailable`: the issuer is off or couldn't sign (`reason`). One of `issued`, `pending_app_signature`, `holder_proof_required`, `revoked`, `not_issued`, `unavailable`. |
| `ap2_mandates.signer` | enum | no | With `issued`: Provenance's AP2 issuer key, or the person's app key under the issuer's attestation. One of `provenance`, `app`. |
| `ap2_mandates.checkout_mandate` | string | no | With `issued`: the closed Checkout Mandate (`mandate.checkout.1`), an SD-JWT. |
| `ap2_mandates.payment_mandate` | string | no | With `issued`, when the request named the payment instrument: the closed Payment Mandate (`mandate.payment.1`). |
| `ap2_mandates.holder_bound` | boolean | no | With `issued`: the mandates name the agent's key in `cnf.jwk` (present them with a key-binding JWT). |
| `ap2_mandates.expires_at` | timestamp | no | With `issued`: when these copies expire (never after the intent token inside). |
| `ap2_mandates.issuer_jwks_url` | string | no | With `issued`: the AP2 issuer JWKS to list as a trusted issuer. |
| `ap2_mandates.fallback_reason` | enum | no | With `issued`: why the issuer key signed although the approval was opened from the app. One of `app_signature_timeout`, `key_invalidated`, `user_cancelled`, `biometry_unavailable`. |
| `ap2_mandates.retry_after` | integer | no | With `pending_app_signature`: seconds to wait before asking again. |
| `ap2_mandates.holder_jkt` | string | no | With `holder_proof_required`: the thumbprint of the key the DPoP proof must use. |
| `ap2_mandates.reason` | string | no | With `not_issued`: `not_approved`, `no_passkey`, `outside_confirmation`, `reused`, `store_review`, `checkout_jwt_missing` or `token_expired`. With `unavailable`: `ap2_issuer_unconfigured` or `signing_failed`. |

### Example

```json
{
  "id": "coap_01M81A2Q9V4XK7N3T6YBA8RJ5D",
  "object": "ap2_mandate_request",
  "status": "pending",
  "expires_at": "2026-11-22T10:15:00.000Z",
  "created_at": "2026-11-22T10:00:00.000Z",
  "approve_url": "https://app.provenanceauth.com/approve/c/Qm9va2luZ0xpbmtUb2tlbjE",
  "status_url": "https://api.provenanceauth.com/v1/authorize/checkout_approvals/requests/status?token=Qm9va2luZ0xpbmtUb2tlbjE"
}
```

## Events

Sent to your [webhook endpoints](https://provenanceauth.com/docs/integrate/webhooks.md) when they subscribe:

- `mandate.approval.created`
- `mandate.approval.approved`
- `mandate.approval.reminder_sent`
- `mandate.approval.reminder_not_sent`
- `mandate.approval.declined`
- `mandate.approval.expired`

## Retrieve an approval

`GET /v1/mandate/approvals/{id}`

Returns one approval request with its action, status and how it was decided.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The object's ID. |

### Returns

The approval.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X PUT "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }' > /dev/null
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -s -X POST "$PROVENANCE_API/v1/mandate/assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_description\": \"Wire \$12,000 to Acme Corp for PO-7781\",
    \"context\": {
      \"action_type\": \"wire\"
    }
  }" > step.json
export APPROVAL_ID=$(jq -r '.approval_id' step.json)
curl "$PROVENANCE_API/v1/mandate/approvals/$APPROVAL_ID" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
curl -s -X DELETE "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" > /dev/null
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/policies`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }),
})).json();
const step2 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/intents`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }),
})).json();
const intentToken = step2.intent_token;
const step3 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/assessments`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "intent_token": intentToken,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
      "action_type": "wire"
    }
  }),
})).json();
const approvalId = step3.approval_id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/${approvalId}`, {
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.put(f"{api}/v1/mandate/policies", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "note": "wires need a person",
    "document": {
        "rules": [
            {
                "id": "wire-needs-approval",
                "when": [
                    {
                        "fact": "action_type",
                        "op": "eq",
                        "value": "wire"
                    }
                ],
                "require": {
                    "approval": True
                }
            }
        ]
    }
}).json()
step2 = httpx.post(f"{api}/v1/mandate/intents", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
}).json()
intent_token = step2["intent_token"]
step3 = httpx.post(f"{api}/v1/mandate/assessments", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "intent_token": intent_token,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
        "action_type": "wire"
    }
}).json()
approval_id = step3["approval_id"]
data = httpx.get(f"{api}/v1/mandate/approvals/{approval_id}", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 200

```json
{
  "deliveries": [
    {
      "person": "policy-demo@sandbox.example",
      "channel": "email",
      "recipient": "p•••@sandbox.example",
      "status": "sent",
      "sent_at": "2026-11-27T22:27:47.854Z",
      "outcome": null
    }
  ],
  "id": "appr_01M8FHYCFXPMBNTVA9C34TR3ZS",
  "object": "approval",
  "status": "pending",
  "action_description": "Wire $12,000 to Acme Corp for PO-7781",
  "context": {
    "action_type": "wire"
  },
  "jti": "5f36f86a-0171-48f8-bfdf-ce81fa53c950",
  "agent_session_id": "sess_treasury_1",
  "matched_rule_id": "rul_01M8FHYCB6DACN30AJ1V8WA34G",
  "policy_version": 1,
  "requires_biometric": false,
  "decided_at": null,
  "decided_via": null,
  "decided_method": null,
  "reason": null,
  "created_at": "2026-11-27T22:27:47.837Z",
  "expires_at": "2026-11-27T22:37:47.837Z",
  "reminders": {
    "sent": 0,
    "left": 3,
    "last_sent_at": null,
    "last_channel": null,
    "last_channels": [],
    "next_allowed_at": "2026-11-27T22:37:47.837Z",
    "scheduled": null,
    "next_automatic_at": null,
    "next_channel": "inbox",
    "next_channels": [
      "inbox"
    ],
    "next_channel_reason": "default",
    "blocked": null,
    "schedule": {
      "enabled": false,
      "after": []
    }
  },
  "approval_context": null,
  "person_decision": null,
  "decline_reason": null,
  "decline_note": null
}
```

## Get a link to an approval

`POST /v1/mandate/approvals/{id}/link`

A fresh single-use link to a pending step-up approval, for your agent to pass on to the person itself (a text, an email, a code on a screen). The page still asks for a passkey when the approval needs one. Any key that can decide the approval can get its link; a routed approval is its approver's. `short_url` is the short text link, when short links are on.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The object's ID. |

### Returns

The link, single use, working until the approval or the link expires.

### Errors

- [`approval_already_decided`](https://provenanceauth.com/docs/platform/errors.md#approval_already_decided)
- [`approval_routed_to_approver`](https://provenanceauth.com/docs/platform/errors.md#approval_routed_to_approver)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X PUT "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }' > /dev/null
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -s -X POST "$PROVENANCE_API/v1/mandate/assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_description\": \"Wire \$12,000 to Acme Corp for PO-7781\",
    \"context\": {
      \"action_type\": \"wire\"
    }
  }" > step.json
export APPROVAL_ID=$(jq -r '.approval_id' step.json)
curl -X POST "$PROVENANCE_API/v1/mandate/approvals/$APPROVAL_ID/link" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
curl -s -X DELETE "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" > /dev/null
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/policies`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }),
})).json();
const step2 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/intents`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }),
})).json();
const intentToken = step2.intent_token;
const step3 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/assessments`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "intent_token": intentToken,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
      "action_type": "wire"
    }
  }),
})).json();
const approvalId = step3.approval_id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/${approvalId}/link`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.put(f"{api}/v1/mandate/policies", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "note": "wires need a person",
    "document": {
        "rules": [
            {
                "id": "wire-needs-approval",
                "when": [
                    {
                        "fact": "action_type",
                        "op": "eq",
                        "value": "wire"
                    }
                ],
                "require": {
                    "approval": True
                }
            }
        ]
    }
}).json()
step2 = httpx.post(f"{api}/v1/mandate/intents", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
}).json()
intent_token = step2["intent_token"]
step3 = httpx.post(f"{api}/v1/mandate/assessments", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "intent_token": intent_token,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
        "action_type": "wire"
    }
}).json()
approval_id = step3["approval_id"]
data = httpx.post(f"{api}/v1/mandate/approvals/{approval_id}/link", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 201

```json
{
  "object": "approval_link",
  "approval_id": "appr_01M7Q217KV1MG2J6GMS50BHG69",
  "approve_url": "http://localhost:5173/approve/x9S5zr0S6faB2hv2sjijMqhulsQld8Ry9s8ro4sODbA",
  "short_url": null,
  "expires_at": "2026-11-18T10:17:57.563Z"
}
```

## List approvals

`GET /v1/mandate/approvals`

Lists your account's step-up approval requests, newest first. Filter by status, such as pending.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `status` | query | enum | no | The object's current status. One of `pending`, `approved`, `declined`, `expired`. |
| `routed` | query | enum | no | Signed-in console members only: approvals routed to you (`me`) or to a group you belong to (`my_groups`). One of `me`, `my_groups`. |

### Returns

The account's approvals.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/mandate/approvals?status=pending" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals?status=pending`, {
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/approvals?status=pending", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 200

```json
{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null
}
```

## List an approval's reminders

`GET /v1/mandate/approvals/{id}/reminders`

Every reminder asked for on one approval, oldest first, with how each person's delivery ended.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The approval's ID (`appr_…`). |

### Returns

The reminders.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders`, {
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 200

```json
{
  "object": "list",
  "data": [
    {
      "object": "reminder",
      "id": "rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P",
      "request": {
        "object": "approval",
        "id": "appr_01M6ZG0DENDP7V1YZC3CG74SWD"
      },
      "trigger": "console",
      "status": "sent",
      "scheduled_for": "2026-11-12T14:00:00.000Z",
      "deliveries": [
        {
          "recipient_key": "approver:lnk_01JCX2M7Q4HW8R5T9V3B6N1KZD",
          "recipient": "D. Whitlow",
          "channel": "app_notification",
          "channel_reason": "default",
          "status": "sent"
        },
        {
          "recipient_key": "approver:lnk_01JCX2P9R6JK3T8W5Y2C7V4N1M",
          "recipient": "•••• 0172",
          "channel": "text",
          "channel_reason": "default",
          "status": "sent"
        }
      ],
      "reason": null,
      "link_expires_at": "2026-11-14T15:30:00.000Z",
      "reminders_left": 2,
      "next_allowed_at": null,
      "quiet_hours": {
        "time_zone": "America/Chicago",
        "source": "account"
      },
      "sent_at": "2026-11-12T14:00:04.000Z",
      "created_at": "2026-11-12T03:42:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

## Ask the person for AP2 mandates

`POST /v1/mandate/ap2_mandate_requests`

Shows the person the exact Checkout and, once they approve with a passkey, signs the closed AP2 Checkout Mandate (and Payment Mandate with `payment_instrument`), rebuilt from these fields, never as sent. Reach them with `contact` or show `approve_url`. Pro or trial; `503` until the AP2 issuer is on. See [issue AP2 mandates](https://provenanceauth.com/docs/mandate/guides/issue-ap2-mandates.md).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `checkout_jwt` | body | string | yes | The merchant-signed Checkout JWT (AP2 binds the Checkout by its hash). |
| `payee` | body | object | yes | AP2's Merchant: who is paid. `website` is the store's https origin. |
| `payee.id` | body | string | yes | The merchant's id (AP2 `payee.id`). |
| `payee.name` | body | string | yes | What the person sees. |
| `payee.website` | body | string | yes | The store's origin. |
| `amount` | body | integer | yes | Minor units (AP2 `payment_amount.amount`). |
| `currency` | body | string | yes | ISO 4217. |
| `payment_instrument` | body | object | no | AP2's payment instrument descriptor: an id, a type and a display string. Never a card number, a token or a cryptogram. |
| `payment_instrument.id` | body | string | yes | Your credential provider's id for the instrument. |
| `payment_instrument.type` | body | string | yes | `card`, `dpc`, … |
| `payment_instrument.description` | body | string | no | What the person sees ("Visa ···· 4242"). |
| `holder_key` | body | object | no | Your agent's P-256 public JWK: the mandates name it in `cnf.jwk`, and reading them needs a DPoP proof from it. |
| `contact` | body | object | no | The person's phone or email, as on a cart approval. |
| `delivery` | body | any | no | `send` (to `contact`) or `self` (you show `approve_url`). |
| `channels` | body | array of strings | no | Which of the app notification, the email and the text may go. |
| `expires_in` | body | integer | no | Seconds the person has to decide (default 900). |

### Returns

The request, with the approval page's link and the keyless status read. See [the ap2 mandate request object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`ap2_issuer_unconfigured`](https://provenanceauth.com/docs/platform/errors.md#ap2_issuer_unconfigured)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/mandate/ap2_mandate_requests" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "checkout_jwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudCI6eyJpZCI6ImhhcmJvcmJlYW4iLCJuYW1lIjoiSGFyYm9yIEJlYW4ifSwidG90YWwiOjQyNTB9.c2lnbmF0dXJl",
    "payee": {
      "id": "harborbean",
      "name": "Harbor Bean",
      "website": "https://harborbean.example"
    },
    "amount": 4250,
    "currency": "USD",
    "payment_instrument": {
      "id": "pi_card_1",
      "type": "card",
      "description": "Visa ···· 4242"
    },
    "delivery": "self"
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/ap2_mandate_requests`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "checkout_jwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudCI6eyJpZCI6ImhhcmJvcmJlYW4iLCJuYW1lIjoiSGFyYm9yIEJlYW4ifSwidG90YWwiOjQyNTB9.c2lnbmF0dXJl",
    "payee": {
      "id": "harborbean",
      "name": "Harbor Bean",
      "website": "https://harborbean.example"
    },
    "amount": 4250,
    "currency": "USD",
    "payment_instrument": {
      "id": "pi_card_1",
      "type": "card",
      "description": "Visa ···· 4242"
    },
    "delivery": "self"
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/mandate/ap2_mandate_requests", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}, json={
    "checkout_jwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudCI6eyJpZCI6ImhhcmJvcmJlYW4iLCJuYW1lIjoiSGFyYm9yIEJlYW4ifSwidG90YWwiOjQyNTB9.c2lnbmF0dXJl",
    "payee": {
        "id": "harborbean",
        "name": "Harbor Bean",
        "website": "https://harborbean.example"
    },
    "amount": 4250,
    "currency": "USD",
    "payment_instrument": {
        "id": "pi_card_1",
        "type": "card",
        "description": "Visa ···· 4242"
    },
    "delivery": "self"
}).json()
```

### Response 201

```json
{
  "id": "coap_01M81A2Q9V4XK7N3T6YBA8RJ5D",
  "object": "ap2_mandate_request",
  "status": "pending",
  "expires_at": "2026-11-22T10:15:00.000Z",
  "created_at": "2026-11-22T10:00:00.000Z",
  "approve_url": "https://app.provenanceauth.com/approve/c/Qm9va2luZ0xpbmtUb2tlbjE",
  "status_url": "https://api.provenanceauth.com/v1/authorize/checkout_approvals/requests/status?token=Qm9va2luZ0xpbmtUb2tlbjE"
}
```

## Collect the AP2 mandates

`GET /v1/mandate/ap2_mandate_requests/{id}`

The state and, once the person approved with a passkey, the intent token and `ap2_mandates` (SD-JWTs, each expiring no later than the token inside). With `holder_key`, send a DPoP proof from it; without one the read shows the state only (`holder_proof_required`).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `DPoP` | header | string | no | A DPoP proof (RFC 9449) from the grant's holder key, when the grant is holder-bound (`holder_jkt`): an ES256 `dpop+jwt` naming this request (`htm`, `htu`), `iat` within 60 seconds, a fresh `jti`, and `ath`, the SHA-256 of the grant token sent. One per request. See [bind a grant to its holder](https://provenanceauth.com/docs/mandate/guides/bind-a-grant-to-its-holder.md). |
| `id` | path | string | yes | The request's `coap_` ID. |

### Returns

The request. See [the ap2 mandate request object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/mandate/ap2_mandate_requests/coap_01M81A2Q9V4XK7N3T6YBA8RJ5D" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/ap2_mandate_requests/coap_01M81A2Q9V4XK7N3T6YBA8RJ5D`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/ap2_mandate_requests/coap_01M81A2Q9V4XK7N3T6YBA8RJ5D", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "id": "coap_01M81A2Q9V4XK7N3T6YBA8RJ5D",
  "object": "ap2_mandate_request",
  "status": "approved",
  "expires_at": "2026-11-22T10:15:00.000Z",
  "created_at": "2026-11-22T10:00:00.000Z",
  "decided_at": "2026-11-22T10:01:12.000Z",
  "intent_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImY3NjVhOTlhZDA1NDNkOTkifQ.eyJqdGkiOiJhYmMifQ.c2ln",
  "intent_token_expires_at": "2026-11-22T14:01:12.000Z",
  "ap2_mandates": {
    "status": "issued",
    "signer": "provenance",
    "checkout_mandate": "eyJhbGciOiJFUzI1NiIsInR5cCI6ImRjK3NkLWp3dCIsImtpZCI6IjNjMWYwYTliN2QyZTRmNjAifQ.eyJ2Y3QiOiJtYW5kYXRlLmNoZWNrb3V0LjEifQ.c2ln~WyJzYWx0Iix7fV0~",
    "payment_mandate": "eyJhbGciOiJFUzI1NiIsInR5cCI6ImRjK3NkLWp3dCIsImtpZCI6IjNjMWYwYTliN2QyZTRmNjAifQ.eyJ2Y3QiOiJtYW5kYXRlLnBheW1lbnQuMSJ9.c2ln~WyJzYWx0Iix7fV0~",
    "holder_bound": false,
    "expires_at": "2026-11-22T10:11:12.000Z",
    "issuer_jwks_url": "https://api.provenanceauth.com/.well-known/ap2/jwks.json"
  }
}
```

## Respond to an approval

`POST /v1/mandate/approvals/{id}/respond`

Approves or denies a pending request. When the approval requires a biometric, an approve must include a verified passkey assertion. A denial is final. An approval routed to an approver link is the approver's to approve (`approval_routed_to_approver`); you can still deny it to withdraw the request.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `id` | path | string | yes | The object's ID. |
| `decision` | body | enum | yes | The decision. `request_changes` ends the request as `changes_requested` with `requested_changes` and `note`; the agent sends a new request with `revises`. One of `approve`, `decline`, `deny`, `request_changes`. |
| `option_index` | body | integer | no | On a choose-one request: the option to approve (required with `approve`). With a passkey check, the assertion answers that option's challenge from `option_challenges`. Deny declines every option. |
| `requested_changes` | body | array of objects | no | With `request_changes`: the fields to change, from the approval's `change_form`, as `{ field, to }`. A note alone is allowed. On an ask about a proposal the field is `price` (or `price:<index>`), as in `[{ field: price, to: 610 }]`. |
| `requested_changes.field` | body | string | yes | The field from the form. |
| `requested_changes.to` | body | string | yes | The value asked for. |
| `note` | body | string | no | With `request_changes`: the person's note (links and phone numbers are removed). |
| `decline_reason` | body | enum | no | With a deny: the reason the person picked, stored as the approval's `reason` and returned on verify as `deny_reason`. One of `unrecognized`, `wrong_amount`, `not_now`, `off_task`. |
| `mute_origin` | body | boolean | no | With a decline of a checkout step-up: don't ask this person again for this store's origin. Later step-ups from it answer `approval_muted` with no notification. |
| `reason` | body | string | no | The reason given or recorded. |
| `biometric_challenge` | body | string | no | The challenge from `POST /v1/mandate/biometric_challenges` the assertion signs. |
| `biometric_assertion` | body | object | no | The passkey assertion over the challenge. |
| `biometric_assertion.authenticator_data` | body | string | no | The base64url authenticatorData from the passkey assertion. |
| `biometric_assertion.client_data_json` | body | string | no | The base64url clientDataJSON from the passkey ceremony. |
| `biometric_assertion.signature` | body | string | no | The base64url signature from the passkey assertion. |

### Returns

The approval, now decided.

### Errors

- [`approval_already_decided`](https://provenanceauth.com/docs/platform/errors.md#approval_already_decided)
- [`approval_biometric_required`](https://provenanceauth.com/docs/platform/errors.md#approval_biometric_required)
- [`approval_not_routed_to_you`](https://provenanceauth.com/docs/platform/errors.md#approval_not_routed_to_you)
- [`approval_routed_to_approver`](https://provenanceauth.com/docs/platform/errors.md#approval_routed_to_approver)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_role`](https://provenanceauth.com/docs/platform/errors.md#insufficient_role)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`pending_change_failed`](https://provenanceauth.com/docs/platform/errors.md#pending_change_failed)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`usage_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#usage_limit_reached)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X PUT "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }' > /dev/null
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -s -X POST "$PROVENANCE_API/v1/mandate/assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_description\": \"Wire \$12,000 to Acme Corp for PO-7781\",
    \"context\": {
      \"action_type\": \"wire\"
    }
  }" > step.json
export APPROVAL_ID=$(jq -r '.approval_id' step.json)
curl -X POST "$PROVENANCE_API/v1/mandate/approvals/$APPROVAL_ID/respond" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "decision": "approve" }'
curl -s -X DELETE "$PROVENANCE_API/v1/mandate/policies" \
  -H "Authorization: Bearer $PROVENANCE_KEY" > /dev/null
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/policies`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "note": "wires need a person",
    "document": {
      "rules": [
        {
          "id": "wire-needs-approval",
          "when": [
            {
              "fact": "action_type",
              "op": "eq",
              "value": "wire"
            }
          ],
          "require": {
            "approval": true
          }
        }
      ]
    }
  }),
})).json();
const step2 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/intents`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
  }),
})).json();
const intentToken = step2.intent_token;
const step3 = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/assessments`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "intent_token": intentToken,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
      "action_type": "wire"
    }
  }),
})).json();
const approvalId = step3.approval_id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/${approvalId}/respond`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({ "decision": "approve" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.put(f"{api}/v1/mandate/policies", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "note": "wires need a person",
    "document": {
        "rules": [
            {
                "id": "wire-needs-approval",
                "when": [
                    {
                        "fact": "action_type",
                        "op": "eq",
                        "value": "wire"
                    }
                ],
                "require": {
                    "approval": True
                }
            }
        ]
    }
}).json()
step2 = httpx.post(f"{api}/v1/mandate/intents", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "agent_session_id": "sess_treasury_1",
    "device_id": "dev_00000000000000000000000000000001"
}).json()
intent_token = step2["intent_token"]
step3 = httpx.post(f"{api}/v1/mandate/assessments", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "intent_token": intent_token,
    "action_description": "Wire $12,000 to Acme Corp for PO-7781",
    "context": {
        "action_type": "wire"
    }
}).json()
approval_id = step3["approval_id"]
data = httpx.post(f"{api}/v1/mandate/approvals/{approval_id}/respond", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "decision": "approve"
}).json()
```

### Response 200

```json
{
  "id": "appr_01M8FHYCM6FQZM2WQZ0W8P15J1",
  "object": "approval",
  "status": "approved",
  "action_description": "Wire $12,000 to Acme Corp for PO-7781",
  "context": {
    "action_type": "wire"
  },
  "jti": "d12abcfa-dcad-4980-a3a8-0e80675e6a0a",
  "agent_session_id": "sess_treasury_1",
  "matched_rule_id": "rul_01M8FHYCB6DACN30AJ1V8WA34G",
  "policy_version": 2,
  "requires_biometric": false,
  "decided_at": "2026-11-27T22:27:47.992Z",
  "decided_via": "api",
  "decided_method": "api_key",
  "reason": null,
  "created_at": "2026-11-27T22:27:47.974Z",
  "expires_at": "2026-11-27T22:37:47.974Z",
  "approval_context": null,
  "person_decision": null,
  "decline_reason": null,
  "decline_note": null
}
```

## Remind the approvers

`POST /v1/mandate/approvals/{id}/reminders`

Sends the pending approval again, marked as a reminder, to everyone it still waits for as one round, or to one person (`recipient`). Each person is held on their own clock for quiet hours. Up to 3 per approval, 10 minutes after the last message. Emits `mandate.approval.reminder_sent` when the round ends. See [reminders](https://provenanceauth.com/docs/messaging/reminders.md).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `id` | path | string | yes | The approval's ID (`appr_…`). |
| `channel` | body | enum | no | Pins the channel (`app_notification`, `email` or `text`; `sms` and `app_push` are refused); only the people who have it are reminded. Left out, each person's channel order applies (the Provenance app, a web home, a text, an email). One of `app_notification`, `text`, `email`. |
| `recipient` | body | string | no | One person's key from the approval's `reminders.recipients` (`approver:lnk_…`, `user:…`). Left out, everyone the approval waits for. |

### Returns

The reminder, sent, or held for someone's quiet hours.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`reminder_not_pending`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_pending)
- [`reminder_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#reminder_limit_reached)
- [`reminder_already_scheduled`](https://provenanceauth.com/docs/platform/errors.md#reminder_already_scheduled)
- [`reminder_too_soon`](https://provenanceauth.com/docs/platform/errors.md#reminder_too_soon)
- [`reminder_opted_out`](https://provenanceauth.com/docs/platform/errors.md#reminder_opted_out)
- [`reminder_not_available`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_available)
- [`reminder_not_sent`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_sent)
- [`trial_ended`](https://provenanceauth.com/docs/platform/errors.md#trial_ended)
- [`spend_cap_reached`](https://provenanceauth.com/docs/platform/errors.md#spend_cap_reached)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X POST "$PROVENANCE_API/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 201

```json
{
  "object": "reminder",
  "id": "rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P",
  "request": {
    "object": "approval",
    "id": "appr_01M6ZG0DENDP7V1YZC3CG74SWD"
  },
  "trigger": "console",
  "status": "scheduled",
  "scheduled_for": "2026-11-12T14:00:00.000Z",
  "deliveries": [
    {
      "recipient_key": "approver:lnk_01JCX2M7Q4HW8R5T9V3B6N1KZD",
      "recipient": "D. Whitlow",
      "channel": "app_notification",
      "channel_reason": "default",
      "status": "sent"
    },
    {
      "recipient_key": "approver:lnk_01JCX2P9R6JK3T8W5Y2C7V4N1M",
      "recipient": "•••• 0172",
      "channel": "text",
      "channel_reason": "default",
      "status": "scheduled",
      "scheduled_for": "2026-11-12T14:00:00.000Z"
    }
  ],
  "reason": null,
  "link_expires_at": "2026-11-14T15:30:00.000Z",
  "reminders_left": 2,
  "next_allowed_at": "2026-11-12T14:10:00.000Z",
  "quiet_hours": {
    "time_zone": "America/Chicago",
    "source": "account"
  },
  "sent_at": null,
  "created_at": "2026-11-12T03:42:00.000Z"
}
```

## Cancel a held reminder

`DELETE /v1/mandate/approvals/{id}/reminders/{reminder_id}`

Cancels a reminder held until quiet hours end, before it goes. Only a `scheduled` reminder can be cancelled. When nothing in the round has gone it reads `cancelled` and the count is given back. No reminder webhook fires. See [reminders](https://provenanceauth.com/docs/messaging/reminders.md#cancel-a-held-reminder).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The approval's ID (`appr_…`). |
| `reminder_id` | path | string | yes | The held reminder's ID (`rem_…`), from the request's `reminders.scheduled.id` or its reminders list. |

### Returns

The reminder as it ended.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_role`](https://provenanceauth.com/docs/platform/errors.md#insufficient_role)
- [`csrf_invalid`](https://provenanceauth.com/docs/platform/errors.md#csrf_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`reminder_not_scheduled`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_scheduled)
- [`reminder_cancel_unavailable`](https://provenanceauth.com/docs/platform/errors.md#reminder_cancel_unavailable)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -X DELETE "$PROVENANCE_API/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders/rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders/rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.delete(f"{api}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders/rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 200

```json
{
  "object": "reminder",
  "id": "rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P",
  "request": {
    "object": "approval",
    "id": "appr_01M6ZG0DENDP7V1YZC3CG74SWD"
  },
  "trigger": "console",
  "status": "sent",
  "scheduled_for": "2026-11-12T14:00:00.000Z",
  "deliveries": [
    {
      "recipient_key": "approver:lnk_01JCX2M7Q4HW8R5T9V3B6N1KZD",
      "recipient": "D. Whitlow",
      "channel": "app_notification",
      "channel_reason": "default",
      "status": "sent"
    },
    {
      "recipient_key": "approver:lnk_01JCX2P9R6JK3T8W5Y2C7V4N1M",
      "recipient": "•••• 0172",
      "channel": "text",
      "channel_reason": "default",
      "status": "not_sent",
      "reason": "cancelled"
    }
  ],
  "reason": null,
  "link_expires_at": "2026-11-14T15:30:00.000Z",
  "reminders_left": 2,
  "next_allowed_at": null,
  "quiet_hours": {
    "time_zone": "America/Chicago",
    "source": "account"
  },
  "sent_at": "2026-11-12T04:10:00.000Z",
  "created_at": "2026-11-12T03:42:00.000Z"
}
```
