# Daylite

> Keep Daylite, the Mac CRM by Marketcircle, up to date: find, add and update contacts, companies, opportunities, projects and tasks, write notes, and start a workflow when a contact, company, opportunity or task is added or an opportunity changes.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/daylite

## Actions

### Create company

Add a company to Daylite, with its email, phone, website, type and industry.

**Inputs**

- Name (`name`, text, required): The company's name.
- Email (`email`, text): Its email address.
- Phone (`phone`, text): Its phone number.
- Website (`website`, text): Its website, such as acme.com.
- Type (`company_type`, text): What kind of company it is.
- Industry (`industry`, text): Its industry.
- Employees (`number_of_employees`, number): How many people work there. At least 0.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Its first email address
- `emails` (list): Emails
- `id` (text): The record's number in Daylite
- `industry` (text): Industry
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `number_of_employees` (number): Number of employees
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Its first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000
- `type` (text): The type
- `urls` (list): Urls

**Example output**

```json
{
  "category": "Client",
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Long-time client.",
  "email": "hello@acme.example",
  "emails": [
    {
      "address": "hello@acme.example",
      "label": "Work"
    }
  ],
  "id": "2000",
  "industry": "Software",
  "keywords": [
    "Partner"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Acme Inc.",
  "number_of_employees": 40,
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0100",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0100"
    }
  ],
  "self": "/v1/companies/2000",
  "type": "Corporation",
  "urls": [
    {
      "label": "Homepage",
      "url": "https://acme.example"
    }
  ]
}
```

### Create contact

Add a person to Daylite, with their email, phone and the company they work at.

**Inputs**

- First name (`first_name`, text): Their first name. Give a first or last name.
- Last name (`last_name`, text): Their last name.
- Email (`email`, text): Their email address.
- Phone (`phone`, text): Their phone number, with its country code.
- Company (`company_id`, text): The company they work at.
- Job title (`job_title`, text): Their title at that company.
- Birthday (`birthday`, date): Their birthday.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `addresses` (list): Addresses
- `birthday` (text): Their birthday, YYYY-MM-DD
- `category` (text): Category
- `companies` (list): Companies
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Their first email address
- `emails` (list): Emails
- `first_name` (text): First name
- `full_name` (text): Full name
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `last_name` (text): Last name
- `modify_date` (text): When it last changed (UTC)
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Their first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000

**Example output**

```json
{
  "addresses": [
    {
      "city": "Toronto",
      "country": "Canada",
      "label": "Work",
      "postal_code": "M2N 0C3",
      "state": "ON",
      "street": "105 Harrison Garden Blvd"
    }
  ],
  "birthday": "1985-06-03",
  "category": "Client",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Prefers email over phone.",
  "email": "thomas@example.com",
  "emails": [
    {
      "address": "thomas@example.com",
      "label": "Work"
    }
  ],
  "first_name": "Thomas",
  "full_name": "Thomas Bartelmess",
  "id": "1000",
  "keywords": [
    "Newsletter"
  ],
  "last_name": "Bartelmess",
  "modify_date": "2026-10-07T18:00:04.000Z",
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0123",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0123"
    }
  ],
  "self": "/v1/contacts/1000"
}
```

### Create note

Write a note about a contact, company, opportunity, project or task, such as a call summary.

**Inputs**

- Text (`details`, text, required): What the note says.
- Title (`title`, text): Its title. Defaults to Untitled Note.
- Contact ID (`contact_id`, text): A contact's id to attach it to, from an earlier step.
- Company (`company_id`, text): A company to attach it to.
- Opportunity ID (`opportunity_id`, text): An opportunity's id to attach it to.
- Project ID (`project_id`, text): A project's id to attach it to.
- Task ID (`task_id`, text): A task's id to attach it to.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `opportunities` (list): Opportunities
- `owner` (text): The user responsible, /v1/users/<id>
- `projects` (list): Projects
- `self` (text): Its reference, such as /v1/contacts/1000
- `tasks` (list): Tasks
- `title` (text): The title

**Example output**

```json
{
  "category": "Meeting",
  "companies": [
    {
      "company": "/v1/companies/2000"
    }
  ],
  "contacts": [
    {
      "contact": "/v1/contacts/1000"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "They want a quote by Friday.",
  "id": "6000",
  "keywords": [
    "Sales"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "opportunities": [
    {
      "opportunity": "/v1/opportunities/3000"
    }
  ],
  "owner": "/v1/users/1000",
  "projects": [
    {
      "project": "/v1/projects/4000"
    }
  ],
  "self": "/v1/notes/6000",
  "tasks": [
    {
      "task": "/v1/tasks/5000"
    }
  ],
  "title": "Call summary"
}
```

