Skip to content
Entayo CRM API

Lists

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

People and company lists (and segments — a list with a parent_id).


List lists

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

List lists › query Parameters

kind
​string · enum
Enum values:
person
company

List lists › 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 lists › Responses

The lists with member_count.

No data returned

Create a list

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

Optionally filled straight away with master_ids (up to 50,000). With parent_id it is a segment of that list and takes its kind.

Create a list › 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 list › Request Body

name
​string · maxLength: 255 · required
kind
​string · enum
Enum values:
person
company
master_ids
​integer[] · maxItems: 50000
description
​string
color
​string
icon
​string
parent_id
​integer

Create a list › Responses

The list with member_count.

No data returned

Get a list

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

Get a list › path Parameters

id
​integer · min: 1 · required

Get a list › 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 list › Responses

The list.

No data returned

Update a list

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

Update a list › path Parameters

id
​integer · min: 1 · required

Update a list › 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 list › Request Body

name
​string
description
​string
color
​string
icon
​string

Update a list › Responses

The list.

No data returned

Delete a list

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

The list goes; the people and companies in it stay.

Delete a list › path Parameters

id
​integer · min: 1 · required

Delete a list › 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 list › Responses

Done.

success
​boolean

List members

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

List members › path Parameters

id
​integer · min: 1 · required

List members › 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 members › Responses

The master ids in the list.

No data returned

Add to a list

POST
https://apac.zocton.com/entayo-crm/api
/lists/{id}/members
Bearer (entayo_…)

Add to a list › path Parameters

id
​integer · min: 1 · required

Add to a list › Headers

X-Entayo-Project
​integer · min: 1

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

Add to a list › Request Body

master_ids
​integer[] · required

Add to a list › Responses

Added. Campaigns of the list pick them up.

No data returned

Remove from a list

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

Remove from a list › path Parameters

id
​integer · min: 1 · required

Remove from a list › Headers

X-Entayo-Project
​integer · min: 1

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

Remove from a list › Request Body

master_ids
​integer[]
entity_ids
​integer[]

Remove from a list › Responses

Removed.

No data returned

Move a list to another project

POST
https://apac.zocton.com/entayo-crm/api
/lists/{id}/move
Bearer (entayo_…)

Move a list to another project › path Parameters

id
​integer · min: 1 · required

Move a list to another project › 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 a list to another project › Request Body

project_id
​integer · required

Move a list to another project › Responses

Moved.

No data returned

Who a list is shared with

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

Who a list is shared with › path Parameters

id
​integer · min: 1 · required

Who a list is shared with › Headers

X-Entayo-Project
​integer · min: 1

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

Who a list is shared with › Responses

{ people, segment }.

No data returned

Share a list with a team member

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

Share a list with a team member › path Parameters

id
​integer · min: 1 · required

Share a list with a team member › Headers

X-Entayo-Project
​integer · min: 1

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

Share a list with a team member › Request Body

sub
​string · required

The team member's id (List team people).

level
​string · enum · required
Enum values:
none
view
edit
manage

Share a list with a team member › Responses

{ person }.

No data returned