hermosodocs

request_messenger_optin

Ask a Messenger contact to subscribe to marketing messages destructive

Area: MESSENGER MARKETING MESSAGES · Ad campaign management. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
pageIdstringPage that sends the request; omit when only one Page is connected
psidrequiredstringthe person’s Page-scoped id
titlerequiredstringwhat they are subscribing to, ≤65 characters
imageUrlstringoptional image shown with the opt-in request
timezonestringtheir timezone, e.g. America/New_York
dryRunbooleantrue = 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.

All 759 Ad campaign management tools · tools.json