### Create opportunity

Add an opportunity (a possible sale) with its probability, expected close, company and contact.

**Inputs**

- Name (`name`, text, required): What the opportunity is called.
- State (`state`, text): Open, won, lost, suspended or abandoned. New ones are open. One of: `open`, `won`, `lost`, `suspended` (Suspended (on hold)), `abandoned`.
- Type (`opportunity_type`, text): Its type, such as Referral.
- Probability (`probability`, number): How likely it is to be won, 0 to 100 percent. From 0 to 100.
- Priority (`priority`, number): 0 (lowest) to 10 (highest). From 0 to 10.
- Expected close (`forecasted`, date and time): When it's expected to close.
- Company (`company_id`, text): The company it's with.
- Contact ID (`contact_id`, text): The contact's id to link to it, from an earlier step.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `current_pipeline` (text): Its pipeline's reference
- `current_pipeline_stage` (text): Its pipeline stage's reference
- `details` (text): Notes kept on it
- `forecasted` (text): Expected close (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (number): Priority
- `probability` (number): Probability
- `self` (text): Its reference, such as /v1/contacts/1000
- `state` (text): open, won, lost, suspended or abandoned
- `total` (number): Estimated total value
- `type` (text): The type

**Example output**

```json
{
  "category": "Client Prospect",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Client",
      "title": ""
    }
  ],
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Decision Maker",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "current_pipeline": "/v1/pipelines/1000",
  "current_pipeline_stage": "/v1/pipeline_stages/1001",
  "details": "Quote sent.",
  "forecasted": "2026-12-15T17:00:00.000Z",
  "id": "3000",
  "keywords": [
    "Web"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Website redesign",
  "owner": "/v1/users/1000",
  "priority": 5,
  "probability": 60,
  "self": "/v1/opportunities/3000",
  "state": "open",
  "total": 12000,
  "type": "Referral"
}
```

### Create project

Add a project with its status, dates, company and contact.

**Inputs**

- Name (`name`, text, required): What the project is called.
- Status (`status`, text): Where it stands. New projects are New. One of: `new_status` (New), `in_progress` (In progress), `done`, `deferred`, `abandoned`, `cancelled`.
- Priority (`priority`, number): 0 (lowest) to 10 (highest). From 0 to 10.
- Started (`started`, date and time): When it started.
- Due (`due`, date and time): When it's due.
- Company (`company_id`, text): The company it's for.
- Contact ID (`contact_id`, text): The contact's id to link to it, from an earlier step.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `completed` (text): When it was completed (UTC)
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `current_pipeline` (text): Its pipeline's reference
- `current_pipeline_stage` (text): Its pipeline stage's reference
- `details` (text): Notes kept on it
- `due` (text): When it's due (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (number): Priority
- `self` (text): Its reference, such as /v1/contacts/1000
- `started` (text): When it started (UTC)
- `status` (text): new_status, in_progress, done, deferred, abandoned or cancelled

**Example output**

```json
{
  "category": "Client",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Client",
      "title": ""
    }
  ],
  "completed": "",
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Lead",
      "title": ""
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "current_pipeline": "/v1/pipelines/2000",
  "current_pipeline_stage": "/v1/pipeline_stages/2001",
  "details": "Kick-off done.",
  "due": "2026-11-30T17:00:00.000Z",
  "id": "4000",
  "keywords": [
    "Onboarding"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Acme onboarding",
  "owner": "/v1/users/1000",
  "priority": 3,
  "self": "/v1/projects/4000",
  "started": "2026-10-05T14:00:00.000Z",
  "status": "in_progress"
}
```

### Create task

Add a task, such as a call to make, with its due date, priority and the contact, company, opportunity or project it's about.

**Inputs**

- Title (`title`, text, required): What needs doing.
- Details (`details`, text): More about it.
- Due (`due`, date and time): When it's due.
- Type (`task_type`, text): What kind of task. Defaults to To do. One of: `todo` (To do), `inbound_call` (Inbound call), `outbound_call` (Outbound call), `email`, `mail`, `fax`, `print`.
- Priority (`priority`, text): How urgent it is. One of: `no_priority` (None), `low`, `medium`, `high`.
- Status (`status`, text): Where it stands. Done completes it. One of: `open`, `in_progress` (In progress), `pending`, `deferred`, `done`, `cancelled`.
- Contact ID (`contact_id`, text): A contact's id to link it to, from an earlier step.
- Company (`company_id`, text): A company to link it to.
- Opportunity ID (`opportunity_id`, text): An opportunity's id to link it to.
- Project ID (`project_id`, text): A project's id to link it to.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Keywords (`keywords`, list): Keywords to tag it with. New ones are created.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `completed` (text): When it was completed (UTC)
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `due` (text): When it's due (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `opportunities` (list): Opportunities
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (text): no_priority, low, medium or high
- `projects` (list): Projects
- `self` (text): Its reference, such as /v1/contacts/1000
- `status` (text): open, in_progress, pending, deferred, done or cancelled
- `title` (text): The title
- `type` (text): The type

**Example output**

```json
{
  "category": "Follow Up",
  "companies": [
    {
      "company": "/v1/companies/2000"
    }
  ],
  "completed": "",
  "contacts": [
    {
      "contact": "/v1/contacts/1000"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Ask about the timeline.",
  "due": "2026-10-20T17:00:00.000Z",
  "id": "5000",
  "keywords": [
    "Sales"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "opportunities": [
    {
      "opportunity": "/v1/opportunities/3000"
    }
  ],
  "owner": "/v1/users/1000",
  "priority": "high",
  "projects": [
    {
      "project": "/v1/projects/4000"
    }
  ],
  "self": "/v1/tasks/5000",
  "status": "open",
  "title": "Call back about the proposal",
  "type": "outbound_call"
}
```

### Delete record

Move a contact, company, opportunity, project, task or note to Daylite's trash, or delete it for good.

**Inputs**

- Type (`record_type`, text, required): What kind of record it is. One of: `contact`, `company`, `opportunity`, `project`, `task`, `note`.
- Record ID (`record_id`, text, required): The record's id, from an earlier Daylite step or the trigger.
- Delete for good (`permanently`, true/false): On: delete it for good. Off: move it to the trash, where it can be restored. Default: `false`.

**Outputs**

- `deleted` (true/false): Always true once done
- `id` (text): Id
- `permanently` (true/false): True if deleted for good, false if moved to the trash
- `record_type` (text): Record type

**Example output**

```json
{
  "deleted": true,
  "id": "1000",
  "permanently": false,
  "record_type": "contact"
}
```

### Find companies

Find companies by name, type, industry, category, keyword or when they were added or changed. Leave every filter blank to list them all, a page at a time.

**Inputs**

- Name (`name`, text): Words in the company's name.
- Type (`company_type`, text): Only companies of this type.
- Industry (`industry`, text): Only companies in this industry.
- Category (`category`, text): Only those in this category.
- Keyword (`keyword`, text): Only those tagged with this keyword.
- Created since (`created_since`, date and time): Only those created at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- How many (`limit`, number): How many to return, 1 to 100. Defaults to 25. From 1 to 100.
- Start from (`start`, text): The 'next_start' an earlier run gave, to get the page after it.

**Outputs**

- `companies` (list): The companies found
- `count` (number): How many this page holds
- `next_start` (text): Give it as 'Start from' for the next page; empty on the last

**Example output**

```json
{
  "companies": [
    {
      "category": "Client",
      "contacts": [
        {
          "contact": "/v1/contacts/1000",
          "role": "Employee",
          "title": "Engineer"
        }
      ],
      "create_date": "2026-10-04T17:45:57.550Z",
      "creator": "/v1/users/1000",
      "details": "Long-time client.",
      "email": "hello@acme.example",
      "emails": [
        {
          "address": "hello@acme.example",
          "label": "Work"
        }
      ],
      "id": "2000",
      "industry": "Software",
      "keywords": [
        "Partner"
      ],
      "modify_date": "2026-10-07T18:00:04.000Z",
      "name": "Acme Inc.",
      "number_of_employees": 40,
      "owner": "/v1/users/1000",
      "phone": "+1 416-555-0100",
      "phone_numbers": [
        {
          "label": "Work",
          "number": "+1 416-555-0100"
        }
      ],
      "self": "/v1/companies/2000",
      "type": "Corporation",
      "urls": [
        {
          "label": "Homepage",
          "url": "https://acme.example"
        }
      ]
    }
  ],
  "count": 1,
  "next_start": ""
}
```

### Find contacts

Find contacts by name, email, company, category, keyword or when they were added or changed. Leave every filter blank to list them all, a page at a time.

**Inputs**

- Name (`name`, text): Words in their full name, such as Ada.
- Email (`email`, text): Their exact email address.
- Company (`company_id`, text): Only people at this company.
- Category (`category`, text): Only those in this category.
- Keyword (`keyword`, text): Only those tagged with this keyword.
- Created since (`created_since`, date and time): Only those created at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- How many (`limit`, number): How many to return, 1 to 100. Defaults to 25. From 1 to 100.
- Start from (`start`, text): The 'next_start' an earlier run gave, to get the page after it.

**Outputs**

- `contacts` (list): The contacts found
- `count` (number): How many this page holds
- `next_start` (text): Give it as 'Start from' for the next page; empty on the last

**Example output**

```json
{
  "contacts": [
    {
      "addresses": [
        {
          "city": "Toronto",
          "country": "Canada",
          "label": "Work",
          "postal_code": "M2N 0C3",
          "state": "ON",
          "street": "105 Harrison Garden Blvd"
        }
      ],
      "birthday": "1985-06-03",
      "category": "Client",
      "companies": [
        {
          "company": "/v1/companies/2000",
          "role": "Employee",
          "title": "Engineer"
        }
      ],
      "create_date": "2026-10-04T17:45:57.550Z",
      "creator": "/v1/users/1000",
      "details": "Prefers email over phone.",
      "email": "thomas@example.com",
      "emails": [
        {
          "address": "thomas@example.com",
          "label": "Work"
        }
      ],
      "first_name": "Thomas",
      "full_name": "Thomas Bartelmess",
      "id": "1000",
      "keywords": [
        "Newsletter"
      ],
      "last_name": "Bartelmess",
      "modify_date": "2026-10-07T18:00:04.000Z",
      "owner": "/v1/users/1000",
      "phone": "+1 416-555-0123",
      "phone_numbers": [
        {
          "label": "Work",
          "number": "+1 416-555-0123"
        }
      ],
      "self": "/v1/contacts/1000"
    }
  ],
  "count": 1,
  "next_start": ""
}
```

### Find opportunities

Find opportunities by name, state, company, category, keyword or when they were added or changed. Leave every filter blank to list them all, a page at a time.

**Inputs**

- Name (`name`, text): Words in the opportunity's name.
- State (`state`, text): Only opportunities in this state. One of: `open`, `won`, `lost`, `suspended` (Suspended (on hold)), `abandoned`.
- Company (`company_id`, text): Only opportunities with this company.
- Category (`category`, text): Only those in this category.
- Keyword (`keyword`, text): Only those tagged with this keyword.
- Created since (`created_since`, date and time): Only those created at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- How many (`limit`, number): How many to return, 1 to 100. Defaults to 25. From 1 to 100.
- Start from (`start`, text): The 'next_start' an earlier run gave, to get the page after it.

**Outputs**

- `count` (number): How many this page holds
- `next_start` (text): Give it as 'Start from' for the next page; empty on the last
- `opportunities` (list): The opportunities found

**Example output**

```json
{
  "count": 1,
  "next_start": "",
  "opportunities": [
    {
      "category": "Client Prospect",
      "companies": [
        {
          "company": "/v1/companies/2000",
          "role": "Client",
          "title": ""
        }
      ],
      "contacts": [
        {
          "contact": "/v1/contacts/1000",
          "role": "Decision Maker",
          "title": "Engineer"
        }
      ],
      "create_date": "2026-10-04T17:45:57.550Z",
      "creator": "/v1/users/1000",
      "current_pipeline": "/v1/pipelines/1000",
      "current_pipeline_stage": "/v1/pipeline_stages/1001",
      "details": "Quote sent.",
      "forecasted": "2026-12-15T17:00:00.000Z",
      "id": "3000",
      "keywords": [
        "Web"
      ],
      "modify_date": "2026-10-07T18:00:04.000Z",
      "name": "Website redesign",
      "owner": "/v1/users/1000",
      "priority": 5,
      "probability": 60,
      "self": "/v1/opportunities/3000",
      "state": "open",
      "total": 12000,
      "type": "Referral"
    }
  ]
}
```

### Find projects

Find projects by name, status, company, category, keyword or when they were added or changed, with each project's details. Leave every filter blank to list them all, a page at a time.

**Inputs**

- Name (`name`, text): Words in the project's name.
- Status (`status`, text): Only projects with this status. One of: `new_status` (New), `in_progress` (In progress), `done`, `deferred`, `abandoned`, `cancelled`.
- Company (`company_id`, text): Only projects for this company.
- Category (`category`, text): Only those in this category.
- Keyword (`keyword`, text): Only those tagged with this keyword.
- Created since (`created_since`, date and time): Only those created at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- How many (`limit`, number): How many to return, 1 to 100. Defaults to 25. From 1 to 100.
- Start from (`start`, text): The 'next_start' an earlier run gave, to get the page after it.

**Outputs**

- `count` (number): How many this page holds
- `next_start` (text): Give it as 'Start from' for the next page; empty on the last
- `projects` (list): The projects found

**Example output**

```json
{
  "count": 1,
  "next_start": "",
  "projects": [
    {
      "category": "Client",
      "companies": [
        {
          "company": "/v1/companies/2000",
          "role": "Client",
          "title": ""
        }
      ],
      "completed": "",
      "contacts": [
        {
          "contact": "/v1/contacts/1000",
          "role": "Lead",
          "title": ""
        }
      ],
      "create_date": "2026-10-04T17:45:57.550Z",
      "creator": "/v1/users/1000",
      "current_pipeline": "/v1/pipelines/2000",
      "current_pipeline_stage": "/v1/pipeline_stages/2001",
      "details": "Kick-off done.",
      "due": "2026-11-30T17:00:00.000Z",
      "id": "4000",
      "keywords": [
        "Onboarding"
      ],
      "modify_date": "2026-10-07T18:00:04.000Z",
      "name": "Acme onboarding",
      "owner": "/v1/users/1000",
      "priority": 3,
      "self": "/v1/projects/4000",
      "started": "2026-10-05T14:00:00.000Z",
      "status": "in_progress"
    }
  ]
}
```

### Find tasks

Find tasks by title, status, priority, contact, owner, due date or when they were added or changed. Leave every filter blank to list them all, a page at a time.

**Inputs**

- Title (`title`, text): Words in the task's title.
- Status (`status`, text): Only tasks with this status. One of: `open`, `in_progress` (In progress), `pending`, `deferred`, `done`, `cancelled`.
- Priority (`priority`, text): Only tasks with this priority. One of: `no_priority` (None), `low`, `medium`, `high`.
- Contact ID (`contact_id`, text): Only tasks linked to this contact's id.
- Owner (`owner`, text): Only tasks this user is responsible for.
- Due after (`due_after`, date and time): Only tasks due at or after this time.
- Due before (`due_before`, date and time): Only tasks due at or before this time.
- Created since (`created_since`, date and time): Only those created at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- How many (`limit`, number): How many to return, 1 to 100. Defaults to 25. From 1 to 100.
- Start from (`start`, text): The 'next_start' an earlier run gave, to get the page after it.

**Outputs**

- `count` (number): How many this page holds
- `next_start` (text): Give it as 'Start from' for the next page; empty on the last
- `tasks` (list): The tasks found

**Example output**

```json
{
  "count": 1,
  "next_start": "",
  "tasks": [
    {
      "category": "Follow Up",
      "companies": [
        {
          "company": "/v1/companies/2000"
        }
      ],
      "completed": "",
      "contacts": [
        {
          "contact": "/v1/contacts/1000"
        }
      ],
      "create_date": "2026-10-04T17:45:57.550Z",
      "creator": "/v1/users/1000",
      "details": "Ask about the timeline.",
      "due": "2026-10-20T17:00:00.000Z",
      "id": "5000",
      "keywords": [
        "Sales"
      ],
      "modify_date": "2026-10-07T18:00:04.000Z",
      "opportunities": [
        {
          "opportunity": "/v1/opportunities/3000"
        }
      ],
      "owner": "/v1/users/1000",
      "priority": "high",
      "projects": [
        {
          "project": "/v1/projects/4000"
        }
      ],
      "self": "/v1/tasks/5000",
      "status": "open",
      "title": "Call back about the proposal",
      "type": "outbound_call"
    }
  ]
}
```

### Get company

Get a company with its emails, phones, websites, people and keywords.

**Inputs**

- Company (`company_id`, text, required): The company. Pick one, or give its id from an earlier step.

**Outputs**

- `category` (text): Category
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Its first email address
- `emails` (list): Emails
- `id` (text): The record's number in Daylite
- `industry` (text): Industry
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `number_of_employees` (number): Number of employees
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Its first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000
- `type` (text): The type
- `urls` (list): Urls

**Example output**

```json
{
  "category": "Client",
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Long-time client.",
  "email": "hello@acme.example",
  "emails": [
    {
      "address": "hello@acme.example",
      "label": "Work"
    }
  ],
  "id": "2000",
  "industry": "Software",
  "keywords": [
    "Partner"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Acme Inc.",
  "number_of_employees": 40,
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0100",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0100"
    }
  ],
  "self": "/v1/companies/2000",
  "type": "Corporation",
  "urls": [
    {
      "label": "Homepage",
      "url": "https://acme.example"
    }
  ]
}
```

### Get contact

Get a contact with their emails, phones, addresses, companies and keywords.

**Inputs**

- Contact ID (`contact_id`, text, required): The contact's id in Daylite, from an earlier step or 'Find contacts', such as 1000.

**Outputs**

- `addresses` (list): Addresses
- `birthday` (text): Their birthday, YYYY-MM-DD
- `category` (text): Category
- `companies` (list): Companies
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Their first email address
- `emails` (list): Emails
- `first_name` (text): First name
- `full_name` (text): Full name
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `last_name` (text): Last name
- `modify_date` (text): When it last changed (UTC)
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Their first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000

**Example output**

```json
{
  "addresses": [
    {
      "city": "Toronto",
      "country": "Canada",
      "label": "Work",
      "postal_code": "M2N 0C3",
      "state": "ON",
      "street": "105 Harrison Garden Blvd"
    }
  ],
  "birthday": "1985-06-03",
  "category": "Client",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Prefers email over phone.",
  "email": "thomas@example.com",
  "emails": [
    {
      "address": "thomas@example.com",
      "label": "Work"
    }
  ],
  "first_name": "Thomas",
  "full_name": "Thomas Bartelmess",
  "id": "1000",
  "keywords": [
    "Newsletter"
  ],
  "last_name": "Bartelmess",
  "modify_date": "2026-10-07T18:00:04.000Z",
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0123",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0123"
    }
  ],
  "self": "/v1/contacts/1000"
}
```

### Get opportunity

Get an opportunity with its state, probability, expected close, pipeline stage, people and companies.

**Inputs**

- Opportunity ID (`opportunity_id`, text, required): The opportunity's id in Daylite, from an earlier step or 'Find opportunities', such as 1000.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `current_pipeline` (text): Its pipeline's reference
- `current_pipeline_stage` (text): Its pipeline stage's reference
- `details` (text): Notes kept on it
- `forecasted` (text): Expected close (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (number): Priority
- `probability` (number): Probability
- `self` (text): Its reference, such as /v1/contacts/1000
- `state` (text): open, won, lost, suspended or abandoned
- `total` (number): Estimated total value
- `type` (text): The type

**Example output**

```json
{
  "category": "Client Prospect",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Client",
      "title": ""
    }
  ],
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Decision Maker",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "current_pipeline": "/v1/pipelines/1000",
  "current_pipeline_stage": "/v1/pipeline_stages/1001",
  "details": "Quote sent.",
  "forecasted": "2026-12-15T17:00:00.000Z",
  "id": "3000",
  "keywords": [
    "Web"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Website redesign",
  "owner": "/v1/users/1000",
  "priority": 5,
  "probability": 60,
  "self": "/v1/opportunities/3000",
  "state": "open",
  "total": 12000,
  "type": "Referral"
}
```

### Update company

Change a company. Fields left blank keep what it has; an email, phone, website or keyword given is added to what it already has.

**Inputs**

- Company (`company_id`, text, required): The company to change. Pick one, or give its id from an earlier step.
- Name (`name`, text): The company's name. Leave blank to keep it.
- Add email (`email`, text): Its email address.
- Add phone (`phone`, text): Its phone number.
- Add website (`website`, text): Its website, such as acme.com.
- Type (`company_type`, text): What kind of company it is.
- Industry (`industry`, text): Its industry.
- Employees (`number_of_employees`, number): How many people work there. At least 0.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Add keywords (`keywords`, list): Keywords to add. Its existing keywords are kept.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Its first email address
- `emails` (list): Emails
- `id` (text): The record's number in Daylite
- `industry` (text): Industry
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `number_of_employees` (number): Number of employees
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Its first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000
- `type` (text): The type
- `urls` (list): Urls

**Example output**

```json
{
  "category": "Client",
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Long-time client.",
  "email": "hello@acme.example",
  "emails": [
    {
      "address": "hello@acme.example",
      "label": "Work"
    }
  ],
  "id": "2000",
  "industry": "Software",
  "keywords": [
    "Partner"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Acme Inc.",
  "number_of_employees": 40,
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0100",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0100"
    }
  ],
  "self": "/v1/companies/2000",
  "type": "Corporation",
  "urls": [
    {
      "label": "Homepage",
      "url": "https://acme.example"
    }
  ]
}
```

### Update contact

Change a contact. Fields left blank keep what they have; an email, phone, company or keyword given is added to what they already have.

**Inputs**

- Contact ID (`contact_id`, text, required): The contact's id in Daylite, from an earlier step or 'Find contacts', such as 1000.
- First name (`first_name`, text): Their first name. Give a first or last name. Leave blank to keep it.
- Last name (`last_name`, text): Their last name. Leave blank to keep it.
- Add email (`email`, text): An email address to add; existing ones are kept.
- Add phone (`phone`, text): A phone number to add; existing ones are kept.
- Company (`company_id`, text): A company to add them to; their other companies are kept.
- Job title (`job_title`, text): Their title at that company.
- Birthday (`birthday`, date): Their birthday. Leave blank to keep it.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Add keywords (`keywords`, list): Keywords to add. Its existing keywords are kept.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `addresses` (list): Addresses
- `birthday` (text): Their birthday, YYYY-MM-DD
- `category` (text): Category
- `companies` (list): Companies
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `email` (text): Their first email address
- `emails` (list): Emails
- `first_name` (text): First name
- `full_name` (text): Full name
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `last_name` (text): Last name
- `modify_date` (text): When it last changed (UTC)
- `owner` (text): The user responsible, /v1/users/<id>
- `phone` (text): Their first phone number
- `phone_numbers` (list): Phone numbers
- `self` (text): Its reference, such as /v1/contacts/1000

**Example output**

```json
{
  "addresses": [
    {
      "city": "Toronto",
      "country": "Canada",
      "label": "Work",
      "postal_code": "M2N 0C3",
      "state": "ON",
      "street": "105 Harrison Garden Blvd"
    }
  ],
  "birthday": "1985-06-03",
  "category": "Client",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Employee",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Prefers email over phone.",
  "email": "thomas@example.com",
  "emails": [
    {
      "address": "thomas@example.com",
      "label": "Work"
    }
  ],
  "first_name": "Thomas",
  "full_name": "Thomas Bartelmess",
  "id": "1000",
  "keywords": [
    "Newsletter"
  ],
  "last_name": "Bartelmess",
  "modify_date": "2026-10-07T18:00:04.000Z",
  "owner": "/v1/users/1000",
  "phone": "+1 416-555-0123",
  "phone_numbers": [
    {
      "label": "Work",
      "number": "+1 416-555-0123"
    }
  ],
  "self": "/v1/contacts/1000"
}
```

### Update opportunity

Change an opportunity, such as marking it won or lost. Fields left blank keep what it has; a company, contact or keyword given is added.

**Inputs**

- Opportunity ID (`opportunity_id`, text, required): The opportunity's id in Daylite, from an earlier step or 'Find opportunities', such as 1000.
- Name (`name`, text): What the opportunity is called. Leave blank to keep it.
- State (`state`, text): Open, won, lost, suspended or abandoned. New ones are open. Leave blank to keep it. One of: `open`, `won`, `lost`, `suspended` (Suspended (on hold)), `abandoned`.
- Type (`opportunity_type`, text): Its type, such as Referral.
- Probability (`probability`, number): How likely it is to be won, 0 to 100 percent. From 0 to 100.
- Priority (`priority`, number): 0 (lowest) to 10 (highest). From 0 to 10.
- Expected close (`forecasted`, date and time): When it's expected to close.
- Company (`company_id`, text): A company to link to it; the others stay linked.
- Contact ID (`contact_id`, text): The contact's id to link to it, from an earlier step.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Add keywords (`keywords`, list): Keywords to add. Its existing keywords are kept.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `current_pipeline` (text): Its pipeline's reference
- `current_pipeline_stage` (text): Its pipeline stage's reference
- `details` (text): Notes kept on it
- `forecasted` (text): Expected close (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (number): Priority
- `probability` (number): Probability
- `self` (text): Its reference, such as /v1/contacts/1000
- `state` (text): open, won, lost, suspended or abandoned
- `total` (number): Estimated total value
- `type` (text): The type

**Example output**

```json
{
  "category": "Client Prospect",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Client",
      "title": ""
    }
  ],
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Decision Maker",
      "title": "Engineer"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "current_pipeline": "/v1/pipelines/1000",
  "current_pipeline_stage": "/v1/pipeline_stages/1001",
  "details": "Quote sent.",
  "forecasted": "2026-12-15T17:00:00.000Z",
  "id": "3000",
  "keywords": [
    "Web"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Website redesign",
  "owner": "/v1/users/1000",
  "priority": 5,
  "probability": 60,
  "self": "/v1/opportunities/3000",
  "state": "open",
  "total": 12000,
  "type": "Referral"
}
```

### Update project

Change a project, such as its status or due date. Fields left blank keep what it has; a company, contact or keyword given is added.

**Inputs**

- Project ID (`project_id`, text, required): The project's id in Daylite, from an earlier step or 'Find projects', such as 1000.
- Name (`name`, text): What the project is called. Leave blank to keep it.
- Status (`status`, text): Where it stands. New projects are New. Leave blank to keep it. One of: `new_status` (New), `in_progress` (In progress), `done`, `deferred`, `abandoned`, `cancelled`.
- Priority (`priority`, number): 0 (lowest) to 10 (highest). From 0 to 10.
- Started (`started`, date and time): When it started.
- Due (`due`, date and time): When it's due.
- Company (`company_id`, text): A company to link to it; the others stay linked.
- Contact ID (`contact_id`, text): The contact's id to link to it, from an earlier step.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Add keywords (`keywords`, list): Keywords to add. Its existing keywords are kept.
- Details (`details`, text): Notes kept on the record.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `completed` (text): When it was completed (UTC)
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `current_pipeline` (text): Its pipeline's reference
- `current_pipeline_stage` (text): Its pipeline stage's reference
- `details` (text): Notes kept on it
- `due` (text): When it's due (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `name` (text): Name
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (number): Priority
- `self` (text): Its reference, such as /v1/contacts/1000
- `started` (text): When it started (UTC)
- `status` (text): new_status, in_progress, done, deferred, abandoned or cancelled

**Example output**

```json
{
  "category": "Client",
  "companies": [
    {
      "company": "/v1/companies/2000",
      "role": "Client",
      "title": ""
    }
  ],
  "completed": "",
  "contacts": [
    {
      "contact": "/v1/contacts/1000",
      "role": "Lead",
      "title": ""
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "current_pipeline": "/v1/pipelines/2000",
  "current_pipeline_stage": "/v1/pipeline_stages/2001",
  "details": "Kick-off done.",
  "due": "2026-11-30T17:00:00.000Z",
  "id": "4000",
  "keywords": [
    "Onboarding"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "name": "Acme onboarding",
  "owner": "/v1/users/1000",
  "priority": 3,
  "self": "/v1/projects/4000",
  "started": "2026-10-05T14:00:00.000Z",
  "status": "in_progress"
}
```

### Update task

Change a task, such as setting its status to Done. Fields left blank keep what it has; a link or keyword given is added.

**Inputs**

- Task ID (`task_id`, text, required): The task's id in Daylite, from an earlier step or 'Find tasks', such as 1000.
- Title (`title`, text): What needs doing. Leave blank to keep it.
- Details (`details`, text): More about it. Leave blank to keep it.
- Due (`due`, date and time): When it's due. Leave blank to keep it.
- Type (`task_type`, text): What kind of task. Defaults to To do. One of: `todo` (To do), `inbound_call` (Inbound call), `outbound_call` (Outbound call), `email`, `mail`, `fax`, `print`.
- Priority (`priority`, text): How urgent it is. One of: `no_priority` (None), `low`, `medium`, `high`.
- Status (`status`, text): Where it stands. Done completes it. One of: `open`, `in_progress` (In progress), `pending`, `deferred`, `done`, `cancelled`.
- Completed at (`completed`, date and time): When it was done. Set Status to Done as well.
- Contact ID (`contact_id`, text): A contact's id to link it to as well, from an earlier step.
- Company (`company_id`, text): A company to link it to as well.
- Opportunity ID (`opportunity_id`, text): An opportunity's id to link it to as well.
- Project ID (`project_id`, text): A project's id to link it to as well.
- Category (`category`, text): A category name. One that doesn't exist yet is created.
- Add keywords (`keywords`, list): Keywords to add. Its existing keywords are kept.
- Owner (`owner`, text): The Daylite user responsible for it. Defaults to you.

**Outputs**

- `category` (text): Category
- `companies` (list): Companies
- `completed` (text): When it was completed (UTC)
- `contacts` (list): Contacts
- `create_date` (text): When it was created (UTC)
- `creator` (text): The user who created it, /v1/users/<id>
- `details` (text): Notes kept on it
- `due` (text): When it's due (UTC)
- `id` (text): The record's number in Daylite
- `keywords` (list): Its keywords
- `modify_date` (text): When it last changed (UTC)
- `opportunities` (list): Opportunities
- `owner` (text): The user responsible, /v1/users/<id>
- `priority` (text): no_priority, low, medium or high
- `projects` (list): Projects
- `self` (text): Its reference, such as /v1/contacts/1000
- `status` (text): open, in_progress, pending, deferred, done or cancelled
- `title` (text): The title
- `type` (text): The type

**Example output**

```json
{
  "category": "Follow Up",
  "companies": [
    {
      "company": "/v1/companies/2000"
    }
  ],
  "completed": "",
  "contacts": [
    {
      "contact": "/v1/contacts/1000"
    }
  ],
  "create_date": "2026-10-04T17:45:57.550Z",
  "creator": "/v1/users/1000",
  "details": "Ask about the timeline.",
  "due": "2026-10-20T17:00:00.000Z",
  "id": "5000",
  "keywords": [
    "Sales"
  ],
  "modify_date": "2026-10-07T18:00:04.000Z",
  "opportunities": [
    {
      "opportunity": "/v1/opportunities/3000"
    }
  ],
  "owner": "/v1/users/1000",
  "priority": "high",
  "projects": [
    {
      "project": "/v1/projects/4000"
    }
  ],
  "self": "/v1/tasks/5000",
  "status": "open",
  "title": "Call back about the proposal",
  "type": "outbound_call"
}
```
