---
title: "POST /orgs/{orgId}/messages/{messageId}/approve"
method: POST
path: "/orgs/{orgId}/messages/{messageId}/approve"
---

# POST /orgs/{orgId}/messages/{messageId}/approve

`POST /orgs/{orgId}/messages/{messageId}/approve`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/orgs/{orgId}/messages/{messageId}/approve`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `orgId` string, required: Organization identifier (from the URL path)
- `messageId` string, required: Message identifier requiring approval

## Request body

- object: Input for approving or rejecting a pending message
  - `action` 'approve' | 'reject', required: Approval decision for the message
  - `reason` string: Optional justification for the approval decision

## Response `200`

OK

- object: Result of a message approval or rejection action
  - `messageId` string, required: Identifier of the processed message
  - `status` 'SENT' | 'REJECTED' | 'FAILED', required: Resulting status after the approval action
  - `message` string, required: Human-readable result description

---

[API](https://skmtc.dev/useanima/apis/anima-api.md) · [All operations](https://skmtc.dev/useanima/apis/anima-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanima/apis/anima-api/revisions/aaa148188980?raw)
