---
title: "Reject message"
method: POST
path: "/v1/messages/{messageId}/reject"
tags: ["Messages"]
---

# Reject message

`POST /v1/messages/{messageId}/reject`

## Request

- Base URL: `https://platform.hootsuite.com`
- URL: `https://platform.hootsuite.com/v1/messages/{messageId}/reject`
- Auth: OAuth 2
  - Authorization code: `https://platform.hootsuite.com/oauth2/auth`
  - Token URL: `https://platform.hootsuite.com/oauth2/token`

Reject a message.

## Path parameters

- `messageId` string, required

## Headers

- `Authorization` string, required

## Request body

- RejectMessageRequest
  - `reason` string, required: The rejection reason to be displayed to the creator of the message.
  - `sequenceNumber` integer, required: The sequence number of the message being rejected.
  - `reviewerType` 'EXTERNAL' | 'MEMBER': The actor that will be rejecting the message. Leaving this field empty will use "EXTERNAL" by default. Using "MEMBER" requires that you use a member token to reject a message that is pending approval by that member.

## Response `200`

Success

- EmptyDataEnvelope
  - `data` object: The data response envelope.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api.md) - [All operations](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/revisions/adac53bd28bb?raw)
