Coupontools Logo

API & Webhooks

Connect the Coupontools platform with your apps or web projects. The Coupontools REST API allows you to query meta-data about your account, campaigns, distribution, validations, and usage data.

Retrieve a list of all users from a loyalty card

Returns a list of all users from a loyalty card.
Base URL
POST: https://api4coupons.com/v3/loyaltyusers/list
Parameters
# Parameter Input Description
1 client_id API client ID
Required
Can be found in your API documentation
2 client_secret API client secret
Required
Can be found in your API documentation
3 loyaltycard ID from the loyaltycard
Required
Can be found in the list of all loyalty cards.
Example response
{
	"status": {
		"status": "OK"
	},

	"loyaltycard": [
		{
			"ID": "loy_123456",
			"code": "abc123",
			"url": "https://loyaltycard.mobi/ac/abc123",
			"status": "active",
			"name": "Your loyalty card",
			"type": "stampcard",
			"amount_of_stamps": "8"
		}

	"amount_of_users": "1"
	"users": [
		{
			"ID": "lus_123456",
			"first_name": "John",
			"last_name": "Doe",
			"gender": "male",
			"age_range": "",
			"profile_picture": "https://loyaltycard.mobi/uploads/foto.png",
			"email": "[email protected]",
			"phone": "",
			"social_type": "Google",
			"stamps": "2",
			"subscribed_for_marketing": "1"
		}
	]
}


Register now for a 7-days trial account

Start using Coupontools today!

Great you're here! Cookies? Read our Privacy Policy. I accept
x