Corendis Developers
Preview: the public API is not live yet. The guides are drafts shared before the first endpoints open and may change.

Authentication

Draft.

Method

Machine-to-machine access to the public API uses the OAuth2 client credentials flow. You obtain a short-lived, scoped access token and send it on every request as Authorization: Bearer <token>.

How an integration client is set up

You do not create integration clients yourself:

  1. You send a request to BilgiTek (client name, purpose, which data it needs).
  2. BilgiTek staff define the client in the platform management panel, bound to your company (tenant), and grant its permissions (which operations and, where needed, which legal entities).
  3. You receive a client_id and a credential. A client_secret is shown only once, so you must store it. private_key_jwt is supported as an alternative.

Key points:

What determines effective permission?

For a request to succeed, all three must allow it:

  1. The token's scope,
  2. The permissions BilgiTek granted to the client,
  3. Your company's license (module and integration seat).

If any is missing, the request is rejected with 403. The type field tells you which one (see Errors).

Scope names

Example (placeholder)

POST <TOKEN_URL>
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials&client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET>&scope=<SCOPE>

Security recommendations