Send Gift Sticker Pack
Once Sticker Store with paid stickers is all set, you can start adding more advanced features like Sending a Gift Sticker Pack between users. A lot of the users purchase stickers to send it as a gift to another user. With this API, any user can send a gift sticker pack to another user in your platform. The receiver then Confirms Gift Pack and then can start using the sticker pack.
Request URL
POST
https://messenger.stipop.io/v1/gift/:packageId/:sendUserId/:receiveUserId
Best Practices
- We highly recommend you utilizing the Send Gift Pack API and benefit from highly engaging feature that users love.
- For the sendUserId and receiveUserId 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 Analytics page and see gift sticker reports. Other clients have seen valuable data such as a data set that can lead to understanding user satisfaction of the product and increasing revenue on a 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 |
---|---|---|
packId | string | The [packId] of a sticker pack, NOT stickerId. Example: 6363, 5636, 5859 |
sendUserId | string | The userId of a user who's sending gift pack. The userId can be in any string format. Important: Using same userId for multiple users is not allowed. |
receiveUserId | string | The userId of a user who's receiving gift pack. The userId can be in any string format. Important: Using same userId for multiple users is not allowed. |
Example Request
Sample Call: Send Gift Pack
cURL
1
curl --location --request POST "https://messenger.stipop.io/v1/gift/118/9937/8805" --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 | 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.