All topics
Get started8Account, team & permissions44Units & fields70Records, views & tasks39WhatsApp & Cortex Chat68Email & social27Lead ads & distribution38Automations52Documents & quotes32Dashboards40Cortex AI18Developers & API12
Help Center·448 guidesAll topicsContact support

Connect Corteksa to your systems: the developer guide

Outside systems integrate with Corteksa in 2 directions: they pull and write records through the REST API with an API key or an OAuth token, and Corteksa pushes changes to them through signed Webhooks.

6 min

The 2 directions

Direction
What happens
Guide
Pull
Your system reads and writes records through the REST API
Push
Corteksa sends a signed request to your URL on every change

2 ways to connect

Pasting the key
The connect button (OAuth)
The token
A key that starts with crtk_live_
A token that starts with crtk_oauth_
Who creates it
The client themselves, from Settings → API keys
You register the app once through the Corteksa team
The client’s experience
They copy the key and paste it into your app
They press “Connect” in your app, then Authorize on the permissions screen
Best for
A self-made link to one workspace
A published integration for many clients
Guide

The core principle

A key or token works with the permissions of the member who created it, within the scopes chosen. Every request goes through 2 checks: does the scope allow this action? And does the member’s current level allow this record? See Key scopes, and how they combine with permissions.

Every developer guide

What no key can reach

Members, roles, billing, workspace settings, the structure of units and fields, duplicate rules, and managing keys and apps themselves. These are for people only.

A key works with its creator’s permissions. Keep it in a secrets vault on the server, and never put it in front-end code, a mobile app, a public repository or system logs.

A real example

Namaa Academy
The situation

The academy’s website collects registration requests, and wants to send them to Corteksa and receive status updates.

What they did
  1. The developer created a key with the Write scope on the “Leads” unit. See Create and revoke an API key.
  2. The website creates a record for each request through the API.
  3. The developer subscribed to record.updated to receive status changes. See Subscribe to Webhooks to receive record changes.
The result

Every request shows in Corteksa within seconds, and the website shows each student the status of their request.

A made-up company, to show the idea. The numbers are rounded.
Did this guide solve it?
If not, we’ll ask what was missing.
Open in Corteksa
Did this guide solve it?

We read every answer. To get a reply, use Contact support.