Usage of API Token _ Kicklet.app
Usage of API Token _ Kicklet.app
Kicklet.app
SearchK
Main Navigation HomeDocumentation
Appearance
Menu
On this page
Sidebar Navigation
Documentation
Introduction
Default Commands
JavaScript / Template
Example Commands
On this page
1. Go to Profile Settings
Navigate to your Kicklet Profile Settings.
2. Find API Tokens
Scroll down to the "API tokens" section, as shown in the image below:
Important: Treat your API Token like a password. Never share it publicly.
json
{
"content": "test message"
}
json
{
"id": "f28bcec7-8825-422a-aa9c-e24d0fddf388",
"content": "test message"
}
You can also search for a user via the following API endpoint:
GET
https://kicklet.app/api/stats/{kickId}/viewer/ranking?page=1&pageSize=50&orde
rBy=watchtime&order=desc&search=SEARCH_TERM
• KICK_ID: This parameter represents your unique Kick account identifier. Replace
{kickId} with your actual Kick ID.
• SEARCH_TERM: This is the term used to search for a particular user. It could be part
of the user's username or the full username. Replace SEARCH_TERM with the value
you want to search for.
Example response:
json
{
"count": 1,
"ranking": [
{
"viewerKickUserID": 324342,
"viewerKickUsername": "Test",
"watchTime": 466321367161466,
"lastActivity": "2024-09-15T20:12:56.497151Z",
"points": 5000,
"messagesSent": 4700,
"rank": 6
}
]
}
To update a user's points, use one of the following endpoints depending on your desired action:
Parameters:
• {kickId}: Your unique Kick user ID. Replace {kickId} with your actual Kick ID.
• {viewer}: The username of the viewer whose points you want to update. Replace
{viewer} with the actual username.
• {points}: The number of points to add, remove, or set.
Example Request:
http
PATCH https://kicklet.app/api/stats/{kickId}/points/{viewername}/add/12
Pager
Previous pageExample Commands