Sign in

API reference

Every endpoint, what it needs and what it answers, with samples in five languages and a Try it button.

Base URL https://api.zilomail.in

The same in machine-readable form: openapi.json (OpenAPI 3.1). Generate a client in any language with openapi-generator, Kiota or NSwag.

Basics#

Who the token acts as.

GETWho am I/v1/me

Mail#

Mailboxes, folders, messages, drafts, sending and the changes feed.

GETList mailboxes/v1/mail/mailboxes
GETList folders/v1/mail/folders
POSTCreate a folder/v1/mail/folders
PATCHRename a folder/v1/mail/folders/{id}
DELETEDelete a folder/v1/mail/folders/{id}
GETList messages/v1/mail/messages
GETGet a message/v1/mail/messages/{id}
PATCHMark or move a message/v1/mail/messages/{id}
DELETEDelete a message/v1/mail/messages/{id}
GETDownload an attachment/v1/mail/messages/{id}/attachments/{attachmentId}
POSTSend a message/v1/mail/send
GETDelivery status/v1/mail/send/{id}
GETList drafts/v1/mail/drafts
POSTSave a draft/v1/mail/drafts
PATCHChange a draft/v1/mail/drafts/{id}
DELETEDiscard a draft/v1/mail/drafts/{id}
POSTSend a draft/v1/mail/drafts/{id}/send
GETWhat changed/v1/mail/changes

Calendar#

Events, invitations and answers.

GETList events/v1/calendar/events
GETGet an event/v1/calendar/events/{id}
POSTAdd an event/v1/calendar/events
PATCHChange an event/v1/calendar/events/{id}
DELETERemove an event/v1/calendar/events/{id}

Contacts#

The address book phones sync too.

GETList contacts/v1/contacts
GETGet a contact/v1/contacts/{id}
POSTAdd a contact/v1/contacts
PATCHChange a contact/v1/contacts/{id}
DELETERemove a contact/v1/contacts/{id}

ZiloDrive#

Files and folders, uploads and downloads.

GETList files and folders/v1/drive/items
GETGet a file or folder/v1/drive/items/{id}
GETDownload a file/v1/drive/items/{id}/content
POSTUpload a file/v1/drive/files
POSTMake a folder/v1/drive/folders
PATCHRename, move or star/v1/drive/items/{id}
DELETEMove to Trash/v1/drive/items/{id}

People#

The organisation's directory.

GETList people/v1/people
GETGet a person/v1/people/{id}

ZiloInvoice#

Customers, products, invoices and receipts.

GETList customers/v1/invoice/customers
GETGet a customer/v1/invoice/customers/{id}
POSTAdd a customer/v1/invoice/customers
PATCHChange a customer/v1/invoice/customers/{id}
GETList products and services/v1/invoice/products
GETGet a product/v1/invoice/products/{id}
POSTAdd a product or service/v1/invoice/products
PATCHChange a product/v1/invoice/products/{id}
GETList sales invoices/v1/invoice/invoices
GETGet an invoice/v1/invoice/invoices/{id}
POSTMake a sales invoice/v1/invoice/invoices
GETList receipts/v1/invoice/receipts
POSTRecord a receipt/v1/invoice/receipts
GETUnits/v1/invoice/units
GETHSN/SAC codes/v1/invoice/tax-codes
GETCash and bank accounts/v1/invoice/accounts
GETBranches/v1/invoice/branches

ZiloInventory#

Warehouses and stock on hand.

GETWarehouses/v1/inventory/warehouses
GETStock on hand/v1/inventory/stock

ZiloHR#

Employees, attendance and leave.

GETList employees/v1/hr/employees
GETGet an employee/v1/hr/employees/{id}
GETAttendance/v1/hr/attendance
POSTCheck in/v1/hr/attendance/check-in
POSTCheck out/v1/hr/attendance/check-out
GETLeave types/v1/hr/leave/types
GETLeave requests/v1/hr/leave
POSTApply for leave/v1/hr/leave

ZiloCRM#

Leads, activities and deals.

GETList leads/v1/crm/leads
GETGet a lead/v1/crm/leads/{id}
POSTAdd a lead/v1/crm/leads
PATCHChange a lead/v1/crm/leads/{id}
POSTLog an activity/v1/crm/leads/{id}/activities
GETList deals/v1/crm/deals
GETGet a deal/v1/crm/deals/{id}
POSTAdd a deal/v1/crm/deals
PATCHChange a deal/v1/crm/deals/{id}

ZiloProjects#

Projects and tasks.

GETList projects/v1/projects/projects
GETList tasks/v1/projects/tasks
GETGet a task/v1/projects/tasks/{id}
POSTAdd a task/v1/projects/tasks
PATCHChange a task/v1/projects/tasks/{id}

ZiloDesk#

Tickets and replies.

GETList tickets/v1/desk/tickets
GETGet a ticket/v1/desk/tickets/{id}
POSTOpen a ticket/v1/desk/tickets
POSTReply/v1/desk/tickets/{id}/replies
PATCHChange a ticket/v1/desk/tickets/{id}

Approvals#

Changes waiting for an approver.

GETGet an approval/v1/approvals/{id}