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
- After adding the sticker search API, try adding sticker suggestions to improve search engagement.
- It's best to use the Recent Search API along with Search Suggestions API for best user experience.
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
Call a list of recent search tags by a user
cURL
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
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.