mocop

SwingFactor API

API by SwingFactor · rest

The SwingFactor API: the same versioned contract the SwingFactor web app runs on. Base URL Every path in this reference is relative to https://api.swingfactor.ai/v1 — GET /me is GET https://api.swingfactor.ai/v1/me. Authentication Send a token on every request, as a bearer token: Authorization: Bearer swingfactor_sk_… The token is either an API key — swingfactor_sk_ then 43 characters — or a signed-in session's access token. A person creates a key in the SwingFactor app, under Settings → API; it is shown once, when it is made, and never again. GET /me/api-keys lists the caller's keys without their secrets, and DELETE /me/api-keys/{id} revokes one. A key acts as the person who made it, with exactly their access — every workspace they belong to, in the role they hold there — and nothing else: it has no scopes. Three things need the person themselves rather than a key: finishing onboarding, closing the account and issuing a key. A missing,…

Endpoint: https://api.swingfactor.ai/v1

Verification: observed. Source: crawl.

Capabilities (178)