Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Notification Service
    • Overview
    • Getting started with mobile push notifications
    • Getting started with in-browser push notifications
    • Getting started with SMS
    • Getting started with topics
    • All guides
      • Creating an SMS notification channel
      • Deleting an SMS notification channel
      • Adding a test phone number
      • Deleting a test phone number
      • Sending a test SMS notification
      • Managing SMS templates
      • Exiting the sandbox
    • Configuring logging
    • Overview
    • Mobile push notifications
    • In-browser push notifications
    • SMS
    • Topics
    • Quotas and limits
    • All tools
    • AWS CLI
    • AWS SDK for C++
    • AWS SDK for Go
    • AWS SDK for Java
    • AWS SDK for JavaScript
    • AWS SDK for Kotlin
    • AWS SDK for .NET
    • AWS SDK for PHP
    • AWS SDK for Python (boto3)
  • Pricing policy
  • Access management
  • Audit Trails events
  • Metrics Monitoring
  • Logs Cloud Logging
  • Release notes
  1. Step-by-step guides
  2. SMS notifications
  3. Sending a test SMS notification

Sending a test SMS notification

Written by
Yandex Cloud
Updated at September 17, 2026
View in Markdown
Management console
AWS SDK for PHP
  1. In the management console, select the folder you want to create a notification channel in.
  2. Navigate to Cloud Notification Service.
  3. Select an SMS notification channel you need.
  4. Navigate to the Test numbers tab.
  5. Click next to the test phone number and select Send.
  6. In the window that opens, enter the message text and click Send.
  1. If you do not have the AWS SDK for PHP yet, install and configure it.

  2. To send an SMS notification, use this code:

    $response = $client->publish(
      [
          'Message' => '<message>',
          'PhoneNumber' => '<phone_number>',
      ]
    );
    
    print($response->get('MessageId'));
    

Was the article helpful?

Previous
Deleting a test phone number
Next
Managing SMS templates
© 2026 Direct Cursus Technology L.L.C.