Skip to content
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.

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