send_verification_code
Send a one-time code
Description
Text a one-time verification code to a phone number: the code is generated and sent by the carrier, never shown to you; check_verification_code confirms what the person types. Valid for timeoutSecs (default 600). On Hermoso phone it costs 4 credits per code; on the brand's own Telnyx account Telnyx bills it.
Parameters
| Parameter | Type | Description |
|---|---|---|
torequired | string | E.164, e.g. +14155550123 |
appName | string | the name the text says the code is for (set on the first code) |
timeoutSecs | number | 60 to 3600, default 600 |
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/send_verification_code.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_verification_code","arguments":{"to":"<string>"}}}
CLI
hermoso call send_verification_code --json '{"to":"<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
check_verification_codeCheck a one-time codedeactivate_phone_serviceTurn off Hermoso phoneactivate_phone_serviceTurn on Hermoso phonecheck_number_portabilityCheck numbers can be portedphone_service_statusHermoso phone statuscreate_port_orderPort numbers inlist_shopify_sms_buyersShopify buyers with a phonelist_port_ordersList port orderscall_tracking_reportCall tracking reportget_port_orderGet a port order