Generate OTP for customer authentication

Version 1.0.0
download icon Download spec

Endpoint

POST
https://partner-omni-apis-omni-apis.att.com/omni-svcs/v1/otp/send

Initiates OTP generation and delivery to the customer via specified channels such as email or mobile number.

Generate OTP request body

Body Parameters

Responses

OTP generated successfully

REQUEST

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
curl --request POST \
     --url https://partner-omni-apis-omni-apis.att.com/omni-svcs/v1/otp/send \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "subscriberNumber": "string",
  "deliveryMethods": [
    {
      "key": "string",
      "value": "string"
    }
  ]
}
'

RESPONSE

1
2
3
4
5
6
7
8
9
{
  "expirationTimeStamp": "2025-07-10T13:43:25Z",
  "deliveryMethods": [
    {
      "key": "string",
      "value": "string"
    }
  ]
}