# Hermoso: record_sms_consent · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/record_sms_consent/. 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/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / record_sms_consent

# `record_sms_consent`

Record SMS consent

Area: PHONE / SMS / VOICE · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`phone` required `string`

`source` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [list_sms_consents](https://hermoso.ai/docs/reference/publish/list_sms_consents/) List SMS consent and opt-outs
- [activate_phone_service](https://hermoso.ai/docs/reference/publish/activate_phone_service/) Turn on Hermoso phone
- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [set_sms_settings](https://hermoso.ai/docs/reference/publish/set_sms_settings/) SMS sending settings
- [sms_conversation](https://hermoso.ai/docs/reference/publish/sms_conversation/) SMS conversation history
- [remove_sms_consent](https://hermoso.ai/docs/reference/publish/remove_sms_consent/) Remove an SMS consent record
- [whatsapp_sandbox](https://hermoso.ai/docs/reference/publish/whatsapp_sandbox/) WhatsApp Sandbox (try before a WhatsApp account)
- [set_sms_opt_out](https://hermoso.ai/docs/reference/publish/set_sms_opt_out/) Add or remove an opt-out
- [rcs_setup](https://hermoso.ai/docs/reference/publish/rcs_setup/) RCS business messaging setup
- [list_provider_opt_outs](https://hermoso.ai/docs/reference/publish/list_provider_opt_outs/) List the provider's opt-outs

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
