Skip to main content

Action-based design

The Keen API is not a traditional REST API with separate URLs per resource. Instead, every request is a POST to a single URL. The action field in the JSON body determines the operation.

Authentication

The lead_external action is the only exception — it does not require an API key. Instead, it relies on a channel-level setting that enables public lead submission.

Request format

Every request must be POST with a Content-Type: application/json header. The body must include an action field and any additional fields required by that action.

Available actions

Channel access

Your API key is scoped to a single company. You can only interact with channels where your company is the creator, partner, referring company, or receiving company. If you attempt to access a channel your company is not part of, the API returns a 403 error.

Error responses

All errors return JSON with an error field: