Menu
Amazon Simple Notification Service
API Reference (API Version 2010-03-31)

OptInPhoneNumber

Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.

You can opt in a phone number only once every 30 days.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

phoneNumber

The phone number to opt in.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalError

Indicates an internal service error.

HTTP Status Code: 500

InvalidParameter

Indicates that a request parameter does not comply with the associated constraints.

HTTP Status Code: 400

Throttled

Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: