Stipop Docs | Documentation for SDK and API

My Sticker Order

Use the My Sticker Order API to let users change the order of sticker packs in My Sticker Packs.

Request URL

PUT
https://messenger.stipop.io/v1/mysticker/order/:userId

Best Practices

  1. Check all the components that can be put into building this from our UI Kit. It will help you build the sticker feature much quicker and easier.
  2. 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.

Parameters

Request Headers
RequiredTypeDescription
apikeystringStipop API Key for your app.
Visit developer dashboard for new API Key.
Request Path Parameters
RequiredTypeDescription
userIdstringUnique 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.
Request Body Parameters
RequiredTypeDescription
currentOrderintCurrent order of the sticker pack user wishes to change the order.
newOrderintNew order of sticker pack in [currentOrder].

Example: To move the 3rd sticker to the first, set currentOrder as 3 and newOrder as 1

Example Request

Sample Call: Hide/Recover My Pack
1
curl --location --request PUT "https://messenger.stipop.io/v1/mysticker/order/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

ErrorCodeDescription
non exist apikey9000The API key used does not exist
server error1000Unable to receive data from the server
We’re here to help. Contact us.