TypeScript SDK
Install, authenticate, and call every MediaKind API from one client.
Install
Authenticate
The client reads a bearer token. Create one in the mk.io web application — see API tokens — and keep it in the environment rather than in source.
Namespaces
Every API is reachable from the one client. The first segment selects the API:
Error handling
Failed requests throw a typed error carrying the HTTP status and the parsed body.
This SDK is generated from the same specs that produce this site’s API reference, so the two never drift. See the source repository.