Skip to content

API Overview

Certyn REST API fundamentals: base URL, auth, pagination, errors, and limits.

The Certyn REST API lets you manage projects, environments, processes, tests, runs, issues, observations, API keys, CI flows, and outgoing webhooks programmatically.

Prefer CLI for CI/CD flows

For pipeline integrations, use CLI CI Integration or GitHub Actions. Use API endpoints directly when you need low-level HTTP control.

Base URL

Use your API host. For Certyn Cloud examples, this is:

https://api.certyn.io

Authentication

Certyn supports:

  • Bearer tokens (user sessions)
  • API keys (CI/CD and server-to-server)

API keys are sent as:

curl -H "X-API-Key: cyn_live_<...>" https://api.certyn.io/api/projects

Pagination

Many list endpoints return a paged result:

{
  "items": [],
  "totalCount": 0,
  "page": 1,
  "pageSize": 20,
  "totalPages": 0,
  "hasNextPage": false,
  "hasPreviousPage": false
}

Query parameters typically use page and pageSize.

Errors

Errors use a simple shape:

{ "error": "Human readable message", "details": "Optional details" }

Rate limits

Rate limiting is enforced per tenant (or per IP for unauthenticated requests). Typical limits:

  • Global: 100 requests/min
  • API reads: 60 requests/min
  • Create operations: 20 requests/min

For polling endpoints, use 10-30 second intervals.

Reference sections