record_sms_consent
Record SMS consent
Description
Keep a consent record for a phone number: source (where they agreed: a form URL, a checkout checkbox, a keyword they texted), consentedAt (default now), the wording they agreed to, marketing (default true), aiVoice (they agreed to calls with an AI voice). list_sms_consents reads the records back. Free. Needs Hermoso phone on (activate_phone_service) or Twilio or Telnyx connected (Connectors, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
phonerequired | string | |
sourcerequired | string | |
consentedAt | string | |
wording | string | |
marketing | boolean | |
aiVoice | boolean |
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/record_sms_consent.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"record_sms_consent","arguments":{"phone":"<string>","source":"<string>"}}}
CLI
hermoso call record_sms_consent --json '{"phone":"<string>","source":"<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.
Related tools
list_sms_consentsList SMS consent and opt-outsactivate_phone_serviceTurn on Hermoso phoneconnect_connectorConnect a paste-a-key accountset_sms_settingsSMS sending settingssms_conversationSMS conversation historyremove_sms_consentRemove an SMS consent recordwhatsapp_sandboxWhatsApp Sandbox (try before a WhatsApp account)set_sms_opt_outAdd or remove an opt-outrcs_setupRCS business messaging setuplist_provider_opt_outsList the provider's opt-outs