# Moxie

> Run your freelance or studio business in Moxie: manage clients and contacts, projects and tasks, log and edit time, move opportunities through your pipeline, and read outstanding invoices and tickets.

App · 24 actions. Web page: https://docs.lodol.com/docs/integrations/moxie

## Actions

### Create client

Create a client, or a prospect you have not signed yet.

**Inputs**

- Name (`name`, text, required): The client's name, as it should appear on invoices.
- Type (`client_type`, text): A client, or a prospect you have not signed yet. One of: `Client`, `Prospect`.
- Website (`website`, text): The client's website.
- Phone (`phone`, text): The client's phone number.
- Address line 1 (`address1`, text): Street address.
- Address line 2 (`address2`, text): Suite, floor or similar.
- City (`city`, text): City or town.
- State or region (`region`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Country.
- Tax ID (`tax_id`, text): The client's tax or VAT number.
- Currency (`currency`, text): A three-letter currency code such as USD or EUR.
- Notes (`notes`, text): Private notes.

**Outputs**

- `client` (object): The client

**Example output**

```json
{
  "client": {
    "address1": "",
    "address2": "",
    "archive": false,
    "city": "",
    "clientType": "Client",
    "contacts": [
      {
        "archive": false,
        "clientId": "6650a1b2c3d4e5f607182931",
        "defaultContact": false,
        "email": "jo@example.com",
        "firstName": "Jo",
        "id": "6650a1b2c3d4e5f607182930",
        "invoiceContact": false,
        "lastName": "Bloggs",
        "mobile": "",
        "notes": "",
        "phone": "+1 555 0100",
        "portalAccess": false,
        "role": ""
      }
    ],
    "country": "US",
    "created": "2026-10-01T09:00:00Z",
    "currency": "USD",
    "id": "6650a1b2c3d4e5f607182931",
    "initials": "",
    "locality": "",
    "name": "Acme Co",
    "notes": "",
    "phone": "",
    "postal": "",
    "taxId": "",
    "website": "https://acme.example.com"
  }
}
```

### Create contact

Create a contact, optionally on a client. Give at least a first name, last name or email.

**Inputs**

- Client (`client_name`, text): The client the contact belongs to. Leave empty for none.
- First name (`first_name`, text): The contact's first name.
- Last name (`last_name`, text): The contact's last name.
- Email (`email`, text): The contact's email address.
- Phone (`phone`, text): The contact's phone number.
- Notes (`notes`, text): Private notes.
- Main contact (`default_contact`, true/false): Make this the client's main contact. Default: `false`.
- Receives invoices (`invoice_contact`, true/false): Send the client's invoices to this contact. Default: `false`.
- Client portal access (`portal_access`, true/false): Let this contact sign in to the client portal. Default: `false`.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "archive": false,
    "clientId": "6650a1b2c3d4e5f607182931",
    "defaultContact": false,
    "email": "jo@example.com",
    "firstName": "Jo",
    "id": "6650a1b2c3d4e5f607182930",
    "invoiceContact": false,
    "lastName": "Bloggs",
    "mobile": "",
    "notes": "",
    "phone": "+1 555 0100",
    "portalAccess": false,
    "role": ""
  }
}
```

### Create opportunity

Add an opportunity to the sales pipeline, optionally for an existing client.

**Inputs**

- Name (`name`, text, required): The opportunity's name.
- Description (`description`, text): What it is about.
- Client (`client_name`, text): An existing client or prospect. Leave empty for none.
- Stage (`stage_name`, text): The pipeline stage. Moxie's first stage applies if empty.
- Value (`value`, number): What the work is worth, in your currency. At least 0.
- Expected close date (`est_close_date`, date): When you expect to win it.

**Outputs**

- `opportunity` (object): The opportunity

**Example output**

```json
{
  "opportunity": {
    "archive": false,
    "clientId": "",
    "created": "",
    "description": "",
    "estCloseDate": "2026-11-30",
    "id": "6650a1b2c3d4e5f607182936",
    "name": "Brand refresh",
    "statusId": "stage_new",
    "statusLabel": "New lead",
    "value": 5000
  }
}
```

### Create project

Create a project for a client, with an optional schedule and fee.

**Inputs**

- Client (`client_name`, text, required): The client the project is for.
- Name (`name`, text, required): The project's name.
- Start date (`start_date`, date): When the project starts.
- Due date (`due_date`, date): When the project is due.
- Client portal access (`portal_access`, text): What the client sees of the project. Moxie's default applies if empty. One of: `Full access`, `Read only`, `Overview`, `None`.
- Fee type (`fee_type`, text): How the project is billed. Leave empty to set it later. One of: `Hourly`, `Fixed Price`, `Retainer`, `Per Item`.
- Fee amount (`fee_amount`, number): The rate or price, in the client's currency. Needs a fee type. At least 0.
- Show time worked in portal (`show_time_in_portal`, true/false): Let the client see the time logged on the project. Default: `false`.

**Outputs**

- `project` (object): The project

**Example output**

```json
{
  "project": {
    "active": true,
    "clientId": "6650a1b2c3d4e5f607182931",
    "dateCompleted": "",
    "dateCreated": "2026-10-01T09:00:00Z",
    "description": "",
    "dueDate": "2026-12-01",
    "feeSchedule": {},
    "id": "6650a1b2c3d4e5f607182932",
    "lifecycleStatus": "ACTIVE",
    "name": "Website redesign",
    "portalAccess": "Full access",
    "startDate": "2026-10-01"
  }
}
```

### Create task

Create a task, optionally in a client's project, with sub-tasks and people assigned.

**Inputs**

- Name (`name`, text, required): The task's name.
- Client (`client_name`, text): The client the project belongs to. Needed with a project.
- Project (`project_name`, text): The project to put the task in. Leave empty for none.
- Stage (`stage`, text): The task's stage. Moxie's first stage applies if empty.
- Description (`description`, text): What the task involves.
- Start date (`start_date`, date): When work starts.
- Due date (`due_date`, date): When the task is due.
- Sub-tasks (`subtasks`, list): The names of sub-tasks to add, one per line.
- Assigned to (`assignees`, list): The team members to assign.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "archived": false,
    "assignedToList": [],
    "clientId": "6650a1b2c3d4e5f607182931",
    "completed": "",
    "created": "",
    "description": "",
    "dueDate": "2026-10-20",
    "id": "6650a1b2c3d4e5f607182933",
    "name": "Draft homepage",
    "projectId": "6650a1b2c3d4e5f607182932",
    "startDate": "",
    "statusId": "stage_todo",
    "tasks": []
  }
}
```

