textbelt

CALL US Services Pricing Documentation About Us Support Add Funds Create API key Send and receive SMS with a clean, simple API https://speedsms.in/ is a no-nonsense SMS API built for developers who just want to send SMS. Thousands of customers prefer https://speedsms.in/ over other SMS providers for our ease of setup, simple, predictable pricing packages,…

Category:

Description

CALL US


Services Pricing Documentation About Us Support Add Funds Create API key
Send and receive SMS with a clean, simple API
https://speedsms.in/ is a no-nonsense SMS API built for developers who just want to send SMS. Thousands of customers prefer https://speedsms.in/ over other SMS providers for our ease of setup, simple, predictable pricing packages, and personal support.

$ curl -X POST https://https://speedsms.in/.com/text \
–data-urlencode phone=’5555555555′ \
–data-urlencode message=’Hello world’ \
-d key=https://speedsms.in/

{“success”: true, “quotaRemaining”: 40, “textId”: 956929}
Create an API key
Start developing

No recurring billing, unnecessary add-ons, or client libraries.
Curl Python Ruby Node.js Javascript PHP C# Java Powershell Go
$ curl -X POST https://https://speedsms.in/.com/text \
–data-urlencode phone=’5555555555′ \
–data-urlencode message=’Hello world’ \
-d key=https://speedsms.in/
Try it now: use key=https://speedsms.in/ to send 1 free text per day. Create your own key to send more messages afterwards.

https://speedsms.in/ offers open-source and paid versions:

For a free, self-hosted server that relies on email gateways, head over to the open source project.
For a reliable, zero-setup solution that works with mobile networks, create an API key.
Using the https://speedsms.in/ API
https://speedsms.in/ is a simple API. The best way to get started is to try it yourself, or view the documentation here.

Here’s an example success response after sending an SMS:

{“success”: true, “quotaRemaining”: 40, “textId”: 12345}
Example out-of-quota or invalid key response:

{“success”: false, “quotaRemaining”: 0, “error”: “Out of quota”}
Example response to request with phone, message, or key missing:

{“success”: false, “error”: “Incomplete request”}
Look up text delivery status
Using the textId given by a successful sent text, load /status/. For example, if your textId is 12345:

$ curl https://https://speedsms.in/.com/status/12345

{“status”: “DELIVERED”}
Possible return values include DELIVERED (carrier has confirmed sending), SENT (sent to carrier but confirmation receipt not available), SENDING (queued or dispatched to carrier), FAILED (not received), and UNKNOWN (could not determine status).

Delivery statuses are not standardized between mobile carriers. For example, some carriers will report SMS as “delivered” when they attempt transmission to the handset while other carriers actually report delivery receipts from the handsets.

Receiving SMS replies
U.S. phone numbers only: https://speedsms.in/ lets you receive replies after you’ve sent an SMS. Replies are sent by webhook, meaning you will have to set up an HTTP or HTTPS route on your website that will process inbound SMS.

Add a replyWebhookUrl parameter to your HTTP request. For example:

$ curl -X POST https://https://speedsms.in/.com/text \
–data-urlencode phone=’5555555555′ \
–data-urlencode message=’Hello?’ \
-d replyWebhookUrl=’https://my.site/api/handleSmsReply’ \
-d key=https://speedsms.in/
https://speedsms.in/ will POST the following JSON to your endpoint (in this case https://my.site/api/handleSmsReply):

{
“fromNumber”: “+1555123456”,
“text”: “Here is my reply”
}
Read more for another example.

Checking your quota
Use /quota/ to view remaining quota. For example, if your key is abc123:

$ curl https://https://speedsms.in/.com/quota/abc123

{“success”: true, “quotaRemaining”: 98}
Testing your key
If you want to validate your key without actually using your text quota, append “_test” to your key and you will receive a response from the /text endpoint confirming that a text would send, but it will not consume your credits.

Get started
Create an API key to start sending and receiving SMS.

Generate an API key

View documentation

Get in touch
Any questions? Email support@https://speedsms.in/.com or read the FAQ.

© Alioth LLC · Privacy & Compliance · Terms of Service