Before you go, take 40% off annual plans

Leave your email and get 40% off any Zocton plan paid annually, for your first 2 years.

Applies to annual billing only. We only use your email to honour this discount.

Skip to content
Sign in
Entayo CRM guides

Projects

An account can hold several projects — separate CRMs with their own people, lists and settings. An API call works in your Default project unless it names another.

List your projects

TerminalCode
curl -s $CRM/projects -H "Authorization: Bearer $KEY"

Name a project on a call

Send its id in the X-Entayo-Project header:

TerminalCode
curl -s "$CRM/master/people?limit=10" \ -H "Authorization: Bearer $KEY" \ -H "X-Entayo-Project: 7"
  • Not a number → 400 bad_project.
  • Not one of your projects → 404 project_not_found.
  • A Zocton key made for chosen projects: the header is needed on every call (400 project_required without it), and a project the key was not given is 403 project_not_allowed. GET /key-projects lists the projects the key may use.

Empty answers?

Without the header every call works in Default. If your people are in another project, Default answers with an empty list — add X-Entayo-Project.

In the API reference, fill the X-Entayo-Project box on the endpoint (and Authorize with your key) before Send.

A call is never quietly sent to Default when the project is wrong, so a typo cannot write into the wrong CRM.

Last modified on