Overview
Use the Hypersender Node 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, typed response body. If the API answers with an error, the method throws a HypersenderError (imported from hypersender-node/models/errors), or a subclass such as ValidationError or NotFoundError, with the statusCode 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