Overview
Use the Hypersender Python SDK to send SMS through the Hypersender SMS app on your Android phone, list your messages, and delete them. SetHYPERSENDER_SMS_API_KEY and HYPERSENDER_SMS_INSTANCE_ID first, as described in Installation.
Every method returns the parsed JSON response body as a plain dict. If the API answers with an error, the method raises a HypersenderError (imported with from hypersender import HypersenderError) with the status_code, message, and body of the response.
If the instance is offline, the API answers
403. If the phone has no push registration, it answers 422 with the code PHONE_PUSH_NOT_REGISTERED. See the SMS heartbeats guide and How it works.Methods
Send SMS Message
Queue an SMS to be sent by your Android phone. (learn more)- Basic Usage
- Parameters
List Messages
Get a paginated list of messages, with filters. (learn more)- Basic Usage
- Basic Usage with Filters
- Parameters
Delete Message
Delete a message by its ID. (learn more)- Basic Usage
- Parameters