Generic CEP integration
You can integrate with any customer engagement platform (CEP) using Talon.One's endpoints for third-party tools.
These endpoints are for general use with any platform. If you use a partner listed in the Customer engagement platforms section, do not follow this tutorial. Instead, refer to a tutorial specific to your platform.
The following endpoints are available:
See API Docs
Authenticating
All CEP endpoints rely on Talon.One's third-party API keys of type Customer Engagement.
To generate an API key:
-
In your Talon.One Application, click Settings > Developer settings.
-
Click Create API Key.
-
For Do you want to use this API Key with a 3rd party service?, select Yes.
-
From Platform, select Customer Engagement.
-
Select an expiration date, and click Create API Key.
-
Copy the key for later use.
noteYou cannot display the API key after this step. If you lose the value, create a new API key.
Use the key in the Authorization
header of each of the endpoints. For example:
Authorization: ApiKey-v1 dbc644d33aa74d582bd9479c59e16f970fe13bf3
Creating a coupon
To create a coupon code from a CEP platform, use the following endpoint:
https://integration.talon.one/customer_engagement/coupon
See API Docs
Creating a referral
To create a referral code from a CEP platform, use the following endpoint:
https://integration.talon.one/customer_engagement/referral
See API Docs
Fetching a loyalty ledger
To fetch loyalty ledger information from a CEP platform, use the following endpoint:
https://integration.talon.one/customer_engagement/loyalty
See API Docs
Adding loyalty points
To add loyalty points from a CEP platform, use the following endpoint:
https://integration.talon.one/customer_engagement/add_loyalty_points
See API Docs