Bonsai
App · 26 actions
Manage your Bonsai clients, deals, projects, tasks, time and invoices.
Actions
| Action | What it does |
|---|---|
| Comment on task | Post a comment on a task, which notifies the people following it. |
| Create company | Add a client company to your Bonsai CRM. |
| Create contact | Add a person to your Bonsai CRM, linked to a company if you choose one. |
| Create deal | Add a deal with a client to your sales pipeline. |
| Create project | Start a project for a client company. |
| Create task | Add a task, on a project or deal or on its own. |
| Delete task | Delete a task. |
| Get company | Get one company by its ID. |
| Get contact | Get one contact by their ID. |
| Get task | Get one task by its ID, with its description. |
| List companies | List the client companies in your CRM, or search them by name. |
| List contacts | List the people in your CRM, or search them by name, email or company. |
| List deals | List the deals in your pipeline, or search them by title, owner or stage. |
| List invoices | List your invoices, newest first, with their line items. |
| List pipeline stages | List the stages of your deal and project boards, such as Won or Lost. |
| List projects | List your projects, or search them by title, stage or status. |
| List task statuses | List the columns of your task board, such as To Do, In Progress and Done. |
| List tasks | List tasks, filtered by project, assignee, status, priority or due date. |
| List team members | List the people in your Bonsai account, with the IDs used to assign work. |
| List time entries | List logged time, newest first, filtered by date, person, project or client. |
| Log time | Log time worked, on a project or task. |
| Update company | Change a company's details. |
| Update deal | Change a deal, or move it to another stage to mark it won or lost. |
| Update project | Change a project's title, dates, billing or board stage. |
| Update task | Change a task, or move it to another column to complete it. |
| Update time entry | Change a time entry, or mark it billed. |
Comment on task
Post a comment on a task, which notifies the people following it.
Inputs
- Task
task_idtextRequired - The ID of the task to comment on.
- Comment
body_texttextRequired - What the comment says.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"author_member_id": 1,
"body_plain_text": "Looks good to me.",
"commentable_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"commentable_type": "Task",
"created_at": "2026-01-15T10:30:00Z",
"id": 42,
"kind": "single"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Create company
Add a client company to your Bonsai CRM.
Inputs
- Name
nametextRequired - The company's name.
- Description
descriptiontext - Notes about the company.
- Industry
industrytext - The industry the company works in.One of:
arts_and_entertainment(Arts and entertainment),business_and_consumer_services(Business and consumer services),community_and_society(Community and society),computers_electronics_and_technology(Computers, electronics and technology),e_commerce_and_shopping(E-commerce and shopping),finance,food_and_drink(Food and drink),gambling,games,health, and 14 more. - Company size
company_sizetext - How many people work there.One of:
size_1_10(1 to 10),size_11_50(11 to 50),size_51_200(51 to 200),size_201_1000(201 to 1,000),size_1000_plus(More than 1,000). - Source
sourcetext - How you found this client.One of:
organic_search(Organic search),paid_search(Paid search),email_marketing(Email marketing),organic_social(Organic social),referrals,other_campaigns(Other campaigns),direct_traffic(Direct traffic),offline_sources(Offline sources),paid_social(Paid social),ai_referrals(AI referrals). - Main contact
default_contact_idnumber - The contact who is this company's main point of contact.
- Domains
domainslist - Website domains that belong to the company, such as acme.com.
- LinkedIn
linkedintext - Link to the company's LinkedIn page.
- Instagram
instagramtext - Link to the company's Instagram profile.
- X
twittertext - Link to the company's X profile.
- Facebook
facebooktext - Link to the company's Facebook page.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"avatar_url": "https://example.com/record/1",
"company_size": "size_11_50",
"created_at": "2026-01-15T10:30:00Z",
"default_contact_id": 1,
"description": "Long-standing client.",
"domains": [
"Example"
],
"facebook": "https://www.facebook.com/acme",
"id": 42,
"industry": "finance",
"instagram": "https://www.instagram.com/acme",
"linkedin": "https://www.linkedin.com/company/acme",
"name": "Acme Corp",
"source": "referrals",
"twitter": "https://x.com/acme",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Create contact
Add a person to your Bonsai CRM, linked to a company if you choose one.
Inputs
- Name
nametextRequired - The person's full name.
- Email
emailtextRequired - Their email address. It must not belong to another contact.
- Job title
job_titletext - Their job title.
- Phone number
phone_numbertext - Their phone number.
- Company
company_idnumber - The company they work at.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"company_ids": [
1
],
"created_at": "2026-01-15T10:30:00Z",
"default_company_id": 1,
"email": "jordan@acme.com",
"id": 42,
"job_title": "Operations lead",
"name": "Acme Corp",
"phone_number": "+1 555 0100",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Create deal
Add a deal with a client to your sales pipeline.
Inputs
- Title
titletextRequired - What the deal is called.
- Company
company_idnumberRequired - The client company the deal is with.
- Contact
contact_idnumber - A contact at that company to attach. Bonsai uses the company's main contact when left empty.
- Owner
assignee_member_idnumber - The team member who owns the deal. Leave empty for an unassigned deal.
- Stage
board_group_idtext - The pipeline stage to put the deal in. Bonsai uses the first stage when left empty.
- Value
deal_valuetext - What the deal is worth, such as 2500.00.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_member_id": 1,
"assignee_member_name": "Example",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"close_date": "2026-01-15",
"company_name": "Example",
"contact_ids": [
1
],
"currency": "USD",
"deal_number": "D-918",
"deal_value": "2500.00",
"id": 42,
"probability": 50,
"status": "In Progress",
"title": "Website redesign",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Create project
Start a project for a client company.
Inputs
- Title
titletextRequired - What the project is called.
- Company
company_idnumberRequired - The client company the project is for.
- Billing
billing_typetextRequired - How the project bills the client.One of:
time(Hourly),fixed_fee(Fixed fee),retainer,not_billable(Not billable). - Fee
billing_feetext - The agreed fee, such as 1500.00. Needed for a fixed fee or retainer; leave empty otherwise.
- Retainer cycle
billing_cycletext - How often a retainer bills. Needed for a retainer only.One of:
weekly,monthly,quarterly,biannually(Twice a year),yearly. - Currency
currencytext - The three-letter currency code the project bills in, such as USD. Bonsai uses the client's currency when left empty.
- Start date
start_datedate - The day work starts. Bonsai uses today when left empty.
- Finish date
finish_datedate - The day work ends.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"billing_cycle": "monthly",
"billing_fee": "1500.00",
"billing_type": "time",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"budget": {
"amount": "10.0",
"calculation_base": "billable_time",
"calculation_mode": "fee",
"current_cycle": {
"closing_date": "2026-01-15",
"consumed_amount": "300.00",
"consumed_percentage": 25,
"opening_date": "2026-01-15"
},
"expenses_calculation_base": "all",
"id": 42,
"over_budget_notification": "enabled",
"over_budget_notification_threshold": "80.0",
"reset_frequency": "never"
},
"company_id": 1,
"company_name": "Example",
"currency": "USD",
"finish_date": "2026-01-15",
"id": 42,
"number": "T-12",
"public_url_token": "x4n2",
"sequence": 3,
"start_date": "2026-01-15",
"title": "Website redesign",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Create task
Add a task, on a project or deal or on its own.
Inputs
- Title
titletextRequired - What the task is called.
- Project
project_idnumber - The project the task belongs to.
- Deal
deal_idnumber - The deal the task belongs to.
- Parent task
parent_task_uuidtext - The task to put this one under as a subtask. Leave the project empty when you set this.
- Assignee
assignee_member_idnumber - The team member the task is for.
- Priority
prioritytext - How urgent the task is.One of:
urgent,high,medium,low. - Start date
start_datedate - The day work on the task starts.
- Due date
due_datedate - The day the task is due.
- Description
descriptiontext - What the task involves. Simple HTML such as <p> and <strong> is kept.
- Estimate in minutes
time_estimate_in_minutesnumber - How long the task should take, in minutes.At least 1.
- Status
task_status_idtext - The board column to put the task in. Bonsai uses To Do when left empty.
- Billable
billabletrue/false - Whether time tracked on the task can be billed.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_id": 1,
"assignee_member_id": 1,
"assignee_member_name": "Example",
"billable": true,
"company_tags": [
{
"id": 42,
"name": "Acme Corp"
}
],
"completed_at": "2026-01-15T10:30:00Z",
"creator_member_id": 1,
"deal_id": 1,
"description_html": "Example",
"description_plain_text": "Example",
"due_date": "2026-01-15",
"number": "T-12",
"parent_task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"priority": "high",
"project_id": 1,
"project_title": "Example",
"start_date": "2026-01-15",
"task_status": {
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
},
"time_estimate_in_minutes": 90,
"title": "Website redesign",
"url": "https://example.com/record/1",
"uuid": "0b6d9f3e-2c41-4a8e-9f0d-7e5a1c2b3d4e"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Delete task
Delete a task. Bonsai sends back how it looked before it was deleted.
Inputs
- Task
uuidtextRequired - The ID of the task to delete.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_id": 1,
"assignee_member_id": 1,
"assignee_member_name": "Example",
"billable": true,
"company_tags": [
{
"id": 42,
"name": "Acme Corp"
}
],
"completed_at": "2026-01-15T10:30:00Z",
"creator_member_id": 1,
"deal_id": 1,
"description_html": "Example",
"description_plain_text": "Example",
"due_date": "2026-01-15",
"number": "T-12",
"parent_task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"priority": "high",
"project_id": 1,
"project_title": "Example",
"start_date": "2026-01-15",
"task_status": {
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
},
"time_estimate_in_minutes": 90,
"title": "Website redesign",
"url": "https://example.com/record/1",
"uuid": "0b6d9f3e-2c41-4a8e-9f0d-7e5a1c2b3d4e"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Get company
Get one company by its ID.
Inputs
- Company
idnumberRequired - The company to get.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"avatar_url": "https://example.com/record/1",
"company_size": "size_11_50",
"created_at": "2026-01-15T10:30:00Z",
"default_contact_id": 1,
"description": "Long-standing client.",
"domains": [
"Example"
],
"facebook": "https://www.facebook.com/acme",
"id": 42,
"industry": "finance",
"instagram": "https://www.instagram.com/acme",
"linkedin": "https://www.linkedin.com/company/acme",
"name": "Acme Corp",
"source": "referrals",
"twitter": "https://x.com/acme",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Get contact
Get one contact by their ID.
Inputs
- Contact
idnumberRequired - The contact to get.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"company_ids": [
1
],
"created_at": "2026-01-15T10:30:00Z",
"default_company_id": 1,
"email": "jordan@acme.com",
"id": 42,
"job_title": "Operations lead",
"name": "Acme Corp",
"phone_number": "+1 555 0100",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Get task
Get one task by its ID, with its description.
Inputs
- Task
uuidtextRequired - The task's ID.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_id": 1,
"assignee_member_id": 1,
"assignee_member_name": "Example",
"billable": true,
"company_tags": [
{
"id": 42,
"name": "Acme Corp"
}
],
"completed_at": "2026-01-15T10:30:00Z",
"creator_member_id": 1,
"deal_id": 1,
"description_html": "Example",
"description_plain_text": "Example",
"due_date": "2026-01-15",
"number": "T-12",
"parent_task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"priority": "high",
"project_id": 1,
"project_title": "Example",
"start_date": "2026-01-15",
"task_status": {
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
},
"time_estimate_in_minutes": 90,
"title": "Website redesign",
"url": "https://example.com/record/1",
"uuid": "0b6d9f3e-2c41-4a8e-9f0d-7e5a1c2b3d4e"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List companies
List the client companies in your CRM, or search them by name.
Inputs
- Name
nametext - Only companies whose name has a word starting with this text.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"archived_at": "2026-01-15T10:30:00Z",
"avatar_url": "https://example.com/record/1",
"company_size": "size_11_50",
"created_at": "2026-01-15T10:30:00Z",
"default_contact_id": 1,
"description": "Long-standing client.",
"domains": [
"Example"
],
"facebook": "https://www.facebook.com/acme",
"id": 42,
"industry": "finance",
"instagram": "https://www.instagram.com/acme",
"linkedin": "https://www.linkedin.com/company/acme",
"name": "Acme Corp",
"source": "referrals",
"twitter": "https://x.com/acme",
"url": "https://example.com/record/1"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List contacts
List the people in your CRM, or search them by name, email or company.
Inputs
- Name
nametext - Only contacts whose name contains this text.
- Email
emailtext - Only contacts whose email address contains this text.
- Companies
company_idlist - Only contacts linked to these companies.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"archived_at": "2026-01-15T10:30:00Z",
"company_ids": [
1
],
"created_at": "2026-01-15T10:30:00Z",
"default_company_id": 1,
"email": "jordan@acme.com",
"id": 42,
"job_title": "Operations lead",
"name": "Acme Corp",
"phone_number": "+1 555 0100",
"url": "https://example.com/record/1"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List deals
List the deals in your pipeline, or search them by title, owner or stage.
Inputs
- Title
titletext - Only deals whose title has a word starting with this text.
- Deal number
deal_numbertext - Only deals whose reference starts with this text.
- Owners
assignee_member_idlist - Only deals owned by these team members.
- Stages
board_group_idlist - Only deals in these pipeline stages.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"archived_at": "2026-01-15T10:30:00Z",
"assignee_member_id": 1,
"assignee_member_name": "Example",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"close_date": "2026-01-15",
"company_name": "Example",
"contact_ids": [
1
],
"currency": "USD",
"deal_number": "D-918",
"deal_value": "2500.00",
"id": 42,
"probability": 50,
"status": "In Progress",
"title": "Website redesign",
"url": "https://example.com/record/1"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List invoices
List your invoices, newest first, with their line items.
Inputs
- Invoice numbers
invoice_numberlist - Only invoices with these exact numbers.
- Projects
project_idlist - Only invoices for these projects.
- Companies
company_idlist - Only invoices for these client companies.
- Contacts
contact_idlist - Only invoices addressed to these contacts.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"client_email": "alex@example.com",
"client_name": "Example",
"company_id": 1,
"contact_id": 1,
"created_at": "2026-01-15T10:30:00Z",
"currency": "USD",
"discount_amount": "0.00",
"due_date": "2026-01-15",
"due_date_option": "after_x_days",
"id": 42,
"invoice_items": [
{
"amount": "10.0",
"description": "Long-standing client.",
"id": 42,
"name": "Acme Corp",
"rate": "120.00",
"total": "1200.00",
"unit_type": "hours"
}
],
"invoice_number": "INV-1042",
"issued_date": "2026-01-15",
"kind": "single",
"project_id": 1,
"public_url_token": "x4n2",
"recurrence_active": true,
"repeat_finish_date": "2026-01-15",
"repeat_interval": "monthly",
"sent_date": "2026-01-15",
"series_id": 1,
"status": "In Progress",
"subtotal": "1200.00",
"tax_amount": "0.00",
"title": "Website redesign",
"total_amount": "1200.00",
"url": "https://example.com/record/1"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List pipeline stages
List the stages of your deal and project boards, such as Won or Lost.
Inputs
- Name
nametext - Only stages whose name contains this text.
- Board
resource_typetext - Which board's stages to list. Leave empty for both.One of:
Deal(Deals),Project(Projects). - Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"color": "#3b82f6",
"deal_probability": "50.0",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"name": "Acme Corp",
"position": 1,
"resource_type": "Deal",
"state": "active"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List projects
List your projects, or search them by title, stage or status.
Inputs
- Title
titletext - Only projects whose title has a word starting with this text.
- Status
statustext - Which projects to list. Bonsai lists active ones when left empty.One of:
active,completed,archived,not_archived(Not archived),all. - Stages
board_group_idlist - Only projects in these board stages.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"billing_cycle": "monthly",
"billing_fee": "1500.00",
"billing_type": "time",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"budget": {
"amount": "10.0",
"calculation_base": "billable_time",
"calculation_mode": "fee",
"current_cycle": {
"closing_date": "2026-01-15",
"consumed_amount": "300.00",
"consumed_percentage": 25,
"opening_date": "2026-01-15"
},
"expenses_calculation_base": "all",
"id": 42,
"over_budget_notification": "enabled",
"over_budget_notification_threshold": "80.0",
"reset_frequency": "never"
},
"company_id": 1,
"company_name": "Example",
"currency": "USD",
"finish_date": "2026-01-15",
"id": 42,
"number": "T-12",
"public_url_token": "x4n2",
"sequence": 3,
"start_date": "2026-01-15",
"title": "Website redesign",
"url": "https://example.com/record/1"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List task statuses
List the columns of your task board, such as To Do, In Progress and Done.
Inputs
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List tasks
List tasks, filtered by project, assignee, status, priority or due date.
Inputs
- Title
titletext - Only tasks whose title contains this text.
- Projects
project_idlist - Only tasks on these projects.
- Deals
deal_idlist - Only tasks on these deals.
- Statuses
task_status_idlist - Only tasks in these board columns, whether active, completed or archived.
- Priorities
prioritylist - Only tasks with these priorities.One or more of:
urgent,high,medium,low. - Show
scopetext - Which tasks to list. Bonsai lists active ones when left empty.One of:
active,completed,archived,all,upcoming_and_overdue(Upcoming and overdue),unplanned(Without dates),planned(With dates),my_tasks(Mine). - Due
duetext - Only tasks due in this window. Don't combine it with the due dates.One of:
today,overdue,today_or_overdue(Today or overdue),this_week(This week),this_month(This month),upcoming. - Due on or after
due_fromdate - Only tasks due on or after this day.
- Due on or before
due_todate - Only tasks due on or before this day.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"archived_at": "2026-01-15T10:30:00Z",
"assignee_id": 1,
"assignee_member_id": 1,
"assignee_member_name": "Example",
"billable": true,
"company_tags": [
{
"id": 42,
"name": "Acme Corp"
}
],
"completed_at": "2026-01-15T10:30:00Z",
"creator_member_id": 1,
"deal_id": 1,
"due_date": "2026-01-15",
"number": "T-12",
"parent_task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"priority": "high",
"project_id": 1,
"project_title": "Example",
"start_date": "2026-01-15",
"task_status": {
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
},
"time_estimate_in_minutes": 90,
"title": "Website redesign",
"url": "https://example.com/record/1",
"uuid": "0b6d9f3e-2c41-4a8e-9f0d-7e5a1c2b3d4e"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List team members
List the people in your Bonsai account, with the IDs used to assign work.
Inputs
- Name
nametext - Only members whose name contains this text.
- Projects
project_idlist - Only members assigned to these projects.
- Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"company_member_id": 7,
"confirmed_at": "2026-01-15T10:30:00Z",
"deactivated_at": "2026-01-15T10:30:00Z",
"declined_at": "2026-01-15T10:30:00Z",
"email": "jordan@acme.com",
"name": "Acme Corp",
"permission_profile": "Owner",
"role": "Designer",
"user_id": 15
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}List time entries
List logged time, newest first, filtered by date, person, project or client.
Inputs
- From
date_fromdate - Only time logged on or after this day.
- To
date_todate - Only time logged on or before this day.
- Team members
owner_member_idlist - Only time logged for these team members.
- Projects
project_idlist - Only time logged on these projects.
- Companies
company_idlist - Only time logged on these clients' projects.
- Billing status
billing_statuslist - Only entries in these billing states. Needs permission to see billing.One or more of:
billed,unbilled(Not billed yet),non_billable(Not billable). - Page
page_numbernumber - Which page of results to get, starting at 1.At least 1.
- Page size
page_sizenumber - How many records to get per page, up to 100. Bonsai sends 25 when left empty.From 1 to 100.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": [
{
"billable_amount": "120.00",
"billing_status": "unbilled",
"created_at": "2026-01-15T10:30:00Z",
"currency": "USD",
"date": "2026-01-15",
"formatted_time": "01:00:00",
"key": "te_8f2k1m",
"non_billable": true,
"notes": "Design review",
"owner_member_id": 1,
"project_id": 1,
"rate": "120.00",
"seconds": 3600,
"status": "In Progress",
"task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60"
}
],
"meta": {
"pagination": {
"has_more": false,
"page": 1,
"page_size": 25
},
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Log time
Log time worked, on a project or task.
Inputs
- Seconds
secondsnumberRequired - How long the work took, in seconds. An hour is 3600.At least 1.
- Date
datedateRequired - The day the work was done.
- Project
project_idnumber - The project to log time on. Ignored when you choose a task.
- Task
task_uuidtext - The ID of the task to log time on. The project comes with it.
- Notes
notestext - What the time was spent on.
- Hourly rate
ratetext - The hourly rate to bill, such as 120.00. Only used if you can set billing.
- Not billable
non_billabletrue/false - Leave this entry out of billing. Only used if you can set billing.
- Team member
owner_member_idnumber - Who the time is for. Bonsai uses you when left empty.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"billable_amount": "120.00",
"billing_status": "unbilled",
"created_at": "2026-01-15T10:30:00Z",
"currency": "USD",
"date": "2026-01-15",
"formatted_time": "01:00:00",
"key": "te_8f2k1m",
"non_billable": true,
"notes": "Design review",
"owner_member_id": 1,
"project_id": 1,
"rate": "120.00",
"seconds": 3600,
"status": "In Progress",
"task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Update company
Change a company's details. Fields you leave empty keep their current value.
Inputs
- Company
idnumberRequired - The company to change.
- Name
nametext - The company's name.
- Description
descriptiontext - Notes about the company.
- Industry
industrytext - The industry the company works in.One of:
arts_and_entertainment(Arts and entertainment),business_and_consumer_services(Business and consumer services),community_and_society(Community and society),computers_electronics_and_technology(Computers, electronics and technology),e_commerce_and_shopping(E-commerce and shopping),finance,food_and_drink(Food and drink),gambling,games,health, and 14 more. - Company size
company_sizetext - How many people work there.One of:
size_1_10(1 to 10),size_11_50(11 to 50),size_51_200(51 to 200),size_201_1000(201 to 1,000),size_1000_plus(More than 1,000). - Source
sourcetext - How you found this client.One of:
organic_search(Organic search),paid_search(Paid search),email_marketing(Email marketing),organic_social(Organic social),referrals,other_campaigns(Other campaigns),direct_traffic(Direct traffic),offline_sources(Offline sources),paid_social(Paid social),ai_referrals(AI referrals). - Main contact
default_contact_idnumber - The contact who is this company's main point of contact.
- Domains
domainslist - Website domains that belong to the company, such as acme.com.
- LinkedIn
linkedintext - Link to the company's LinkedIn page.
- Instagram
instagramtext - Link to the company's Instagram profile.
- X
twittertext - Link to the company's X profile.
- Facebook
facebooktext - Link to the company's Facebook page.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"avatar_url": "https://example.com/record/1",
"company_size": "size_11_50",
"created_at": "2026-01-15T10:30:00Z",
"default_contact_id": 1,
"description": "Long-standing client.",
"domains": [
"Example"
],
"facebook": "https://www.facebook.com/acme",
"id": 42,
"industry": "finance",
"instagram": "https://www.instagram.com/acme",
"linkedin": "https://www.linkedin.com/company/acme",
"name": "Acme Corp",
"source": "referrals",
"twitter": "https://x.com/acme",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Update deal
Change a deal, or move it to another stage to mark it won or lost.
Inputs
- Deal
idnumberRequired - The deal to change.
- Title
titletext - The deal's new title.
- Company
company_idnumber - Move the deal to this client company.
- Contacts
contact_idslist - The contacts on the deal. This replaces the contacts it has now.
- Owner
assignee_member_idnumber - The team member who owns the deal.
- Stage
board_group_idtext - The pipeline stage to move the deal to.
- Value
deal_valuetext - What the deal is worth, such as 2500.00.
- Probability
probabilitynumber - The chance of winning the deal, as a percentage from 0 to 100.From 0 to 100.
- Close date
close_datedate - The day the deal is expected to close.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_member_id": 1,
"assignee_member_name": "Example",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"close_date": "2026-01-15",
"company_name": "Example",
"contact_ids": [
1
],
"currency": "USD",
"deal_number": "D-918",
"deal_value": "2500.00",
"id": 42,
"probability": 50,
"status": "In Progress",
"title": "Website redesign",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Update project
Change a project's title, dates, billing or board stage.
Inputs
- Project
idnumberRequired - The project to change.
- Title
titletext - The project's new title.
- Start date
start_datedate - The day work starts.
- Finish date
finish_datedate - The day work ends.
- Billing
billing_typetext - How the project bills the client.One of:
time(Hourly),fixed_fee(Fixed fee),retainer,not_billable(Not billable). - Fee
billing_feetext - The agreed fee, such as 1500.00, for a fixed fee or retainer.
- Retainer cycle
billing_cycletext - How often a retainer bills.One of:
weekly,monthly,quarterly,biannually(Twice a year),yearly. - Stage
board_group_idtext - The board stage to move the project to.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"billing_cycle": "monthly",
"billing_fee": "1500.00",
"billing_type": "time",
"board_group_id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"budget": {
"amount": "10.0",
"calculation_base": "billable_time",
"calculation_mode": "fee",
"current_cycle": {
"closing_date": "2026-01-15",
"consumed_amount": "300.00",
"consumed_percentage": 25,
"opening_date": "2026-01-15"
},
"expenses_calculation_base": "all",
"id": 42,
"over_budget_notification": "enabled",
"over_budget_notification_threshold": "80.0",
"reset_frequency": "never"
},
"company_id": 1,
"company_name": "Example",
"currency": "USD",
"finish_date": "2026-01-15",
"id": 42,
"number": "T-12",
"public_url_token": "x4n2",
"sequence": 3,
"start_date": "2026-01-15",
"title": "Website redesign",
"url": "https://example.com/record/1"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Update task
Change a task, or move it to another column to complete it.
Inputs
- Task
uuidtextRequired - The ID of the task to change.
- Title
titletext - What the task is called.
- Project
project_idnumber - The project the task belongs to.
- Deal
deal_idnumber - The deal the task belongs to.
- Assignee
assignee_member_idnumber - The team member the task is for.
- Priority
prioritytext - How urgent the task is.One of:
urgent,high,medium,low. - Start date
start_datedate - The day work on the task starts.
- Due date
due_datedate - The day the task is due.
- Description
descriptiontext - What the task involves. Simple HTML such as <p> and <strong> is kept.
- Estimate in minutes
time_estimate_in_minutesnumber - How long the task should take, in minutes.At least 1.
- Status
task_status_idtext - The board column to put the task in. Choose Done to complete it.
- Billable
billabletrue/false - Whether time tracked on the task can be billed.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"archived_at": "2026-01-15T10:30:00Z",
"assignee_id": 1,
"assignee_member_id": 1,
"assignee_member_name": "Example",
"billable": true,
"company_tags": [
{
"id": 42,
"name": "Acme Corp"
}
],
"completed_at": "2026-01-15T10:30:00Z",
"creator_member_id": 1,
"deal_id": 1,
"description_html": "Example",
"description_plain_text": "Example",
"due_date": "2026-01-15",
"number": "T-12",
"parent_task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"priority": "high",
"project_id": 1,
"project_title": "Example",
"start_date": "2026-01-15",
"task_status": {
"color": "#3b82f6",
"id": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60",
"position": 1,
"state": "active",
"status": "In Progress"
},
"time_estimate_in_minutes": 90,
"title": "Website redesign",
"url": "https://example.com/record/1",
"uuid": "0b6d9f3e-2c41-4a8e-9f0d-7e5a1c2b3d4e"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}Update time entry
Change a time entry, or mark it billed.
Inputs
- Time entry
keytextRequired - The time entry's ID.
- Seconds
secondsnumber - How long the work took, in seconds.At least 1.
- Date
datedate - The day the work was done.
- Project
project_idnumber - The project to log the time on.
- Task
task_uuidtext - The ID of the task to log the time on.
- Notes
notestext - What the time was spent on.
- Hourly rate
ratetext - The hourly rate to bill, such as 120.00.
- Not billable
non_billabletrue/false - Leave this entry out of billing.
- Billing status
billing_statustext - Mark the entry billed, or not billed yet. Needs permission to set billing.One of:
billed,unbilled(Not billed yet). - Team member
owner_member_idnumber - Who the time is for.
Outputs
dataobject- The response.
Example output
{
"data": {
"data": {
"billable_amount": "120.00",
"billing_status": "unbilled",
"created_at": "2026-01-15T10:30:00Z",
"currency": "USD",
"date": "2026-01-15",
"formatted_time": "01:00:00",
"key": "te_8f2k1m",
"non_billable": true,
"notes": "Design review",
"owner_member_id": 1,
"project_id": 1,
"rate": "120.00",
"seconds": 3600,
"status": "In Progress",
"task_uuid": "3f8e2a10-5c4b-4d2e-9a7f-1b2c3d4e5f60"
},
"meta": {
"request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e"
}
}
}