Session
GET
/api/session
const url = 'https://example.com/api/session';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/session \ --header 'Authorization: Bearer <token>'Who the caller is. 401 when a key is required and none (or a revoked one) was sent.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Session Api Session Get
object
key
additional properties
any
Examplegenerated
{}