### Delete time entry

Move a time entry to Moxie's trash. An entry already on an invoice cannot be deleted.

**Inputs**

- Time entry ID (`time_entry_id`, text, required): The entry's id, from 'List time entries' or 'Log time'.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `time_entry_id` (text): The entry deleted

**Example output**

```json
{
  "deleted": true,
  "time_entry_id": "6650a1b2c3d4e5f607182935"
}
```

### Get time entry

Get one time entry, including its private notes.

**Inputs**

- Time entry ID (`time_entry_id`, text, required): The entry's id, from 'List time entries' or 'Log time'.

**Outputs**

- `entry` (object): The time entry

**Example output**

```json
{
  "entry": {
    "billable": true,
    "clientId": "6650a1b2c3d4e5f607182931",
    "clientName": "",
    "deliverableId": "",
    "deliverableName": "",
    "duration": 5400,
    "id": "6650a1b2c3d4e5f607182935",
    "internalNotes": "",
    "invoiceId": "",
    "notes": "",
    "projectId": "6650a1b2c3d4e5f607182932",
    "projectName": "",
    "timerEnd": "2026-10-15T10:30:00Z",
    "timerStart": "2026-10-15T09:00:00Z",
    "userFullName": "Jo Bloggs",
    "userId": 7
  }
}
```

### Get workspace

Get the Moxie workspace the connection belongs to: its id and name.

**Inputs**: None.

**Outputs**

- `account_id` (number): The workspace's id
- `account_name` (text): The workspace's name

**Example output**

```json
{
  "account_id": 1234,
  "account_name": "Bloggs Studio"
}
```

### List clients

List the clients in the workspace, archived ones included, with their contacts.

**Inputs**: None.

**Outputs**

- `clients` (list): The clients
- `count` (number): How many

**Example output**

