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

Calm Subscriptions API

Provision and revoke Calm subscriptions linked to partner users.

Calm Subscriptions API is one of 2 APIs that Calm publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Subscriptions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 0.

Requests are made against 2 base URLs: https://auth.calm.com, https://auth-ga.aws-dev.useast1.calm.com.

2 operations 2 paths 4 schemas 1 DELETE1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
0
Servers
https://auth.calm.com
https://auth-ga.aws-dev.useast1.calm.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Calm Subscriptions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

  • bearerAuth — JWT access token issued by POST /v0/authorize.

Paths & Operations 2

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

Subscriptions 2

Provision and revoke Calm subscriptions linked to partner users.

POST
/v0/b2b/users/link
Link Partner User to Calm Subscription
linkPartnerUser body → 200401409
DELETE
/v0/b2b/users/{partner_user_id}
Cancel Partner User Subscription
cancelPartnerUserSubscription 1 param → 200401

Schemas 4

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

CancelSubscriptionResponse
object
4 properties 2 required
Error
object
2 properties
LinkUserResponse
object
4 properties 2 required
LinkUserRequest
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

calm-com-subscriptions-api-openapi.yml Raw ↑

Other APIs Calm publishes across the network.

Calm Authentication API