API Documentation

General Info

In order to make API calls, you need to provide your API token as api_key in the URL.

You can get your API key on this page.

Our endpoint is usually: https://merchant.textplug.net/ and is free of charge to use. It does not cost any money. Textplug will provide you with a 32-character long API key attached to all your purchases, orders, and rentals upon registering. Please do NOT share this with anyone, as it could give users access to all your orders and balance.

Where can I find the Textplug API documentation?

Our documentation is provided through Postman.

You can find the Textplug API documentation here.

Webhooks

You can set a webhook URL on theprofile page. If you do so, incoming SMS will be forwarded in a POST request to that address. If your server doesn't respond with a 200 status code, the request will be retried up to 3 times.

The format of the message is as follows:

{
  "serviceName": "WhatsApp",
  "channel": "swift",
  "phoneNumber": "+1234567890",
  "reference": "1ccfb756-dccc-4cb4-976a-01c49e385786",
  "code": "Your sms code",
}

Get our mobile app