Getting started with Notify
This tutorial walks you through creating a Notify configuration and sending your first OTP message. You can complete this tutorial in about 5 minutes.
Prerequisites
An AWS account.
IAM permissions for AWS End User Messaging SMS operations. For more information, see Identity and access management for AWS End User Messaging SMS.
The following IAM policy grants permissions to send messages and browse templates:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sms-voice:SendNotifyTextMessage", "sms-voice:SendNotifyVoiceMessage", "sms-voice:DescribeNotifyTemplates", "sms-voice:DescribeNotifyConfigurations", "sms-voice:ListNotifyCountries", "sms-voice:PutMessageFeedback" ], "Resource": "*" } ] }
The following policy grants full Notify management permissions:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sms-voice:CreateNotifyConfiguration", "sms-voice:UpdateNotifyConfiguration", "sms-voice:DeleteNotifyConfiguration", "sms-voice:DescribeNotifyConfigurations", "sms-voice:DescribeNotifyTemplates", "sms-voice:ListNotifyCountries", "sms-voice:SendNotifyTextMessage", "sms-voice:SendNotifyVoiceMessage", "sms-voice:SetNotifyMessageSpendLimitOverride", "sms-voice:DeleteNotifyMessageSpendLimitOverride", "sms-voice:PutMessageFeedback" ], "Resource": "*" } ] }
To restrict permissions to a specific Notify configuration, use the configuration ARN
for resource-level actions (such as SendNotifyTextMessage,
SendNotifyVoiceMessage, DescribeNotifyConfigurations,
CreateNotifyConfiguration, UpdateNotifyConfiguration, and
DeleteNotifyConfiguration). Actions that do not support resource-level
permissions (such as DescribeNotifyTemplates,
ListNotifyCountries, SetNotifyMessageSpendLimitOverride,
DeleteNotifyMessageSpendLimitOverride, and
PutMessageFeedback) require "Resource": "*".
Step 1: Create a Notify configuration
Configuration statuses:
- PENDING
Configuration is being validated.
- ACTIVE
Ready to send messages.
- REQUIRES_VERIFICATION
Brand name requires verification before activation.
- REJECTED
Configuration was rejected. Check
RejectionReasonfor details.
Step 2: Browse available templates
Before sending, check which templates are available for your tier and channel:
aws pinpoint-sms-voice-v2 describe-notify-templates \ --filters '[{"Name":"channels","Values":["SMS"]},{"Name":"tier-access","Values":["BASIC"]}]'
Step 3: Send a test message
Step 4: Check available countries
Use ListNotifyCountries to see which countries are available for your tier
and channel:
aws pinpoint-sms-voice-v2 list-notify-countries \ --channels SMS \ --tier BASIC
Next steps
Managing Notify configurations – Learn about all configuration options.
Working with Notify templates – Browse and understand available templates.
Notify tiers – Learn about tiers and how to upgrade to Advanced.
Notify spend limits – Manage your Notify spend limits.