Auth
Get optional web session state
Returns an anonymous state instead of an authorization error when no valid session is present.
get/auth/session-state
Request
- Base URL: https://app.openpo.st/api/v1
- URL: https://app.openpo.st/api/v1/auth/session-state
- Auth: one of:
- none
- HTTP bearer
- API key in cookie openpost_session
Response
OK
Example response
{
"$schema": "https://example.com/api/v1/schemas/AuthSessionStateOutputBody.json",
"user": {
"$schema": "https://example.com/api/v1/schemas/UserProfile.json"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.