API keys
Retrieve your API key
Get the details of your current API key, or null if you have none.
POST https://backend.trollflix.com/api/php/user_settings/get_api_keyReturns the API key object for your account. The full key is never included. Requires a signed-in session.
Request
No parameters. Send an empty JSON object.
POST /api/php/user_settings/get_api_key
Content-Type: application/json
{}Response
{
"success": true,
"key": {
"key_hint": "tfx_3f9a...c2b1",
"created_at_unix": 1790841600,
"rotated_at_unix": null,
"last_used_at_unix": 1791532800,
"uses_count": 42
}
}{
"success": true,
"key": null
}Prop
Type