```json
{
  "clients": [
    {
      "address1": "",
      "address2": "",
      "archive": false,
      "city": "",
      "clientType": "Client",
      "contacts": [
        {
          "archive": false,
          "clientId": "6650a1b2c3d4e5f607182931",
          "defaultContact": false,
          "email": "jo@example.com",
          "firstName": "Jo",
          "id": "6650a1b2c3d4e5f607182930",
          "invoiceContact": false,
          "lastName": "Bloggs",
          "mobile": "",
          "notes": "",
          "phone": "+1 555 0100",
          "portalAccess": false,
          "role": ""
        }
      ],
      "country": "US",
      "created": "2026-10-01T09:00:00Z",
      "currency": "USD",
      "id": "6650a1b2c3d4e5f607182931",
      "initials": "",
      "locality": "",
      "name": "Acme Co",
      "notes": "",
      "phone": "",
      "postal": "",
      "taxId": "",
      "website": "https://acme.example.com"
    }
  ],
  "count": 1
}
```

### List pipeline stages

List the stages an opportunity moves through, in order.

**Inputs**: None.

**Outputs**

- `count` (number): How many
- `stages` (list): The pipeline stages

**Example output**

```json
{
  "count": 1,
  "stages": [
    {
      "hexColor": "#4f8cff",
      "id": "stage_new",
      "label": "New lead",
      "stageType": "New"
    }
  ]
}
```

### List tasks

List tasks, filtered by project, client or stage. Archived tasks are left out unless asked for.

**Inputs**

- Project (`project_id`, text): Only this project's. Leave empty for all.
- Client (`client_id`, text): Only this client's. Leave empty for all.
- Stage (`stage_id`, text): Only tasks in this stage. Leave empty for all.
- Include archived (`include_archived`, true/false): Also list archived tasks. Default: `false`.

**Outputs**

- `count` (number): How many
- `tasks` (list): The tasks

**Example output**

```json
{
  "count": 1,
  "tasks": [
    {
      "archived": false,
      "assignedToList": [],
      "clientId": "6650a1b2c3d4e5f607182931",
      "completed": "",
      "created": "",
      "description": "",
      "dueDate": "2026-10-20",
      "id": "6650a1b2c3d4e5f607182933",
      "name": "Draft homepage",
      "projectId": "6650a1b2c3d4e5f607182932",
      "startDate": "",
      "statusId": "stage_todo",
      "tasks": []
    }
  ]
}
```

### List tickets

List support tickets, filtered by open or closed, client, or archived.

**Inputs**

- Which tickets (`ticket_state`, text): Open, closed or all. Defaults to all. One of: `all` (All (default)), `open` (Open only), `closed` (Closed only).
- Client (`client_id`, text): Only this client's. Leave empty for all.
- Include archived (`include_archived`, true/false): Also list archived tickets. Default: `false`.

**Outputs**

- `count` (number): How many
- `tickets` (list): The tickets

**Example output**

```json
{
  "count": 1,
  "tickets": [
    {
      "clientId": "",
      "created": "",
      "dueDate": "",
      "id": "6650a1b2c3d4e5f607182937",
      "open": true,
      "status": "Open",
      "subject": "Logo files",
      "ticketNumber": 12,
      "type": "",
      "updated": ""
    }
  ]
}
```

### List time entries

List completed time entries, up to 10,000, filtered by person, time window, client, project or task. Use a narrower window if you reach the limit.

**Inputs**

- Team member (`moxie_user_id`, text): Only this person's entries. Leave empty for everyone.
- From (`from_time`, date and time): Only entries starting at or after this.
- Until (`until_time`, date and time): Only entries starting at or before this.
- Client (`client_id`, text): Only this client's. Leave empty for all.
- Project (`project_id`, text): Only this project's. Leave empty for all.
- Task ID (`task_id`, text): The task, by the id from 'List tasks' or an earlier step.

**Outputs**

- `count` (number): How many
- `entries` (list): The time entries

**Example output**

```json
{
  "count": 1,
  "entries": [
    {
      "billable": true,
      "clientId": "6650a1b2c3d4e5f607182931",
      "clientName": "",
      "deliverableId": "",
      "deliverableName": "",
      "duration": 5400,
      "id": "6650a1b2c3d4e5f607182935",
      "internalNotes": "",
      "invoiceId": "",
      "notes": "",
      "projectId": "6650a1b2c3d4e5f607182932",
      "projectName": "",
      "timerEnd": "2026-10-15T10:30:00Z",
      "timerStart": "2026-10-15T09:00:00Z",
      "userFullName": "Jo Bloggs",
      "userId": 7
    }
  ]
}
```

### Log time

Log a finished block of time, optionally against a client, project or task.

**Inputs**

