Stipop Docs | Documentation for SDK and API

Recent Search

The Recent Search API shows a list of recent search tags made by a user. Use this API to help users make faster searches based on their previous searches. As a default a maximum of 12 recent search tags are provided through this API.

Request URL

GET
https://messenger.stipop.io/v1/search/recent

Best Practices

  1. 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.
  2. Use other search related endpoints like Sticker Search, and Trending Search Terms. You can also see the tutorial for Optimizing Sticker Search for more specific guides.

Parameters

Request Headers
RequiredTypeDescription
apikeystringStipop API Key for your app.
Visit developer dashboard for new API Key.
Request Query 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.

Example Request

Sample Call: Recent Search
1
curl --location --request GET "https://messenger.stipop.io/v1/search/recent?userId=xxx" --header "apikey:xxxxxxxxx"

Success Response

Success Response code 200
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

{
  "header": {
    "code": "0000",
    "status": "success",
    "message": "success"
  },
  "body": {
    "keywordList": [
      {
        "keyword": "cute"
      },
      {
        "keyword": "bath"
      },
      {
        "keyword": "hi"
      }
    ]
  }
}

Response Format

Attributes
NameTypeDescription
keywordstringRecent search tag

Error Response

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