---
title: "Create a pending consensus approval for a connection agent"
method: POST
path: "/v1/platform/connections/{connectionId}/pending-approvals"
tags: ["Platform"]
---

# Create a pending consensus approval for a connection agent

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

## Request

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

Platform apps submit over-cap or consensus-gated actions on behalf of a
connected user's agent. When `policy_id` is omitted, the server resolves the
matching agent `consensus_trigger` policy from `action_payload` (chain, to, value).
Returns **202** with `pending_approval_id` and `payload_hash` for decide/execute.
Requires plt_ auth; agent must be provisioned on the connection.

## Path parameters

- `connectionId` string, uuid, required

## Request body

- ConnectionSubmitPendingApprovalRequest
  - `agent_id` string, uuid: Required when the connection has multiple agents
  - `policy_id` string, uuid: Optional — auto-resolved from agent consensus policies when omitted
  - `action` string
  - `action_payload` object, required: Transaction/intent fields (chain, to, value, …) hashed for decide binding
  - `summary` string: Human-readable label included in webhook payloads

## Response `202`

Pending approval created

- SubmitPendingApprovalResponse
  - `pending_approval_id` string, uuid
  - `required_approvals` integer
  - `current_approvals` integer
  - `expires_at` string, date-time
  - `status` string
  - `message` string

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[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)