- Start (`start_time`, date and time, required): When the work started.
- End (`end_time`, date and time, required): When the work ended.
- Client (`client_id`, text): The client the time is for.
- Project (`project_id`, text): The project the time is for.
- Task ID (`task_id`, text): The task the time is for, by the id from 'List tasks' or an earlier step.
- Team member (`user_email`, text): Who did the work. Defaults to the key's owner.
- Billing (`billable`, text): Whether the time is billed. Moxie's default is billable. One of: `billable`, `not_billable` (Not billable).
- Notes (`notes`, text): What was done, shown to the client on the invoice.
- Private notes (`internal_notes`, text): Notes only your team sees.

**Outputs**

- `entry` (object): The time entry

**Example output**

```json
{
  "entry": {
    "billable": true,
    "clientId": "6650a1b2c3d4e5f607182931",
    "clientName": "",
    "deliverableId": "",
    "deliverableName": "",
    "duration": 5400,
    "id": "6650a1b2c3d4e5f607182935",
    "internalNotes": "",
    "invoiceId": "",
    "notes": "",
    "projectId": "6650a1b2c3d4e5f607182932",
    "projectName": "",
    "timerEnd": "2026-10-15T10:30:00Z",
    "timerStart": "2026-10-15T09:00:00Z",
    "userFullName": "Jo Bloggs",
    "userId": 7
  }
}
```

### Search clients

Find clients by name or phone, or by a contact's name, email or phone. Give a client to read just that one.

**Inputs**

- Search text (`query`, text): Text to look for. Leave empty to list all.
- Client (`client_id`, text): Read just this client. Overrides the search text.

**Outputs**

- `clients` (list): The matching clients
- `count` (number): How many

**Example output**

```json
{
  "clients": [
    {
      "address1": "",
      "address2": "",
      "archive": false,
      "city": "",
      "clientType": "Client",
      "contacts": [
        {
          "archive": false,
          "clientId": "6650a1b2c3d4e5f607182931",
          "defaultContact": false,
          "email": "jo@example.com",
          "firstName": "Jo",
          "id": "6650a1b2c3d4e5f607182930",
          "invoiceContact": false,
          "lastName": "Bloggs",
          "mobile": "",
          "notes": "",
          "phone": "+1 555 0100",
          "portalAccess": false,
          "role": ""
        }
      ],
      "country": "US",
      "created": "2026-10-01T09:00:00Z",
      "currency": "USD",
      "id": "6650a1b2c3d4e5f607182931",
      "initials": "",
      "locality": "",
      "name": "Acme Co",
      "notes": "",
      "phone": "",
      "postal": "",
      "taxId": "",
      "website": "https://acme.example.com"
    }
  ],
  "count": 1
}
```

### Search contacts

Find contacts whose email, first name or last name contains the text. Give a contact id to read just that one.

**Inputs**

- Search text (`query`, text): Text to look for. Leave empty to list all.
- Contact ID (`contact_id`, text): Read just this contact. Overrides the search text.

**Outputs**

- `contacts` (list): The matching contacts
- `count` (number): How many

**Example output**

```json
{
  "contacts": [
    {
      "archive": false,
      "clientId": "6650a1b2c3d4e5f607182931",
      "defaultContact": false,
      "email": "jo@example.com",
      "firstName": "Jo",
      "id": "6650a1b2c3d4e5f607182930",
      "invoiceContact": false,
      "lastName": "Bloggs",
      "mobile": "",
      "notes": "",
      "phone": "+1 555 0100",
      "portalAccess": false,
      "role": ""
    }
  ],
  "count": 1
}
```

### Search outstanding invoices

List invoices still waiting to be paid, with their line items. Filter by client, or read one by id.

**Inputs**

- Client (`client_name`, text): Only this client's invoices. Leave empty for all.
- Invoice ID (`invoice_id`, text): Read just this invoice. Overrides the client.

**Outputs**

- `count` (number): How many
- `invoices` (list): The outstanding invoices

**Example output**

```json
{
  "count": 1,
  "invoices": [
    {
      "amountDue": 1200,
      "clientId": "6650a1b2c3d4e5f607182931",
      "currency": "USD",
      "dateCreated": "",
      "dateDue": "2026-11-01",
      "dateSent": "",
      "description": "",
      "id": "6650a1b2c3d4e5f607182934",
      "invoiceNumber": 42,
      "invoiceNumberFormatted": "E-2026-042",
      "lineItems": [],
      "status": "SENT",
      "subTotal": 0,
      "tax": 0,
      "total": 1200,
      "viewOnlineUrl": ""
    }
  ]
}
```

### Search projects

List every project, one client's projects, or read one project by id. Each comes with its tasks and what has been invoiced.

