Register Sticker Send
Registering Sticker Send everytime a user sends a sticker on any chat interface is very important. This is so that you can provide optimal experience to users regarding sticker browse, search, download, and send.
Once integrated, you'll also be able to view sticker usage analytics on your Dashboard account.
Request URL
POST
https://messenger.stipop.io/v1/analytics/send/:stickerId
Best Practices
- Use the language and country parameters (strongly recommended) to provide user locale information for best use. Stipop automatically tunes the sticker results so that they match your users' language preferences, cultures, and local trends.
- If the sticker was searched before being sent, provide the search term (q). The search terms will help Stipop advance sticker search for users to have the perfect search experience.
- For the userId parameter, please don't use identical userId for multiple users. This is thoroughly monitored and in case of any misuse, the API key can be blocked from usage. The userId can be in any string format.
- Once you’ve set the API visit your Dashboard account and see sticker analytics reports. Other developers have seen valuable data that helped them understand user satisfaction of the product and increase revenue on the paid sticker store model.
Parameters
Required | Type | Description |
---|---|---|
apikey | string | Stipop API Key for your app. Visit developer dashboard for new API Key. |
Required | Type | Description |
---|---|---|
stickerId | int | The [stickerId] of a sticker that's being sent, NOT packId. Example: 140502, 134960, 121856 |
Required | Type | Description |
---|---|---|
userId | string | Unique value for every user to distinguish unique users. The userId can be in any string format. Important: Using same userId for multiple users is not allowed. |
Strongly Recommended | Type | Description |
q | string | Search tag that was used to find the sticker that's sent. Condition: If the sticker was searched, not downloaded. |
lang | string | Specify default language for regional stickers. Use a 2-letter ISO 639-1 language code. Example: en |
countryCode | string | Specify default country for local stickers. Use a 2-letter ISO 3166-1 country code. Example: US |
Example Request
Sample Call: Register Sticker Send
cURL
1
curl --location --request POST "https://messenger.stipop.io/v1/analytics/send/790?userId=9937" --header "apikey:xxxxxxxxx"
Success Response
Success Response code 200
1
2
3
4
5
6
7
8
{
"header": {
"code": "0000",
"status": "success",
"message": "success"
},
"body": []
}
Error Response
Error | Code | Description |
---|---|---|
non exist apikey | 9000 | The API key used does not exist |
server error | 1000 | Unable to receive data from the server |
Was this page helpful?
We’re here to help. Contact us.