Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hanko Sessions API

The Sessions API from Hanko — 1 operation(s) for sessions.

Hanko Sessions API is one of 22 APIs that Hanko publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sessions. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.2.0.

Requests are made against a single base URL, https://{tenant_id}.hanko.io/admin.

1 operations 1 paths 3 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.2.0
Base URL
https://{tenant_id}.hanko.io
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Hanko Sessions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (API Key) (BearerApiKeyAuth).

  • BearerApiKeyAuth — Bearer authentication header of the form Bearer , where is your API key. Must only be used when using Hanko Cloud.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Sessions 1
POST
/sessions
Create a new session token for a user
post_sessions body → 200400404500

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are CreateSession (3 properties), Error (2 properties), CreateSessionResponse (1 property). Each schema is shown below with its type and property counts.

CreateSession
object
3 properties 1 required
Error
object
2 properties 2 required
CreateSessionResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hanko-sessions-api-openapi.yml Raw ↑

Other APIs Hanko publishes across the network.

Hanko Flow API
Hanko Audit Logs API
Hanko Credentials API
Hanko Email Management API
Hanko Login API
Hanko Metrics API
Hanko mfa API
Hanko Passcode API
Hanko Password API
Hanko SAML API
Hanko Session Management API
Hanko Status API