**Inputs**

- Client (`client_name`, text): Only this client's projects. Leave empty for all.
- Project (`project_id`, text): Read just this project. Overrides the client.

**Outputs**

- `count` (number): How many
- `projects` (list): The projects

**Example output**

```json
{
  "count": 1,
  "projects": [
    {
      "active": true,
      "clientId": "6650a1b2c3d4e5f607182931",
      "dateCompleted": "",
      "dateCreated": "2026-10-01T09:00:00Z",
      "description": "",
      "dueDate": "2026-12-01",
      "feeSchedule": {},
      "id": "6650a1b2c3d4e5f607182932",
      "lifecycleStatus": "ACTIVE",
      "name": "Website redesign",
      "portalAccess": "Full access",
      "startDate": "2026-10-01"
    }
  ]
}
```

### Update client

Change a client's details, or archive or restore it. Fields left empty keep their current value.

**Inputs**

- Client (`client_id`, text, required): The client. Pick one, or give its id from an earlier step.
- Name (`name`, text): A new name. Leave empty to keep it.
- Type (`client_type`, text): A client, or a prospect you have not signed yet. One of: `Client`, `Prospect`.
- Website (`website`, text): The client's website.
- Phone (`phone`, text): The client's phone number.
- Address line 1 (`address1`, text): Street address.
- Address line 2 (`address2`, text): Suite, floor or similar.
- City (`city`, text): City or town.
- State or region (`region`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Country.
- Tax ID (`tax_id`, text): The client's tax or VAT number.
- Currency (`currency`, text): A three-letter currency code such as USD or EUR.
- Notes (`notes`, text): Private notes.
- State (`state`, text): Archive or restore it. Leave empty to keep it as it is. One of: `active` (Active (restore it)), `archived`.

**Outputs**

- `client` (object): The client

**Example output**

```json
{
  "client": {
    "address1": "",
    "address2": "",
    "archive": true,
    "city": "",
    "clientType": "Client",
    "contacts": [
      {
        "archive": false,
        "clientId": "6650a1b2c3d4e5f607182931",
        "defaultContact": false,
        "email": "jo@example.com",
        "firstName": "Jo",
        "id": "6650a1b2c3d4e5f607182930",
        "invoiceContact": false,
        "lastName": "Bloggs",
        "mobile": "",
        "notes": "",
        "phone": "+1 555 0100",
        "portalAccess": false,
        "role": ""
      }
    ],
    "country": "US",
    "created": "2026-10-01T09:00:00Z",
    "currency": "USD",
    "id": "6650a1b2c3d4e5f607182931",
    "initials": "",
    "locality": "",
    "name": "Acme Co",
    "notes": "",
    "phone": "",
    "postal": "",
    "taxId": "",
    "website": "https://acme.example.com"
  }
}
```

### Update contact

Change a contact's details. Fields left empty keep their current value.

**Inputs**

- Contact ID (`contact_id`, text, required): The contact's id, from 'Search contacts' or 'Create contact'.
- First name (`first_name`, text): The contact's first name.
- Last name (`last_name`, text): The contact's last name.
- Email (`email`, text): The contact's email address.
- Phone (`phone`, text): The contact's phone number.
- Mobile (`mobile`, text): The contact's mobile number.
- Role (`role`, text): The contact's job title or role.
- Notes (`notes`, text): Private notes.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "archive": true,
    "clientId": "6650a1b2c3d4e5f607182931",
    "defaultContact": false,
    "email": "jo@example.com",
    "firstName": "Jo",
    "id": "6650a1b2c3d4e5f607182930",
    "invoiceContact": false,
    "lastName": "Bloggs",
    "mobile": "",
    "notes": "",
    "phone": "+1 555 0100",
    "portalAccess": false,
    "role": ""
  }
}
```

### Update opportunity

Change an opportunity, move it to another pipeline stage, or archive it. Fields left empty keep their current value.

**Inputs**

- Opportunity ID (`opportunity_id`, text, required): The id from 'Create opportunity' or an earlier step.
- Name (`name`, text): A new name. Leave empty to keep it.
- Description (`description`, text): A new description. Leave empty to keep it.
- Stage (`stage_id`, text): Move it to this pipeline stage. Leave empty to keep it.
- Value (`value`, number): A new value. At least 0.
- Expected close date (`est_close_date`, date): A new expected close date.
- State (`state`, text): Archive or restore it. Leave empty to keep it as it is. One of: `active` (Active (restore it)), `archived`.

**Outputs**

- `opportunity` (object): The opportunity

**Example output**

```json
{
  "opportunity": {
    "archive": true,
    "clientId": "",
    "created": "",
    "description": "",
    "estCloseDate": "2026-11-30",
    "id": "6650a1b2c3d4e5f607182936",
    "name": "Brand refresh",
    "statusId": "stage_new",
    "statusLabel": "New lead",
    "value": 5000
  }
}
```

### Update project

Change a project's name, description, dates or portal access, or complete or reopen it. Fields left empty keep their current value.

**Inputs**

- Project (`project_id`, text, required): The project. Pick one, or give its id from an earlier step.
- Name (`name`, text): A new name. Leave empty to keep it.
- Description (`description`, text): A new description. Leave empty to keep it.
- Start date (`start_date`, date): A new start date.
- Due date (`due_date`, date): A new due date.
- Client portal access (`portal_access`, text): What the client sees of the project. One of: `Full access`, `Read only`, `Overview`, `None`.
- Status (`status`, text): Complete the project (it then leaves project lists) or reopen it. Leave empty to keep it. One of: `active` (Active (reopen it)), `completed`.

**Outputs**

- `project` (object): The project

**Example output**

```json
{
  "project": {
    "active": false,
    "clientId": "6650a1b2c3d4e5f607182931",
    "dateCompleted": "",
    "dateCreated": "2026-10-01T09:00:00Z",
    "description": "",
    "dueDate": "2026-12-01",
    "feeSchedule": {},
    "id": "6650a1b2c3d4e5f607182932",
    "lifecycleStatus": "COMPLETED",
    "name": "Website redesign",
    "portalAccess": "Full access",
    "startDate": "2026-10-01"
  }
}
```

### Update task

Change a task's name, description, dates or stage, or archive it. Fields left empty keep their current value.

**Inputs**

- Task ID (`task_id`, text, required): The task's id, from 'List tasks' or 'Create task'.
- Name (`name`, text): A new name. Leave empty to keep it.
- Description (`description`, text): A new description. Leave empty to keep it.
- Stage (`stage_id`, text): Move the task to this stage. Leave empty to keep it.
- Start date (`start_date`, date): A new start date.
- Due date (`due_date`, date): A new due date.
- State (`state`, text): Archive or restore it. Leave empty to keep it as it is. One of: `active` (Active (restore it)), `archived`.

**Outputs**

- `task` (object): The task

**Example output**

```json
{
  "task": {
    "archived": true,
    "assignedToList": [],
    "clientId": "6650a1b2c3d4e5f607182931",
    "completed": "",
    "created": "",
    "description": "",
    "dueDate": "2026-10-20",
    "id": "6650a1b2c3d4e5f607182933",
    "name": "Draft homepage",
    "projectId": "6650a1b2c3d4e5f607182932",
    "startDate": "",
    "statusId": "stage_todo",
    "tasks": []
  }
}
```

### Update time entry

Change a time entry's times, notes, billing or what it is logged against. Fields left empty keep their current value.

**Inputs**

- Time entry ID (`time_entry_id`, text, required): The entry's id, from 'List time entries' or 'Log time'.
- Start (`start_time`, date and time): A new start time.
- End (`end_time`, date and time): A new end time.
- Client (`client_id`, text): The client the time is for.
- Project (`project_id`, text): The project the time is for.
- Task ID (`task_id`, text): The task the time is for, by the id from 'List tasks' or an earlier step.
- Billing (`billable`, text): Change whether the time is billed. One of: `billable`, `not_billable` (Not billable).
- Notes (`notes`, text): What was done, shown to the client on the invoice.
- Private notes (`internal_notes`, text): Notes only your team sees.

**Outputs**

- `entry` (object): The time entry

**Example output**

```json
{
  "entry": {
    "billable": true,
    "clientId": "6650a1b2c3d4e5f607182931",
    "clientName": "",
    "deliverableId": "",
    "deliverableName": "",
    "duration": 5400,
    "id": "6650a1b2c3d4e5f607182935",
    "internalNotes": "",
    "invoiceId": "",
    "notes": "Edited",
    "projectId": "6650a1b2c3d4e5f607182932",
    "projectName": "",
    "timerEnd": "2026-10-15T10:30:00Z",
    "timerStart": "2026-10-15T09:00:00Z",
    "userFullName": "Jo Bloggs",
    "userId": 7
  }
}
```
