Skip to content

Developers

Connect your own tools to Kamayu.

Use an API key to read and write your workspace's records from your own scripts, your server (for example to save website form leads) and other tools.

The API is included in the Pro plan. Free trials run on the Standard plan, which does not include the API.

What you can do

Read your records

List and look up companies, contacts, deals and leads, pipelines, tasks, tickets, quotes, projects, products, notes, users and your custom field definitions, one page at a time.

Create and change records

Create and update companies, contacts, deals, tasks and tickets. Move a deal to another stage, complete a task and add notes. Send an Idempotency-Key header with a create, and a repeated request within 24 hours makes no second record.

Get told when something happens

Set up webhooks so your system receives a signed notice when a company, contact, deal or ticket is created, a deal is won or lost, a quote is signed or a task is completed.

Always inside a role

Every key belongs to an integration: one connection with one role. An integration takes no seat. A key never sees or changes more than its role allows, and a field the role hides is left out of the answers.

Today the API cannot delete records or send email, quotes or ticket replies. Closing a ticket stays in Kamayu (the API refuses it). What a key changes is recorded in the audit log.

How to start

Only the workspace owner can turn the API on and make keys.

  1. 1The workspace is on the Pro plan.
  2. 2The owner opens Admin > API and turns on API access.
  3. 3The owner makes an integration: a name and a role.
  4. 4The owner makes a key for it, chooses what the key may do (read, write, webhooks, or any mix of them) and when it expires, and copies it. The key is shown once and nobody can look it up later.
  5. 5Your tool calls your workspace's own address with the key.

Every call goes to your workspace's address, with the key in an Authorization header:

curl https://your-workspace.kamayu.app/api/v1/me \
  -H "Authorization: Bearer YOUR_KEY"

The setup is described step by step in Kamayu's Help, inside your workspace.

How version 1 changes

Version 1 only grows

Inside version 1, resources, fields, filters, values and events are only ever added. Nothing is removed, renamed or changed in meaning. The only exception is a change the law or a security fix requires. Write your code to accept fields and values it does not know yet.

12 months' notice

If a newer version ever replaces version 1, version 1 keeps working for at least 12 months after the new one is published. Its answers say so from the day it is deprecated, and the workspace owner is told in Kamayu and by email.

Every change is dated

Every change to the API, additions included, is listed with its date in the changelog.

Limits

Each key and each workspace has its own calls a minute and a day, and writes have their own limit. The reference describes how they work, and your workspace's own limits are shown on Admin > API in Kamayu and in the answer to GET /me.

Read the details

API reference

Every resource, parameter, field and error, with examples. Any valid key can also download it as an OpenAPI document from your workspace.

Open the reference (English)

Changelog

Every change to the API with its date. The Terms of Service set out these promises in full.

Open the changelog (English)