Skip to content
OpenPostDocs
OpenPostDocs
Auth

Get pending CLI authorization details

GET/cli/auth/session

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

user_code?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/cli/auth/session"
{  "$schema": "https://example.com/api/v1/schemas/GetCLIAuthSessionOutputBody.json",  "client_name": "string",  "client_os": "string",  "client_version": "string",  "expires_at": "string",  "requested_scopes": "string"}