Check login status.
GET
/api/auth/v1/status
const url = 'https://example.com/api/auth/v1/status';const options = {method: 'GET'};
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/auth/v1/statusResponses
Section titled “Responses”Auth & refresh tokens.
Media typeapplication/json
object
auth_token
string | null
csrf_token
string | null
refresh_token
string | null
Examplegenerated
{ "auth_token": "example", "csrf_token": "example", "refresh_token": "example"}