Skip to content
Entayo CRM API

Records

Serverhttps://apac.zocton.com/entayo-crm/api

One record by its record id (entity_id) — read, change, delete, move through the pipeline.


List records of a type

GET
https://apac.zocton.com/entayo-crm/api
/entities
Bearer (entayo_…)

Records of one record type (or of one list — a list is a record type with is_list: true). Give entity_type_id or entity_type_slug.

List records of a type › query Parameters

entity_type_id
​integer
entity_type_slug
​string
search
​string
kanban_stage_id
​integer
sort
​string

created_at, updated_at, follow_up_date, last_activity_date or a field slug.

Default: created_at
order
​string · enum
Enum values:
asc
desc
Default: desc
page
​integer · min: 1
Default: 1
limit
​integer · min: 1 · max: 1000

Keep to 1000 or less.

Default: 50
filter
​string

An encoded filter — see Filters.

assigned
​string

Only contacts assigned to this team member id (me for yourself, in a team).

List records of a type › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

List records of a type › Responses

One page of records.

​Entity[]
total
​integer
page
​integer
limit
​integer
total_pages
​integer

Create a record

POST
https://apac.zocton.com/entayo-crm/api
/entities
Bearer (entayo_…)

Create a record of any type. For people and companies, Create a person or company is simpler and gives both ids.

Create a record › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Create a record › Request Body

entity_type_id
​integer · required
​object · required

field slug → value

kanban_stage_id
​integer

Starting stage; the first stage if left out.

Create a record › Responses

Created.

No data returned

Get a record

GET
https://apac.zocton.com/entayo-crm/api
/entities/{id}
Bearer (entayo_…)

Every field, its stage, follow-up, relationships and lists.

Get a record › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Get a record › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Get a record › Responses

The record.

id
​integer

Record id.

entity_type_id
​integer
​object

field slug → value

status
​object | null
follow_up
​object | null
last_activity_date
​string | null · date-time
created_at
​string · date-time
updated_at
​string · date-time

Update a record

PUT
https://apac.zocton.com/entayo-crm/api
/entities/{id}
Bearer (entayo_…)

Only what you send changes. follow_up_date takes a date or a phrase like in 5 days 5 PM or wed 7.30 pm; null clears it.

Update a record › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Update a record › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Update a record › Request Body

​object

field slug → new value

kanban_stage_id
​integer
follow_up_date
​string | null
follow_up_tz
​string

IANA time zone the follow-up phrase is read in, e.g. Europe/Berlin.

notes
​string

Update a record › Responses

Done.

success
​boolean

Delete a record

DELETE
https://apac.zocton.com/entayo-crm/api
/entities/{id}
Bearer (entayo_…)

Deletes the record with its activity and tasks — cannot be undone. With list_id it is only taken out of that list.

Delete a record › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Delete a record › query Parameters

list_id
​integer

Only remove it from this list.

Delete a record › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Delete a record › Responses

Deleted (or removed from the list).

No data returned

Move to a pipeline stage

PUT
https://apac.zocton.com/entayo-crm/api
/entities/{id}/status
Bearer (entayo_…)

Move to a pipeline stage › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Move to a pipeline stage › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Move to a pipeline stage › Request Body

kanban_stage_id
​integer · required

Move to a pipeline stage › Responses

Done.

success
​boolean

Set a record's map location

PUT
https://apac.zocton.com/entayo-crm/api
/entities/{id}/location
Bearer (entayo_…)

Set a record's map location › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Set a record's map location › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Set a record's map location › Request Body

lat
​number · required
lng
​number · required
city
​string
country
​string

Set a record's map location › Responses

Done.

success
​boolean

Records that need attention

GET
https://apac.zocton.com/entayo-crm/api
/entities/needs-attention
Bearer (entayo_…)

Overdue follow-ups and records gone quiet — the dashboard's "needs attention" list.

Records that need attention › query Parameters

limit
​integer

Records that need attention › Headers

X-Entayo-Project
​integer · min: 1

The project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.

Records that need attention › Responses

The records.

No data returned