---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Human-assisted SMS OTP authentication

# Human-assisted SMS OTP authentication {#ariaid-title1}

Release version: Brazil  
Updated November 19, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Human-assisted SMS OTP authentication

Human-assisted SMS OTP authentication enables a human agent to verify an end user's identity by sending a one-time passcode (OTP) via SMS during a live interaction, such as a phone call or chat.
The agent triggers OTP generation and validation through the platform's scriptable APIs, while the consuming application (e.g., Customer Service Management or Field Service Operations workspace) manages the agent-facing workflow and user interface.
Show full answer Show less  
This capability is distinct from the SMS OTP factor used in AI voice agent authentication and is initiated exclusively by a human agent rather than automated voice interactions.

## When to use

Use human-assisted SMS OTP when a human agent must verify an end user's identity before executing sensitive operations, including but not limited to:

* Authorizing wire transfers or account changes during calls
* Confirming identity during live chat or phone support for high-risk requests
* Verifying contacts before sharing account-specific details over the phone in field service scenarios

## How it works

* The agent identifies the end user in the consuming application and triggers OTP generation via the **generateCode** API.
* The platform generates a one-time code and either sends the SMS directly to the end user (Out-Of-the-Box mode) or returns the code to the application for delivery (Bring-Your-Own mode).
* The end user receives the SMS and reads the code back to the agent.
* The agent submits the code, and the consuming application validates it using the **validateCode** API.
* The platform confirms validation results, allowing the application to update the interaction accordingly.

## Delivery modes

* **Out-Of-the-Box (OOB):** Platform sends SMS through configured SMS providers (Twilio, Infobip, or Custom). This is the default mode.
* **Bring-Your-Own (BYO):** Platform returns the OTP to the application, which then sends the SMS using its own infrastructure.

## Phone number resolution

* In OOB mode, the platform resolves the phone number either from the consuming application's API request or from a configured table and column.
* In BYO mode, the consuming application manages SMS delivery and phone number resolution.
* Note: For Custom SMS providers, the platform uses the configuration in the MFA Provider Custom record for phone number resolution, which takes precedence over HA SMS OTP settings.

## Rate limiting and retry policies

* Limits include maximum OTP requests per tenant and per agent per minute, as well as maximum failed validation attempts per conversation and globally.
* Retry attempts count incorrect code submissions, while resend cooldown restricts how frequently new OTPs can be generated within the same conversation.
* Retry and resend counters operate independently to prevent abuse and ensure security.

## Audit trail

All OTP generation and validation API calls are logged with details such as agent ID, end user ID, conversation ID, phone number (for OOB), result, and timestamp. Audit records are retained for 90 days and managed by a cleanup job.

## Limitations

* Human-assisted SMS OTP is not available as a factor within AI Voice Assistant Designer and must be integrated via APIs.
* The platform does not provide a native agent UI; consuming applications must build and maintain the agent workflow for OTP interactions.
* In BYO mode, the platform cannot track SMS delivery status or destination beyond the API call.
* The combination of BYO delivery mode with configuration-table phone number resolution is unsupported and blocked by the system.

## Availability and prerequisites

* The HA SMS OTP plugin (snauthhasmsotp) must be installed, which depends on the Multi-factor authentication with SMS plugin.
* For OOB delivery, an active SMS provider (Twilio, Infobip, or Custom) must be configured under Multi-factor Authentication \> Providers.
* The calling user or script requires the **snauthhasmsotpcaller** role.
* The consuming application must have explicit permission to execute the HA SMS OTP API methods.  
Human-assisted SMS OTP lets a human agent verify an end user's identity by sending a one-time passcode through SMS during a live interaction. The agent initiates OTP generation and validation through the platform's scriptable APIs, and the consuming application (for example, CSM or FSO workspace) handles the agent-facing workflow and user interface.  
Note:  
This capability is separate from the SMS OTP factor used in AI voice agent authentication. SMS OTP for AI voice agents is configured in AI Voice Assistant Designer and executed by the orchestrator during automated calls. Human-assisted SMS OTP is triggered by a human agent and is not part of the AI voice agent flow.

## When to use human-assisted SMS OTP {#human-assisted-sms-otp__when-to-use}

Use human-assisted SMS OTP when a human agent needs to verify the end user's identity before performing a
sensitive operation, and the interaction is not handled by an AI voice agent.

Examples:

* A customer service agent verifies a caller's identity before authorizing a wire transfer or account change.
* A support agent confirms the end user's identity during a live chat or phone interaction before processing a high-risk request.
* A field service agent verifies a contact before sharing account-specific details over the phone.

## How human-assisted SMS OTP works {#human-assisted-sms-otp__how-it-works}

1. The human agent identifies the end user in the consuming application.
2. The agent triggers OTP generation. The consuming application calls the generateCode API.
3. The platform generates a one-time code.
   * In OOB mode, the platform dispatches the SMS directly to the end user's phone using the configured SMS provider.
   * In BYO mode, the platform returns the code in the API response. The consuming application dispatches the SMS through its own provider.
