Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.hypersender.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Send Message Module in Hypersender’s Laravel SDK allows you to send and manage SMS messages programmatically. This guide provides a comprehensive overview of the available methods and how to use them effectively in your Laravel applications through your Android Phone.

Methods

Send SMS Message

Send a new SMS message to be sent by your android phone. (learn more)
use Hypersender\Hypersender;

Hypersender::sms()
  ->sendMessage(
      content: 'Hello, this is a test message!',
      requestId: 'e7b8a3c0-2d1a-4f9b-9f6c-1b2c3d4e5f6a',
      to: '+1234567890',
      // Optional parameters
      // scheduleSendAt: '2025-01-01 12:00:00',
      // maxSendAttempts: 3,
      // messageExpirationSeconds: 120,
    );

List Messages

Retrieve a paginated list of messages with powerful filtering. (learn more)
use Hypersender\Hypersender;

$response = Hypersender::sms()->messages();

Delete Message

Delete a message by its ID. (learn more)
use Hypersender\Hypersender;

Hypersender::sms()->deleteMessage(
    messageId: 'msg_01HXYZABCDEF1234567'
);