---
title: "Decide a pending approval for a connection user"
method: POST
path: "/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}/decide"
tags: ["Platform"]
---

# Decide a pending approval for a connection user

`POST /v1/platform/connections/{connectionId}/pending-approvals/{approvalId}/decide`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}/decide`
- Auth: HTTP bearer

Platform apps vote on behalf of the connected user after verifying intent
out-of-band (e.g. wallet mandate). Requires `payload_hash` matching the
pending row. Accepts `decision`: `approve` or `reject` (aliases `approved` /
`rejected`). plt_ auth only; scoped to agents on the connection.

## Path parameters

- `connectionId` string, uuid, required
- `approvalId` string, uuid, required

## Request body

- ApprovePendingApprovalRequest
  - `decision` 'approve' | 'reject' | 'approved' | 'rejected', required
  - `payload_hash` string, required
  - `reason` string
  - `credential_type` 'password' | 'passkey' | 'totp' | 'biometric' | 'api_key': Authentication method used for this approval vote

## Response `200`

Updated pending approval

- PendingApprovalResponse
  - `id` string, uuid
  - `org_id` string, uuid
  - `policy_id` string, uuid
  - `action` string
  - `action_payload` object
  - `payload_hash` string
  - `submitted_by` string, uuid
  - `submitted_by_type` string
  - `status` string
  - `required_approvals` integer
  - `current_approvals` integer
  - `expires_at` string, date-time
  - `executed_at` string, date-time
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `signatures` ApprovalSignatureResponse[]
    - `id` string, uuid
    - `approver_id` string, uuid
    - `approver_type` string
    - `decision` string
    - `reason` string
    - `created_at` string, date-time

## Other responses

- `400`: Invalid request
- `403`: Insufficient permissions
- `404`: Resource not found
- `409`: Already voted

---

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