Stipop Docs | Documentation for SDK and API

Recent Search

The Recent Search API shows recent search tags by user. It's essential to use it along with the sticker search API. 12 recent search tags are provided through this API.

Request URL

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

Best Practices

  1. After adding the sticker search API, try adding sticker suggestions to improve search engagement.
  2. It's best to use the Recent Search API along with Search Suggestions API for best user experience.

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

Call a list of recent search tags by a user
1
curl --location --request GET "https://camera.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.