Skip to content

Validate Session​

GET
/auth/validation

Validate the current session and return user information. Session can be provided via X-Session-ID header or session_id cookie.

Authorizations​

SessionAuth

Session ID for authenticated requests

TypeAPI Key (header: X-Session-ID)

Responses​

Session is valid

application/json
JSON
{
"success": true,
"user": {
"id": "usr_123abc",
"email": "user@example.com",
"name": "John",
"last_name": "Doe",
"user_name": "johndoe",
"user_type": "customer",
"picture": "string",
"is_verified": true,
"two_factor": false
}
}

Playground​

Server
Authorization

Samples​

Powered by VitePress OpenAPI