4. The end user receives the SMS and reads the code back to the agent.
5. The agent submits the code. The consuming application calls validateCode.
6. The platform validates the code and returns a result. The consuming application updates the interaction accordingly.

## Delivery modes {#human-assisted-sms-otp__delivery-modes}

{#human-assisted-sms-otp__delivery-modes__entry__2}

| Mode | Behavior |
|-|-|
| Default | The platform sends the SMS directly to the end user using the configured SMS provider (Twilio, Infobip, or Custom). Default delivery mode. |
| BYO (Bring-your-own) | The platform returns the OTP in the API response. The consuming application handles SMS delivery through its own infrastructure. |
[ ]

## Phone number resolution {#human-assisted-sms-otp__phone-resolution}

When delivery mode is OOB, the platform resolves the end user's phone number using one of two strategies.
{#human-assisted-sms-otp__phone-resolution__entry__2}

| Strategy | Behavior |
|-|-|
| Provided by calling application | The phone number is supplied in the API request by the consuming application. |
| Resolved from configured table | The platform resolves the phone number from a table and column configured in the HA SMS OTP service configuration. |
[ ]

When delivery mode is BYO, the consuming application handles delivery and determines the destination number. The platform does not resolve or use a phone number.  
Note:  
If Delivery Mode is set to OOB and your SMS provider is a Custom type, phone number resolution uses the table and field configured in your MFA Provider Custom config record, not the Phone Number Resolution selection in the HA SMS OTP configuration. In case of a mismatch, the MFA Provider Custom config takes precedence.

## Rate limiting and retry behavior {#human-assisted-sms-otp__rate-limiting}

{#human-assisted-sms-otp__rate-limiting__entry__3}

| Limit | What it controls | Default |
|-|-|-|
| Per tenant per minute | Maximum OTP requests across all agents in the tenant. | 100 |
| Per agent per minute | Maximum OTP requests a single agent can trigger. | 10 |
| Per-Conversation User Retry Limit | Maximum failed validation attempts for a single end user within one conversation. Counts incorrect code submissions only. | 3 |
| Global User Retry Limit | Maximum failed OTP verification attempts for a single end user within the configured retry window. When exhausted, the user is locked out for the configured lockout duration, after which the counter resets. | 10 |
| Resend cooldown | Minimum time between consecutive OTP generation requests within the same conversation. | 60 seconds |
[ ]

Note:  
Retry and resend are independent counters. Retry counts failed validation attempts (incorrect code submitted). Resend counts new OTP generation requests (new code sent). Triggering a resend does not consume the retry budget.

## Audit trail {#human-assisted-sms-otp__audit-trail}

Every generateCode and validateCode call is logged with the agent ID, end user ID, conversation ID, phone number (for OOB), result, and timestamp. Audit records are retained for 90 days by
default. A table cleaner job manages retention.

## Limitations {#human-assisted-sms-otp__limitations}

* Human-assisted SMS OTP is not available as a factor in AI Voice Assistant Designer. It operates independently through the scriptable APIs.
* The platform does not provide an agent-facing UI for triggering or validating OTP. The consuming application must build and maintain the agent workflow.
* In BYO mode, the platform has no visibility into whether or where the SMS was actually delivered. Audit records reflect only what was passed to the API.
* The combination of BYO delivery mode with config-table-lookup phone number resolution is not supported and is blocked at save time.

## Availability {#human-assisted-sms-otp__availability}

Human-assisted SMS OTP is available when the following conditions are met:

* The HA SMS OTP plugin (`sn_auth_ha_sms_otp`) is installed. This plugin depends on the Multi-factor authentication with SMS plugin (`com.snc.authentication.sms_mfa`).
* For OOB delivery: an SMS provider (Twilio, Infobip, or Custom) is configured and active under Multi-factor AuthenticationProviders.
* The calling user or script has the `sn_auth_ha_sms_otp_caller` role.
* The consuming application scope has been granted explicit permission to execute the HA SMS OTP API methods.
**Related concepts**   

* [SMS OTP authentication](https://www.servicenow.com/docs/S2lXhynQc6M6blEVMEUwLA "SMS one-time password (OTP) authentication is a method used to verify user identity by sending a temporary, numeric code to the user's registered mobile number. The user enters this code to complete authentication.")
* [Authentication factor configuration for AI voice agents](https://www.servicenow.com/docs/sMbTgZ8Mk_3A896zbBhTjw "To secure voice agent environments, configure authentication factors that first identify the caller, then authenticate them before granting access.")  
**Related tasks**   

* [Configure human-assisted SMS OTP](https://www.servicenow.com/docs/VORY75nP0vuAKu6FBXbevA "Configure the HA SMS OTP service to enable human agents to generate and validate one-time pass codes during live interactions.")

*[\>]: and then


