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
- 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.
- 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
Required | Type | Description |
---|---|---|
apikey | string | Stipop API Key for your app. Visit developer dashboard for new API Key. |
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. |
Example Request
Sample Call: Recent Search
cURL
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
Name | Type | Description |
---|---|---|
keyword | string | Recent search tag |
Error Response
Error | Code | Description |
---|---|---|
Description | 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.