> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hookmyapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Private reply

> Send a commenter a Messenger message instead of a public reply.

Sends a Messenger message to the author of a comment on one of the Page's posts.

## Authentication

Use the `hmat_` channel token from `GET /meta/channels/{id}/token` or `hookmyapp channels token <channel>`. Do not use an `hmok_` API key for this call.

```bash theme={null}
Authorization: Bearer hmat_...
```

## Path parameters

<ParamField path="pageId" type="string" required>
  The connected Page id.
</ParamField>

## Request body

<ParamField body="recipient.comment_id" type="string" required>
  The comment id, `{postId}_{commentId}` or numeric.
</ParamField>

<ParamField body="message.text" type="string" required>
  Message text.
</ParamField>

## Example

```bash theme={null}
curl -X POST "https://gateway.hookmyapp.com/meta/v25.0/{PAGE_ID}/messages" \
  -H "Authorization: Bearer hmat_..." \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": { "comment_id": "500000000000001_500000000000002" },
    "message": { "text": "Sent you the details here." }
  }'
```

## Successful response

```json theme={null}
{ "recipient_id": "200000000000001", "message_id": "m_AbCdEfGhIjKlMnOpQrSt" }
```

<Warning>
  One private reply per comment, within 7 days of the comment. A rejection is permanent for that comment; retrying cannot succeed.
</Warning>
