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

# Decide a mobile/agent approval for a connection user

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

## Request

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

Platform apps decide agent approval requests on behalf of the connected user.
Accepts `decision`: `approved` or `rejected` (aliases `approve` / `reject`).
plt_ auth only.

## Path parameters

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

## Request body

- object
  - `decision` 'approved' | 'rejected' | 'approve' | 'reject', required
  - `reason` string

## Response `200`

Decided approval

- ApprovalResponse
  - `id` string, uuid, required
  - `org_id` string, uuid, required
  - `user_id` string, uuid, required
  - `agent_id` string, uuid, nullable
  - `action` string, required
  - `target_type` string, required
  - `target_id` string, required
  - `risk_tier` integer, required: The tier actually enforced. Authoritative.
  - `declared_risk_tier` integer, nullable: What the caller asked for, when it asked for anything.
  - `declared_below_floor` boolean: The caller asked for a lower tier than policy required.
  - `human_summary` string, nullable: Plain-language line sent to SMS, push and email.
  - `payload` object: What the action will do, as submitted.
  - `status` 'pending' | 'approved' | 'rejected' | 'expired' | 'cancelled', required
  - `summary` object, required: Structured summary of the action requiring approval
  - `reason` string, nullable
  - `decision_reason` string, nullable
  - `decided_by` string, uuid, nullable
  - `decided_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `created_at` string, date-time, required

## Other responses

- `403`: Insufficient permissions
- `404`: Resource not found
- `409`: Already decided

---

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