Table of Contents
Integration of this endpoint would allow each user (based on their email or phone number in Releva) to have personalized link (integrated wherever you decide on your website) and clicking on which redirects them to their own page showing the number of points saved up and the available vouchers for purchase.
Endpoint Details: #
curl -XGET -H 'Authorization: Bearer <secretKey>' 'https://releva.ai//api/v0//api/v0/loyalty-link?email=<email>'
curl -XGET -H 'Authorization: Bearer <secretKey>' 'https://releva.ai//api/v0//api/v0/loyalty-link?phoneNumber=<phoneNumber>'Request URL Parameters #
Note that email, and phoneNumber are required and we need exactly one of them.
A successful response will return HTTP Status 202 with an empty response body ({}).
| Field | Type | Description |
|---|---|---|
| String (Optional) | User’s email address. | |
| phoneNumber | String (Optional) | User’s phone number. |
Encoding #
Parameters must be URL-encoded per HTTP standards.