C

Contract.fit API

REST discovered

Details
URL
//cfportal.contract-p.fit/api
Docs
https://cfportal.contract-p.fit/swagger.json
Authentication
Contract.fit username and password basic discovered Get credentials ↗

Use the account credentials provided for your Contract.fit tenant. The OpenAPI states you should have an account to bootstrap your tenant and create users/roles, and says to contact Contract.fit if you are missing credentials or permissions.

Contract.fit JWT token jwt discovered Get key ↗
Authorization: Bearer <credential>

Sign in with your Contract.fit account by calling the API POST /auth on your tenant API to exchange your username/password for a JWT token. If you do not yet have an account, contact Contract.fit.

Contract.fit API key api_key discovered Get key ↗
X-API-Key: <credential>

Create an API key in Contract.fit using the API key management capability exposed at GET/POST /auth/api-key. The OpenAPI describes API keys as randomly generated strings bound to roles and says they can be revoked at any time. You need an existing authenticated account with permission to manage API keys; if you lack access, contact Contract.fit.