Developers can connect our platform with apps or web projects. The Coupontools REST API allows you to query meta-data about your account, campaigns, validations, usage data, distribution of coupons by email or SMS.

REST API Documentation

Send a coupon by SMS

Send a coupon by SMS.
You need to have a SMS marketing platform connected to be able to send out SMS messsages. (Check out: integrations -> SMS marketing)

E.164 phone number format:
First of all, in the international E.164 notation a leading '0' is removed.
The UK mobile phone number '07911 123456' in international format is '+44 7911 123456', so without the first zero.
Secondly in the E.164 notation all spaces, dashes ['-'] and parentheses [ '(' and ')'] are removed, besides the leading '+' all characters should be numeric.
Example: +447911123456
Base URL
1client_idAPI client IDCan be found with your API documentation.
2client_secretAPI client secretCan be found with your API documentation.
3campaignThe unique ID from the campaignRequired. Can be found in the list of all campaigns.
4phoneAdd the mobile phone number in international E.164 notation.Required.
5bodyThe SMS body text. The unique coupon URL will be added to each message.Optional.
Example response
	"status": {
		"status": "OK"

	"campaign": "cam_123456",
	"message": "Here comes the body text",
	"phone": "441234567890",
	"single_use_code": "d8ysxk1wqy6ajzh55atx7",
	"single_use_url": "",
	"action": "sms_sent"

Zapier integration

Zapier Not a developer? Automatically connect Coupontools with your teams' favorite apps like Mailchimp, Constant Contact, Zendesk, SalesForce, and many more - all without writing any code. Zapier connects Coupontools with different apps so you can automate a workflow between them.
For example: You can have the captured email address and name automatically added to a subscribers list in Mailchimp.
Read more about our Zapier integration

Get notifications for events in your account.

Use webhooks to be notified about events that happen in a Coupontools account. Webhooks are a system of automated notifications indicating that an event has occurred in your account. Rather than requiring you to pull information via our API, webhooks push information to your destination when important events occur.

Notifications are delivered via HTTP POST to a destination endpoint on your server and are sent based on the triggers you choose. Each webhook contains a notification kind and the full Coupontools object that the notification is reporting on. This information can be used to update your system or to trigger business processes.

Register now for a 7-days free trial account

Start using Coupontools today!