Request an origination phone number for use in your account. For more information on phone number request see <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-request.html">Request a phone number</a> in the <i>End User Messaging SMS User Guide</i>.
Headers
Request body
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
The type of message. Valid values are <code>TRANSACTIONAL</code> for messages that are critical or time-sensitive and <code>PROMOTIONAL</code> for messages that aren't critical or time-sensitive.
Indicates if the phone number will be used for text messages, voice messages, or both.
Use this field to attach your phone number for an external registration process.
By default this is set to false. When set to true the international sending of phone number is Enabled.
By default this is set to false. When set to true the phone number can't be deleted.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
Response
Success
The Amazon Resource Name (ARN) of the requested phone number.
The unique identifier of the new phone number.
The new phone number that was requested.
The current status of the request.
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
Indicates if the phone number will be used for text messages, voice messages or both.
The type of number that was released.
The monthly price, in US dollars, to lease the phone number.
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
The ARN used to identify the two way channel.
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
The name of the OptOutList that is associated with the requested phone number.
By default this is set to false. When set to true the international sending of phone number is Enabled.
By default this is set to false. When set to true the phone number can't be deleted.
The unique identifier of the pool associated with the phone number
The unique identifier for the registration.
The time when the phone number was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.