Create brand registration otp

POST /v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp

A Messaging Service resource to retry OTP verification for Sole Proprietor Brand Registrations.

Path parameters

  • BrandRegistrationSid string Required

    Brand Registration Sid of Sole Proprietor Brand.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BN[0-9a-fA-F]{32}$.

Responses

  • 201 application/json

    Created

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the Brand Registration resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • brand_registration_sid string | null

      The unique string to identify Brand Registration of Sole Proprietor Brand

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BN[0-9a-fA-F]{32}$.

POST /v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp
curl \
 --request POST 'https://messaging.twilio.com/v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp' \
 --user "username:password"
Response examples (201)
{
  "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
  "brand_registration_sid": "BN0044409f7e067e279523808d267e2d85"
}