Skip to main content
Every clientary.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 and all associated projects, invoices, estimates, and contacts [DESTRUCTIVE] 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

Contacts

create

contacts.create Create a contact Risk: write
Input Output

delete

contacts.delete Delete a contact [DESTRUCTIVE] Risk: destructive
Input Output

get

contacts.get Get a contact by ID Risk: read
Input Output

list

contacts.list List contacts Risk: read
Input Output

listForClient

contacts.listForClient List contacts belonging to a client Risk: read
Input Output

update

contacts.update Update a contact Risk: write
Input Output

Estimates

create

estimates.create Create an estimate Risk: write
Input
Output

delete

estimates.delete Delete an estimate [DESTRUCTIVE] Risk: destructive
Input Output

get

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

list

estimates.list List estimates Risk: read
Input Output

listForClient

estimates.listForClient List estimates belonging to a client Risk: read
Input Output

listForProject

estimates.listForProject List estimates belonging to a project Risk: read
Input Output

send

estimates.send Send an estimate via email Risk: write
Input Output

update

estimates.update Update an estimate Risk: write
Input
Output

Expenses

create

expenses.create Create an expense Risk: write
Input Output

delete

expenses.delete Delete an expense [DESTRUCTIVE] Risk: destructive
Input Output

get

expenses.get Get an expense by ID Risk: read
Input Output

list

expenses.list List expenses Risk: read
Input Output

listForClient

expenses.listForClient List expenses belonging to a client Risk: read
Input Output

listForProject

expenses.listForProject List expenses belonging to a project Risk: read
Input Output

update

expenses.update Update an expense Risk: write
Input Output

Hours

create

hours.create Log hours to a project Risk: write
Input Output

delete

hours.delete Delete an hours entry [DESTRUCTIVE] Risk: destructive
Input Output

get

hours.get Get an hours entry by ID Risk: read
Input Output

listForProject

hours.listForProject List hours logged against a project Risk: read
Input Output

update

hours.update Update an hours entry Risk: write
Input Output

Invoices

create

invoices.create Create an invoice Risk: write
Input
Output

delete

invoices.delete Delete an invoice [DESTRUCTIVE] 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

listForClient

invoices.listForClient List invoices belonging to a client Risk: read
Input Output

listForProject

invoices.listForProject List invoices belonging to a project Risk: read
Input Output

listForRecurring

invoices.listForRecurring List invoices generated by a recurring schedule Risk: read
Input Output

send

invoices.send Send an invoice via email Risk: write
Input Output

update

invoices.update Update an invoice Risk: write
Input
Output

Leads

create

leads.create Create a lead Risk: write
Input Output

delete

leads.delete Delete a lead [DESTRUCTIVE] Risk: destructive
Input Output

get

leads.get Get a lead by ID Risk: read
Input Output

list

leads.list List leads Risk: read
Input Output

update

leads.update Update a lead Risk: write
Input Output

Payment Profiles

create

paymentProfiles.create Create a payment profile for a client Risk: write
Input Output

delete

paymentProfiles.delete Delete a payment profile [DESTRUCTIVE] Risk: destructive
Input Output

listForClient

paymentProfiles.listForClient List payment profiles for a client Risk: read
Input Output

Payments

create

payments.create Record a payment Risk: write
Input Output

delete

payments.delete Delete (void) a payment [DESTRUCTIVE] Risk: destructive
Input Output

list

payments.list List payments Risk: read
Input Output

Projects

create

projects.create Create a project Risk: write
Input Output

delete

projects.delete Delete a project [DESTRUCTIVE] 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

listForClient

projects.listForClient List projects belonging to a client Risk: read
Input Output

update

projects.update Update a project Risk: write
Input Output

Recurring

create

recurring.create Create a recurring schedule Risk: write
Input
Output

delete

recurring.delete Delete a recurring schedule [DESTRUCTIVE] Risk: destructive
Input Output

get

recurring.get Get a recurring schedule by ID Risk: read
Input Output

list

recurring.list List recurring schedules Risk: read
Input Output

update

recurring.update Update a recurring schedule Risk: write
Input
Output

Staff

get

staff.get Get a staff member by ID Risk: read
Input Output

list

staff.list List staff members Risk: read
Input: empty object Output

Tasks

create

tasks.create Create a task Risk: write
Input Output

delete

tasks.delete Delete a task [DESTRUCTIVE] 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

listForProject

tasks.listForProject List tasks belonging to a project Risk: read
Input Output

update

tasks.update Update a task Risk: write
Input Output