Returns authorization details for the associated user.
If successful, this endpoint will return a 200 OK status.
One of the following scopes are required to use this endpoint.
The following arguments are supported for this endpoint.
Name | Type | Default Value |
---|---|---|
token Required |
String | None |
session |
SessionLookup | None |
properties |
SessionProperties | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
The session properties were not provided but a session ID was provided |
400 Bad Request |
The session ID provided was not found |
404 Not Found |
When the request is successful, you can expect an object matching the specification below to be returned.
{ client_id: String user: User { id: String name: String first_name: String last_name: String time_zone: String two_factor_auth_enabled: Boolean email_address: String? email_addresses: [ String? ] roles: [ String ] identity_check_state: IdentityCheckStateEnum identity_check_verified_at: Unix Timestamp? } expiry: Unix Timestamp scopes: [ String ] roles: [ String ] session: SessionValidity? { active: Boolean trusted: Boolean? reasons_to_distrust: [ String? ] trusted_ip_address: Boolean? two_factor_auth: Boolean? session_created_at: Unix Timestamp? logged_in_at: Unix Timestamp? } }