---
title: "POST /public/v1/approvals/messages/{messageId}/unschedule"
method: POST
path: "/public/v1/approvals/messages/{messageId}/unschedule"
tags: ["Inbox"]
---

# POST /public/v1/approvals/messages/{messageId}/unschedule

`POST /public/v1/approvals/messages/{messageId}/unschedule`

## Request

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

Unschedule a message that is scheduled for sending.

## Path parameters

- `messageId` string, required

## Response `200`

Default Response

- object
  - `statusCode` number
  - `status` boolean
  - `message` string
  - `data` object
    - `messageId` string
    - `campaignId` string
    - `prospectId` string
    - `status` string

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: 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)
