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

Koyeb Sessions API

The Sessions API from Koyeb — 4 operation(s) for sessions.

Koyeb Sessions API is one of 42 APIs that Koyeb 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, API documentation, and an API reference.

This API exposes 4 operations across 4 paths, and defines 9 schemas. It is described by OpenAPI 2.0, at version 1.0.0.

Requests are made against the base URL https://app.koyeb.com.

4 operations 4 paths 9 schemas 1 DELETE2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
1.0.0
Base URL
https://app.koyeb.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Koyeb Sessions API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer). By default, every request must be authenticated.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 1 DELETE, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Sessions 4
POST
/v1/account/login
Login user
Login 2 params → 200400401403404500503default
DELETE
/v1/account/logout
Logout user
Logout → 200400401403404500503default
PUT
/v1/account/refresh
Refresh token
RefreshToken → 200400401403404500503default
POST
/v1/account/session
New session
NewSession → 200400401403404500503default

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Token (4 properties), ErrorWithFields (4 properties), LoginRequest (3 properties), Error (3 properties). Each schema is shown below with its type and property counts.

google.rpc.Status
object
3 properties
Token
object
4 properties
LoginRequest
object
3 properties
ErrorWithFields
object
4 properties
google.protobuf.Any
object
1 property
LogoutReply
object
ErrorField
object
2 properties
Error
object
3 properties
LoginReply
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

koyeb-sessions-api-openapi.yml Raw ↑

Other APIs Koyeb publishes across the network.

Koyeb activity API
Koyeb Apps API
Koyeb Archives API
Koyeb billing API
Koyeb CatalogDatacenters API
Koyeb CatalogInstances API
Koyeb CatalogInstanceUsage API
Koyeb CatalogRegions API
Koyeb Compose API
Koyeb Coupons API
Koyeb Credentials API
Koyeb Deployments API