Hand session tokens back to the CLI
Reads the active session from cookies and HTTP-redirects (302) to the CLI's localhost callback URL with the access (and refresh) tokens as query params. Only localhost HTTP callback URLs are allowed.
GET
/api/auth/cli-callbackQuery parameters
callbackstringrequiredstatestringRequest
curl
curl -X GET https://platform.trickest.com/api/auth/cli-callback \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200Redirect to the CLI localhost callback carrying the session tokens
successboolean400Bad Request – validation error or malformed input
codestringmessagestring500Internal Server Error
codestringmessagestring