---
title: "Reject a pending send"
method: POST
path: "/v1/agents/approvals/{id}/reject"
tags: ["agents"]
---

# Reject a pending send

`POST /v1/agents/approvals/{id}/reject`

## Request

- Base URL: `https://api.wraps.dev`
- URL: `https://api.wraps.dev/v1/agents/approvals/{id}/reject`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

- object
  - `id` string, required
  - `organizationId` string, required
  - `agentId` string, required
  - `payload` object, required
    - `from` string, required
    - `to` string, required
    - `subject` string, required
    - `html` string
    - `text` string
    - `replyTo` string
    - `inReplyTo` string
    - `references` string
  - `reason` string, required
  - `status` string, required
  - `decidedBy` string, required
  - `decidedAt` string, required
  - `messageId` string, required
  - `errorMessage` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Malformed request — unparseable body or an invalid parameter.
- `401`: Missing, malformed, or revoked credentials. Send `Authorization: Bearer <api key>`.
- `403`
- `404`
- `409`
- `422`: The request parsed but failed schema validation.
- `429`: Rate limit exceeded. Wait for the window named by the RateLimit headers.
- `500`: Unexpected server failure. Safe to retry with backoff; quote `requestId` if it persists.

---

[API](https://skmtc.dev/wraps/apis/wraps-platform-api.md) · [All operations](https://skmtc.dev/wraps/apis/wraps-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wraps/apis/wraps-platform-api/revisions/12116fb21af7?raw)
