Base URL
All API requests are made to the following base URL:POST https://api.hany.tools/v1/sms/send.
Request Format
- Set the
Content-Typeheader toapplication/jsonon all requests that include a body. - Send request bodies as raw JSON.
- All responses are returned as JSON, including errors.
Authentication
Every request to the Hany API must include a valid API key as a Bearer token in theAuthorization header. You can generate your key from the Hany dashboard.
See the Authentication page for full details on obtaining your key, using it in requests, and security best practices.
Rate Limits
API rate limits are enforced to ensure fair usage and platform stability. If your integration requires a higher throughput, reach out to support@hany.tools to discuss a plan that fits your volume needs.
429 Too Many Requests response. Implement exponential backoff in your retry logic to handle these gracefully. See the Errors page for more detail.
Versioning
The API version is embedded in the URL path (e.g.,/v1). This ensures that breaking changes never affect your existing integration without warning.
When a new version is released, the previous version will continue to be supported for a defined sunset period. You will receive advance notice of any deprecation timeline so you have ample time to migrate.
Available Endpoints
The following endpoints are currently live and available to all Hany accounts:| Endpoint | Description |
|---|---|
POST /sms/send | Send a single SMS to one recipient |
POST /sms/bulk | Send a bulk SMS campaign to multiple recipients |
GET /sms/sender-ids | List all Sender IDs registered on your account |
POST /sms/sender-ids | Register a new Sender ID for approval |
GET /sms/delivery-reports | Retrieve delivery status reports for sent messages |
IVR, USSD, Email, and Payments endpoints are coming soon. Watch the changelog for announcements.
Quick Links
Authentication
Learn how to generate your API key and authenticate every request.
Send SMS
Send a single SMS message to any phone number.
Bulk Send
Launch a bulk SMS campaign to multiple recipients at once.
Webhooks
Receive real-time delivery and event notifications via webhooks.