Contracko Authentication API
Verify and inspect Contracko integration API keys. Send your API key in `x-contracko-api-key` or `Authorization: Bearer `. Use `GET /health` to confirm the key is valid and discover the granted scopes.
Verify and inspect Contracko integration API keys. Send your API key in `x-contracko-api-key` or `Authorization: Bearer `. Use `GET /health` to confirm the key is valid and discover the granted scopes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/contracko-com:contracko-com-authentication-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Contracko Com Authentication API
version: 0.3.0
description: 'Operations tagged Authentication across 2 of this provider''s published API definitions: contracko-com-parsing-openapi.json, contracko-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v1
description: Same-origin (current environment)
- url: https://app.contracko.com/api/v1
description: Production
security:
- ContrackoApiKey: []
- BearerAuth: []
tags:
- name: Authentication
description: 'Verify and inspect Contracko integration API keys.
Send your API key in `x-contracko-api-key` or `Authorization: Bearer `. Use `GET /health` to confirm the key is valid and discover the granted scopes.'
paths:
/health:
get:
operationId: health
summary: Check API key access
description: Verify that your API key is valid and return the workspace and access attached to it.
tags:
- Authentication
responses:
'200':
description: API key verified.
content:
application/json:
schema:
type: object
properties:
status:
const: ok
description: Health status for the authenticated API key
timestamp:
type: string
format: date-time
description: ISO-8601 timestamp generated by the API
keyId:
type: string
minLength: 1
description: Unique identifier for the API key
keyName:
anyOf:
- type: string
- type: 'null'
description: Label assigned to the API key
scopes:
type: array
items:
type: string
minLength: 1
description: Access granted to the API key
workspace:
type: object
properties:
name:
anyOf:
- type: string
- type: 'null'
description: Connected workspace name
contractManagement:
type: object
properties:
refusalReason:
enum:
- subscription_inactive
- api_disabled
- not_member
type: string
hint:
type: string
required:
- refusalReason
- hint
description: Bounded Contract Management refusal and recovery hint; the credential remains valid
contracts:
type: object
properties:
real:
type: integer
minimum: 0
maximum: 9007199254740991
description: Contracts added by the workspace
examples:
type: integer
minimum: 0
maximum: 9007199254740991
description: 'Example contracts seeded for onboarding, titled "Example: ..."'
required:
- real
- examples
description: Visible contract counts; present only with contract read access
required:
- name
description: Connected workspace summary, returned to MCP connections only
required:
- status
- timestamp
- keyId
- scopes
examples:
success:
summary: API key verified
value:
status: ok
timestamp: '2026-03-13T10:30:00.000Z'
keyId: key_123
keyName: Production parser key
scopes:
- parser:compute
'401':
description: Authentication failed (missing, invalid, revoked, or expired API key).
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
missing_api_key:
summary: No API key header provided
value:
code: UNAUTHORIZED
message: 'Missing API key. Send x-contracko-api-key or Authorization: Bearer <key>.'
'429':
description: Retry later because the request rate limit was reached.
headers:
Retry-After:
description: Number of seconds to wait before retrying the request.
schema:
type: string
X-RateLimit-Limit:
description: Requests allowed in the current rate-limit window.
schema:
type: string
X-RateLimit-Remaining:
description: Remaining requests in the current rate-limit window.
schema:
type: string
X-RateLimit-Reset:
description: Unix timestamp when the current rate-limit window resets.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
rate_limited:
summary: API rate limit reached
value:
code: TOO_MANY_REQUESTS
message: Too many requests. Please try again later.
'500':
description: The server could not complete the request.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
internal_error:
summary: Unhandled server error
value:
code: INTERNAL_SERVER_ERROR
message: Unexpected API error
servers:
- url: /api/v1
description: Same-origin (current environment)
- url: https://app.contracko.com/api/v1
description: Production
components:
schemas:
ApiError:
type: object
required:
- code
- message
properties:
code:
type: string
description: Machine-readable ORPC/TRPC error code.
message:
type: string
description: Human-readable error message.
data:
type: object
description: Optional structured metadata with endpoint-specific error context.
properties:
refusalReason:
type: string
enum:
- subscription_inactive
- api_disabled
- not_member
description: Reviewed Contract Management or membership refusal reason.
additionalProperties: true
additionalProperties: true
securitySchemes:
ContrackoApiKey:
type: apiKey
in: header
name: x-contracko-api-key
description: Contracko integration API key. Issue keys from Settings → Integrations → API keys.
BearerAuth:
type: http
scheme: bearer
bearerFormat: opaque
description: 'Pass your Contracko integration API key as a bearer token: `Authorization: Bearer <key>`.'
x-refined-from:
- contracko-com-parsing-openapi.json
- contracko-com-openapi.yml