---
title: "POST /public/v1/approvals/messages/batch-approve"
method: POST
path: "/public/v1/approvals/messages/batch-approve"
tags: ["Inbox"]
---

# POST /public/v1/approvals/messages/batch-approve

`POST /public/v1/approvals/messages/batch-approve`

## Request

- Base URL: `https://api.joinvalley.co`
- URL: `https://api.joinvalley.co/public/v1/approvals/messages/batch-approve`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/joinvalley/apis/valley-public-api/docs/public/v1/approvals/messages/batch-approve/post.ts> (a function with typed inputs; its response is checked against the schema)

Approve multiple pending outreach messages in batch. Workspace admins and owners can act on all campaigns in the workspace. Workspace members can only act on their own campaigns.

## Request body

- object
  - `workspaceId` string: Scope to a specific workspace. One of workspaceId or campaignIds is required. Admins and owners see all campaigns; members see only their own.
  - `campaignIds` string: Comma-separated campaign IDs to scope the operation to.
  - `confirmAll` boolean: Set to true to act on all campaigns in the workspace. Requires workspaceId.
  - `types` string: Comma-separated message types to filter by (e.g. CONNECT,INMAIL,FOLLOW_UP,RE_ENGAGEMENT).
  - `search` string: Filter by prospect first or last name.
  - `icpFit` string: Comma-separated ICP fit values to filter by (e.g. STRONG,GOOD).
  - `prospectInterestLevel` string: Comma-separated interest level values to filter by.
  - `ownerId` string: Admin/Owner only: scope results to a specific workspace member by their user ID.

## Response `200`

Default Response

- object
  - `statusCode` number
  - `status` boolean
  - `message` string
  - `data` object
    - `affected` number

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `429`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/joinvalley/apis/valley-public-api.md) - [All operations](https://skmtc.dev/joinvalley/apis/valley-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/joinvalley/apis/valley-public-api/revisions/798c2eb1b512?raw)
