Skip to content
Entayo CRM API

Files

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

A record's files

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

A record's files › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

A record's files › Headers

X-Entayo-Project
​integer · min: 1

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

A record's files › Responses

The files.

No data returned

Upload a file to a record

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

Upload a file to a record › path Parameters

id
​integer · min: 1 · required

The record id (entity_id).

Upload a file to 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.

Upload a file to a record › Request Body

file
​string · binary · required

Upload a file to a record › Responses

The stored file.

No data returned

Download a file

GET
https://apac.zocton.com/entayo-crm/api
/uploads/{entityId}/{filename}
Bearer (entayo_…)

Download a file › path Parameters

entityId
​integer · required
filename
​string · required

Download a file › Headers

X-Entayo-Project
​integer · min: 1

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

Download a file › Responses

The file.

string · binary

Delete a file

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

Delete a file › path Parameters

fileId
​integer · required

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

Done.

success
​boolean