Support for sender IDs varies by country, please confirm if the countries that you are sending to support sender IDs from the table list in . Moreover, for Belarus, Egypt, India, Jordan, Kuwait, Philippines, Qatar, Russia, Saudi Arabia, Thailand, United Arab Emirates, Vietnam, you will need to request sender IDs first, please open a new limit increase case by referring to .
Once you confirm that you can send the sender IDs, you can set this attribute in your php code, for example:
$args = array(
'MessageAttributes' => [
'AWS.SNS.SMS.SenderID' => [
'DataType' => 'String',
'StringValue' => 'ABC'
"SMSType" => "Transactional",
"Message" => "Test SMS from AWS",
"PhoneNumber" => "+91XXXXXXXXXX"
$result = $sns->publish($args);
For More Info
 Supported Countries and Regions (SMS Channel) - https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html
 Requesting Sender IDs for SMS Messaging with Amazon Pinpoint - Step 1: Open an Amazon Pinpoint SMS Case - https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-sender-id.html#channels-sms-awssupport-sender-id-open