# Hermoso: request_messenger_optin · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/request_messenger_optin/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / request_messenger_optin

# `request_messenger_optin`

Ask a Messenger contact to subscribe to marketing messages destructive

Area: MESSENGER MARKETING MESSAGES · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Send Meta’s opt-in request (the notification_messages template) to someone ALREADY in a Messenger conversation with the Page, inside the 24-hour window. If they accept, Meta posts a messaging_optin webhook with their subscription token and they appear in list_messenger_subscribers. One identical-title request per person per week. Free to send. The PSID comes from the Page inbox.

## Parameters

Parameter Type Description

`pageId` `string` Page that sends the request; omit when only one Page is connected

`psid` required `string` the person’s Page-scoped id

`title` required `string` what they are subscribing to, ≤65 characters

`imageUrl` `string` optional image shown with the opt-in request

`timezone` `string` their timezone, e.g. America/New_York

`dryRun` `boolean` true = preview the request and send nothing

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/request_messenger_optin`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"request_messenger_optin","arguments":{"psid":"<string>","title":"<string>"}}}`
**CLI**

`hermoso call request_messenger_optin --json '{"psid":"<string>","title":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_messenger_subscribers](https://hermoso.ai/docs/reference/ads/list_messenger_subscribers/) List Messenger marketing-message subscribers
- [send_messenger_marketing_message](https://hermoso.ai/docs/reference/ads/send_messenger_marketing_message/) Send a paid Messenger marketing message
- [delete_messenger_marketing_campaign](https://hermoso.ai/docs/reference/ads/delete_messenger_marketing_campaign/) Delete a Messenger marketing-message campaign
- [estimate_messenger_marketing_delivery](https://hermoso.ai/docs/reference/ads/estimate_messenger_marketing_delivery/) Estimate Messenger marketing-message delivery and cost
- [get_messenger_marketing_message_status](https://hermoso.ai/docs/reference/ads/get_messenger_marketing_message_status/) Did a Messenger marketing message land?
- [list_messenger_marketing_campaigns](https://hermoso.ai/docs/reference/ads/list_messenger_marketing_campaigns/) List Messenger marketing-message campaigns
- [create_messenger_marketing_campaign](https://hermoso.ai/docs/reference/ads/create_messenger_marketing_campaign/) Create a Messenger marketing-message campaign

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
