Skip to main content
Every harvest.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Clients

create

clients.create Create a client Risk: write
Input Output

delete

clients.delete Delete a client Risk: destructive
Input Output

get

clients.get Get a client by id Risk: read
Input Output

list

clients.list List clients Risk: read
Input Output

update

clients.update Update a client Risk: write
Input Output

Company

get

company.get Get company settings Risk: read
Input: empty object Output

update

company.update Update the writable company settings Risk: write
Input Output

Contacts

create

contacts.create Create a client contact Risk: write
Input Output

delete

contacts.delete Delete a client contact Risk: destructive
Input Output

list

contacts.list List client contacts Risk: read
Input Output

update

contacts.update Update a client contact Risk: write
Input Output

Estimates

create

estimates.create Create a draft estimate Risk: write
Input
Output

createItemCategory

estimates.createItemCategory Create an estimate item category Risk: write
Input Output

createMessage

estimates.createMessage Create an estimate message; event_type “send” emails the client Risk: write
Input
Output

delete

estimates.delete Delete an estimate Risk: destructive
Input Output

deleteMessage

estimates.deleteMessage Delete an estimate message Risk: destructive
Input Output

get

estimates.get Get an estimate by id Risk: read
Input Output

listMessages

estimates.listMessages List the messages recorded against an estimate Risk: read
Input Output

update

estimates.update Update an estimate Risk: write
Input
Output

updateItemCategory

estimates.updateItemCategory Rename an estimate item category Risk: write
Input Output

Expenses

create

expenses.create Record an expense against a project Risk: write
Input Output

listCategories

expenses.listCategories List expense categories Risk: read
Input Output

update

expenses.update Update an expense Risk: write
Input Output

Invoices

create

invoices.create Create a draft invoice Risk: write
Input
Output

createItemCategory

invoices.createItemCategory Create an invoice item category Risk: write
Input Output

createMessage

invoices.createMessage Create an invoice message; event_type “send” emails the client Risk: write
Input
Output

createPayment

invoices.createPayment Record a payment against an invoice Risk: write
Input Output

delete

invoices.delete Delete an invoice Risk: destructive
Input Output

deleteItemCategory

invoices.deleteItemCategory Delete an unused invoice item category Risk: destructive
Input Output

deleteMessage

invoices.deleteMessage Delete an invoice message Risk: destructive
Input Output

deletePayment

invoices.deletePayment Delete a recorded payment Risk: destructive
Input Output

get

invoices.get Get an invoice by id Risk: read
Input Output

list

invoices.list List invoices Risk: read
Input Output

listItemCategories

invoices.listItemCategories List invoice item categories Risk: read
Input Output

listMessages

invoices.listMessages List the messages recorded against an invoice Risk: read
Input Output

listPayments

invoices.listPayments List payments recorded against an invoice Risk: read
Input Output

update

invoices.update Update an invoice Risk: write
Input
Output

Projects

create

projects.create Create a project Risk: write
Input Output

delete

projects.delete Delete a project and its time entries and expenses Risk: destructive
Input Output

get

projects.get Get a project by id Risk: read
Input Output

list

projects.list List projects Risk: read
Input Output

update

projects.update Update a project Risk: write
Input Output

Tasks

create

tasks.create Create a task Risk: write
Input Output

delete

tasks.delete Delete a task Risk: destructive
Input Output

get

tasks.get Get a task by id Risk: read
Input Output

list

tasks.list List tasks Risk: read
Input Output

update

tasks.update Update a task Risk: write
Input Output

Time Entries

create

timeEntries.create Log time against a project and task Risk: write
Input
Output

delete

timeEntries.delete Delete a time entry Risk: destructive
Input Output

get

timeEntries.get Get a time entry by id Risk: read
Input Output

list

timeEntries.list List time entries Risk: read
Input Output

update

timeEntries.update Update a time entry Risk: write
Input
Output

Users

create

users.create Create a team member and email them an invitation Risk: write
Input Output

delete

users.delete Delete a team member Risk: destructive
Input Output

get

users.get Get a team member by id Risk: read
Input Output

list

users.list List team members Risk: read
Input Output

update

users.update Update a team member Risk: write
Input Output