Skip to content

Latest commit

 

History

History

sender_id

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

At times we might have to use sender id to let the end user know that message originates from your account/company as marketing strategy. Certain countries supports sender id out of the box, others requires them to be registered before they are used. In cases where sender id is not supported, a sender id of NOTICE will be displayed as SNS will alter it to ensure message delivery.

AWS documentation for SenderIds would be the best way to get the latest information regarding supported countries, and any sender id requirements.

Output:

Success:

{
  "statusCode": 200,
  "body": "Success. Message sent to +1XXXXXXXXXX"
}

Error:

{
  "statusCode": 200,
  "body": "Not a valid phone endpoint type. Supported messages types: Mobile/Prepaid. Skipping sending message to +1XXXXXXXXXX"
}