Skip to content
Talk to an Engineer Dashboard

Close

Connect to Close CRM to manage leads, contacts, opportunities, tasks, notes, calls, emails, SMS, pipelines, sequences, webhooks, and users.

Connect to Close CRM. Manage leads, contacts, opportunities, tasks, notes, calls, emails, SMS, pipelines, sequences, and webhooks.

Close logo

Supports authentication: OAuth 2.0

Close connector shown in Scalekit's Create Connection search

Register your Scalekit environment with the Close connector so Scalekit handles the OAuth flow and token lifecycle for you. The connection name you create will be used to identify and invoke the connection programmatically.

  1. Create a Close OAuth app

    • Sign in to Close and go to SettingsDeveloperOAuth Apps.
    • Click Create New OAuth App.
    • Enter an app name and description.
    • In the Redirect URIs field, paste the redirect URI from Scalekit (see next step — you can come back to add it).

    • Copy your Client ID and Client Secret from the app detail page.
  2. Set up the connection in Scalekit

    • In Scalekit dashboard, go to Agent AuthCreate Connection.
    • Find Close and click Create.
    • Copy the Redirect URI shown — it looks like: https://<SCALEKIT_ENVIRONMENT_URL>/sso/v1/oauth/<CONNECTION_ID>/callback
    • Note the Connection name (e.g., close) — use this as connection_name in your code.

    • Return to your Close OAuth app and add the redirect URI you copied.
    • Back in Scalekit, enter your Client ID and Client Secret. Scopes are granted automatically by Close — no additional scope configuration is needed.
    • Click Save.
  3. Add a connected account

    Via dashboard (for testing)

    • In the connection page, click the Connected Accounts tab → Add account.
    • Enter a User ID and click Save. You will be redirected to Close to authorize access.

    Via API (for production)

    const { link } = await scalekit.actions.getAuthorizationLink({
    connectionName: 'close',
    identifier: 'user_123',
    });
    // Redirect your user to `link` to authorize access
    console.log('Authorize at:', link);

Once a connected account is authorized, make Close API calls through the Scalekit proxy — no OAuth flow needed per request.

Proxy API calls

import { ScalekitClient } from '@scalekit-sdk/node';
import 'dotenv/config';
const scalekit = new ScalekitClient(
process.env.SCALEKIT_ENV_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET
);
const actions = scalekit.actions;
// Fetch the authenticated user's profile
const me = await actions.request({
connectionName: 'close',
identifier: 'user_123',
path: '/api/v1/me/',
method: 'GET',
});
console.log(me);

Scalekit tools

Use execute_tool to call Close tools directly without constructing raw HTTP requests.

Basic example — get the current user

const me = await actions.executeTool({
toolName: 'close_me_get',
connectionName: 'close',
identifier: 'user_123',
toolInput: {},
});
console.log(me);

Advanced enrichment workflow

This example shows a complete lead enrichment pipeline: find a lead, attach activities, enroll in a sequence, and track progress — all in one automated flow.

import { ScalekitClient } from '@scalekit-sdk/node';
import 'dotenv/config';
const scalekit = new ScalekitClient(
process.env.SCALEKIT_ENV_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET
);
const actions = scalekit.actions;
const opts = { connectionName: 'close', identifier: 'user_123' };
async function enrichAndEnrollLead(companyName: string, contactEmail: string) {
// 1. Find or create the lead
const searchResult = await actions.executeTool({
toolName: 'close_leads_list',
...opts,
toolInput: { query: companyName, _limit: 1 },
});
let leadId: string;
if (searchResult.data.length > 0) {
leadId = searchResult.data[0].id;
console.log(`Found existing lead: ${leadId}`);
} else {
const newLead = await actions.executeTool({
toolName: 'close_lead_create',
...opts,
toolInput: { name: companyName },
});
leadId = newLead.id;
console.log(`Created lead: ${leadId}`);
}
// 2. Create a contact on the lead
const contact = await actions.executeTool({
toolName: 'close_contact_create',
...opts,
toolInput: {
lead_id: leadId,
name: contactEmail.split('@')[0],
emails: JSON.stringify([{ email: contactEmail, type: 'office' }]),
},
});
console.log(`Created contact: ${contact.id}`);
// 3. Create an opportunity on the lead
const pipelines = await actions.executeTool({
toolName: 'close_pipelines_list',
...opts,
toolInput: {},
});
const pipeline = pipelines.data[0];
const activeStatus = pipeline.statuses.find((s: any) => s.type === 'active');
if (!activeStatus) throw new Error('No active status found in pipeline');
const opportunity = await actions.executeTool({
toolName: 'close_opportunity_create',
...opts,
toolInput: {
lead_id: leadId,
status_id: activeStatus.id,
value: 500000, // $5,000.00 in cents
value_currency: 'USD',
value_period: 'one_time',
confidence: 30,
},
});
console.log(`Created opportunity: ${opportunity.id} — $${opportunity.value / 100}`);
// 4. Log a note summarizing the enrichment
await actions.executeTool({
toolName: 'close_note_create',
...opts,
toolInput: {
lead_id: leadId,
note: `Lead enriched automatically. Contact ${contactEmail} created. Opportunity ${opportunity.id} opened.`,
},
});
// 5. Create a follow-up task
const tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
await actions.executeTool({
toolName: 'close_task_create',
...opts,
toolInput: {
lead_id: leadId,
text: `Follow up with ${contactEmail}`,
date: tomorrow.toISOString().split('T')[0],
},
});
// 6. Enroll the contact in a sequence (if sequences exist)
const sequences = await actions.executeTool({
toolName: 'close_sequences_list',
...opts,
toolInput: { _limit: 1 },
});
if (sequences.data.length > 0) {
const subscription = await actions.executeTool({
toolName: 'close_sequence_subscription_create',
...opts,
toolInput: {
contact_id: contact.id,
sequence_id: sequences.data[0].id,
},
});
console.log(`Enrolled contact in sequence. Subscription: ${subscription.id}`);
}
return { leadId, contactId: contact.id, opportunityId: opportunity.id };
}
// Run the enrichment
enrichAndEnrollLead('Acme Corp', 'jane@acme.com').then(console.log);

Required scopes

Close OAuth apps automatically include both required scopes — no manual scope selection is needed.

ScopeRequired for
all.full_accessAll 81 tools (leads, contacts, opportunities, tasks, notes, calls, emails, SMS, pipelines, sequences, webhooks, users, custom fields)
offline_accessAll tools — enables the refresh token so sessions persist beyond 1 hour

Many tools require IDs that you must fetch first:

ResourceTool to get IDField in response
Lead IDclose_leads_listdata[].id
Contact IDclose_contacts_listdata[].id
Opportunity IDclose_opportunities_listdata[].id
Task IDclose_tasks_listdata[].id
Note IDclose_notes_listdata[].id
Call IDclose_calls_listdata[].id
Email IDclose_emails_listdata[].id
SMS IDclose_sms_listdata[].id
Pipeline IDclose_pipelines_listdata[].id
Sequence IDclose_sequences_listdata[].id
Sequence subscription IDclose_sequence_subscriptions_listdata[].id
User IDclose_users_listdata[].id
Comment IDclose_comments_list (requires paid plan)data[].id
Webhook IDclose_webhooks_listdata[].id
Custom field IDclose_custom_fields_lead_list, close_custom_fields_contact_list, close_custom_fields_opportunity_listdata[].id

The Close connector provides 81 tools covering the full CRM lifecycle.

List all activity types for a lead in Close (calls, emails, notes, SMS, etc.).

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID. Get it from close_leads_list.
contact_idstringNoFilter by contact ID. Get it from close_contacts_list.
user_idstringNoFilter by user ID. Get it from close_users_list.
_typestringNoActivity type: Note, Call, Email, Sms, etc.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_order_bystringNoSort field. Default: date_created.
_fieldsstringNoComma-separated list of fields to return.

Log an external call activity on a lead in Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead for this call. Get it from close_leads_list.
statusstringYesCall outcome: completed, no_answer, wrong_number, left_voicemail, etc.
contact_idstringNoID of the contact called.
directionstringNoCall direction: inbound or outbound.
durationintegerNoCall duration in seconds.
notestringNoNotes about the call.
phonestringNoPhone number called.
recording_urlstringNoHTTPS URL of the call recording.

Delete a call activity from Close.

NameTypeRequiredDescription
call_idstringYesID of the call to delete. Get it from close_calls_list.

Retrieve a single call activity by ID.

NameTypeRequiredDescription
call_idstringYesID of the call activity. Get it from close_calls_list.

Update a call activity’s note, status, or duration.

NameTypeRequiredDescription
call_idstringYesID of the call to update. Get it from close_calls_list.
notestringNoUpdated call notes.
statusstringNoUpdated call status.
durationintegerNoUpdated call duration in seconds.

List call activities in Close, optionally filtered by lead, contact, or user.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID. Get it from close_leads_list.
contact_idstringNoFilter by contact ID.
user_idstringNoFilter by user ID.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Post a comment on a Close object (lead, opportunity, etc.).

NameTypeRequiredDescription
object_idstringYesID of the object to comment on (e.g., a lead ID or opportunity ID).
bodystringYesComment text body.

Delete a comment from Close.

NameTypeRequiredDescription
comment_idstringYesID of the comment to delete. Get it from close_comments_list.

Retrieve a single comment by ID.

NameTypeRequiredDescription
comment_idstringYesID of the comment. Get it from close_comments_list.

Update the text of an existing comment.

NameTypeRequiredDescription
comment_idstringYesID of the comment to update. Get it from close_comments_list.
commentstringYesUpdated comment text.

List comments on an object. Provide either object_id or thread_id to filter results — both are optional but at least one is recommended by the API.

NameTypeRequiredDescription
object_idstringNoID of the object to fetch comments for (e.g., a lead or opportunity ID).
thread_idstringNoID of the comment thread.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Create a new contact in Close and associate it with a lead.

NameTypeRequiredDescription
lead_idstringYesID of the lead to associate this contact with. Get it from close_leads_list.
namestringNoFull name of the contact.
titlestringNoJob title of the contact.
emailsstringNoJSON array of email objects, e.g. [{"email": "jane@acme.com", "type": "office"}].
phonesstringNoJSON array of phone objects, e.g. [{"phone": "+1234567890", "type": "office"}].

Delete a contact from Close.

NameTypeRequiredDescription
contact_idstringYesID of the contact to delete. Get it from close_contacts_list.

Retrieve a single contact by ID from Close.

NameTypeRequiredDescription
contact_idstringYesID of the contact. Get it from close_contacts_list.
_fieldsstringNoComma-separated list of fields to return.

Update a contact’s name, title, phone numbers, or email addresses.

NameTypeRequiredDescription
contact_idstringYesID of the contact to update. Get it from close_contacts_list.
namestringNoNew full name.
titlestringNoNew job title.
emailsstringNoJSON array of email objects.
phonesstringNoJSON array of phone objects.

List contacts in Close, optionally filtered by lead.

NameTypeRequiredDescription
lead_idstringNoFilter contacts by lead ID. Get it from close_leads_list.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Create a new custom field for contacts in Close.

NameTypeRequiredDescription
namestringYesName of the custom field.
typestringYesField type: text, number, date, url, choices, etc.

Delete a contact custom field from Close.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to delete. Get it from close_custom_fields_contact_list.

Retrieve a single contact custom field by ID.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field. Get it from close_custom_fields_contact_list.

Update a contact custom field’s name or choices.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to update. Get it from close_custom_fields_contact_list.
namestringNoNew name for the custom field.

Create a new custom field for leads in Close.

NameTypeRequiredDescription
namestringYesName of the custom field.
typestringYesField type: text, number, date, url, choices, etc.

Delete a lead custom field from Close.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to delete. Get it from close_custom_fields_lead_list.

Retrieve a single lead custom field by ID.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field. Get it from close_custom_fields_lead_list.

Update a lead custom field’s name or choices.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to update. Get it from close_custom_fields_lead_list.
namestringNoNew name for the custom field.

Create a new custom field for opportunities in Close.

NameTypeRequiredDescription
namestringYesName of the custom field.
typestringYesField type: text, number, date, url, choices, etc.

Delete an opportunity custom field from Close.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to delete. Get it from close_custom_fields_opportunity_list.

Retrieve a single opportunity custom field by ID.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field. Get it from close_custom_fields_opportunity_list.

Update an opportunity custom field’s name or choices.

NameTypeRequiredDescription
custom_field_idstringYesID of the custom field to update. Get it from close_custom_fields_opportunity_list.
namestringNoNew name for the custom field.

List all custom fields defined for contacts in Close.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

List all custom fields defined for leads in Close.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

List all custom fields defined for opportunities in Close.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Log or send an email activity on a lead in Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead for this email. Get it from close_leads_list.
statusstringYesEmail status: inbox, draft, scheduled, outbox, sent.
contact_idstringNoID of the contact this email is for.
subjectstringNoEmail subject line.
body_textstringNoPlain text email body.
body_htmlstringNoHTML email body.
senderstringNoSender email address.
tostringNoJSON array of recipient emails, e.g. [{"email": "jane@acme.com"}].

Delete an email activity from Close.

NameTypeRequiredDescription
email_idstringYesID of the email to delete. Get it from close_emails_list.

Retrieve a single email activity by ID.

NameTypeRequiredDescription
email_idstringYesID of the email activity. Get it from close_emails_list.

Update an email activity’s status, subject, or body.

NameTypeRequiredDescription
email_idstringYesID of the email to update. Get it from close_emails_list.
statusstringNoNew email status: draft, scheduled, outbox, sent.
subjectstringNoNew subject line.
body_textstringNoNew plain text body.
body_htmlstringNoNew HTML body.

List email activities in Close, optionally filtered by lead or user.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID.
contact_idstringNoFilter by contact ID.
user_idstringNoFilter by user ID.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Create a new lead in Close with name, contacts, addresses, and custom fields.

NameTypeRequiredDescription
namestringYesName of the lead / company.
descriptionstringNoDescription or notes about the lead.
urlstringNoWebsite URL of the lead.
status_idstringNoLead status ID. Get it from close_leads_list (a field in each lead object).

Permanently delete a lead and all its associated data from Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead to delete. Get it from close_leads_list.

Retrieve a single lead by ID from Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead to retrieve. Get it from close_leads_list.
_fieldsstringNoComma-separated list of fields to return.

Merge two leads into one. The source lead’s data is merged into the destination lead and then deleted.

NameTypeRequiredDescription
sourcestringYesID of the lead to merge from (will be deleted). Get it from close_leads_list.
destinationstringYesID of the lead to merge into (will be kept). Get it from close_leads_list.

Update an existing lead’s name, status, description, or custom fields.

NameTypeRequiredDescription
lead_idstringYesID of the lead to update. Get it from close_leads_list.
namestringNoNew name for the lead.
descriptionstringNoUpdated description.
urlstringNoNew website URL.
status_idstringNoNew lead status ID.

List and search leads in Close. Supports full-text search and sorting.

NameTypeRequiredDescription
querystringNoFull-text search query to filter leads.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_order_bystringNoField to sort by. Prefix with - for descending (e.g., -date_created).
_fieldsstringNoComma-separated list of fields to return.

Retrieve information about the authenticated Close user — useful for getting the current user ID and organization details.

No required parameters.

Create a note activity on a lead in Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead to attach this note to. Get it from close_leads_list.
notestringYesNote body text (plain text).
contact_idstringNoID of the contact this note relates to.

Delete a note activity from Close.

NameTypeRequiredDescription
note_idstringYesID of the note to delete. Get it from close_notes_list.

Retrieve a single note activity by ID.

NameTypeRequiredDescription
note_idstringYesID of the note activity. Get it from close_notes_list.

Update the body text of a note activity.

NameTypeRequiredDescription
note_idstringYesID of the note to update. Get it from close_notes_list.
notestringYesUpdated note body text.

List note activities in Close, optionally filtered by lead or user.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID.
contact_idstringNoFilter by contact ID.
user_idstringNoFilter by user ID.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

List opportunities in Close, with optional filters by lead, user, or status.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID.
user_idstringNoFilter by assigned user ID.
status_idstringNoFilter by opportunity status ID. Get it from close_pipelines_liststatuses[].id.
status_typestringNoFilter by status type: active, won, or lost.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_order_bystringNoField to sort by. Prefix with - for descending.
_fieldsstringNoComma-separated list of fields to return.

Create a new opportunity (deal) in Close and associate it with a lead.

NameTypeRequiredDescription
lead_idstringYesID of the lead for this opportunity. Get it from close_leads_list.
status_idstringYesID of the opportunity status. Get it from close_pipelines_liststatuses[].id.
valueintegerNoMonetary value of the opportunity in cents (e.g., 500000 = $5,000).
value_currencystringNoCurrency code, e.g. USD.
value_periodstringNoBilling period: one_time, monthly, or annual.
confidenceintegerNoWin probability percentage (0–100).
expected_datestringNoExpected close date (YYYY-MM-DD).
date_wonstringNoDate won (YYYY-MM-DD), set when status is won.
notestringNoNote about this opportunity.

Delete an opportunity from Close.

NameTypeRequiredDescription
opportunity_idstringYesID of the opportunity to delete. Get it from close_opportunities_list.

Retrieve a single opportunity by ID from Close.

NameTypeRequiredDescription
opportunity_idstringYesID of the opportunity. Get it from close_opportunities_list.
_fieldsstringNoComma-separated list of fields to return.

Update an opportunity’s status, value, note, or confidence.

NameTypeRequiredDescription
opportunity_idstringYesID of the opportunity to update. Get it from close_opportunities_list.
status_idstringNoNew status ID. Get it from close_pipelines_liststatuses[].id.
valueintegerNoUpdated monetary value in cents.
value_currencystringNoCurrency code, e.g. USD.
value_periodstringNoBilling period: one_time, monthly, or annual.
confidenceintegerNoWin probability (0–100).
expected_datestringNoExpected close date (YYYY-MM-DD).
date_wonstringNoDate won (YYYY-MM-DD).
notestringNoUpdated note.

Create a new opportunity pipeline in Close.

NameTypeRequiredDescription
namestringYesName of the pipeline.

Delete a pipeline from Close.

NameTypeRequiredDescription
pipeline_idstringYesID of the pipeline to delete. Get it from close_pipelines_list.

Retrieve a single pipeline by ID.

NameTypeRequiredDescription
pipeline_idstringYesID of the pipeline. Get it from close_pipelines_list.

Update an existing pipeline’s name or statuses.

NameTypeRequiredDescription
pipeline_idstringYesID of the pipeline to update. Get it from close_pipelines_list.
namestringNoNew pipeline name.

List all opportunity pipelines in the Close organization. Each pipeline includes its statuses with IDs needed for opportunity tools.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Retrieve a single sequence by ID.

NameTypeRequiredDescription
sequence_idstringYesID of the sequence. Get it from close_sequences_list.

Enroll a contact in a Close email sequence.

NameTypeRequiredDescription
contact_idstringYesID of the contact to enroll. Get it from close_contacts_list.
sequence_idstringYesID of the sequence to enroll in. Get it from close_sequences_list.
sender_account_idstringNoID of the sender email account to use.

Retrieve a single sequence subscription by ID.

NameTypeRequiredDescription
subscription_idstringYesID of the subscription. Get it from close_sequence_subscriptions_list.

Pause or resume a contact’s sequence subscription.

NameTypeRequiredDescription
subscription_idstringYesID of the subscription to update. Get it from close_sequence_subscriptions_list.
pausebooleanNoSet to true to pause the subscription, false to resume.

List sequence subscriptions. The API requires at least one of lead_id, contact_id, or sequence_id to be provided to filter results.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID. Get it from close_leads_list.
contact_idstringNoFilter by contact ID. Get it from close_contacts_list.
sequence_idstringNoFilter by sequence ID. Get it from close_sequences_list.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

List email/activity sequences in Close.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Log or send an SMS activity on a lead in Close.

NameTypeRequiredDescription
lead_idstringYesID of the lead for this SMS. Get it from close_leads_list.
statusstringYesSMS status: inbox, draft, scheduled, outbox, sent.
contact_idstringNoID of the contact for this SMS.
textstringNoBody text of the SMS message.
local_phonestringNoYour local phone number to send from.
remote_phonestringNoRecipient phone number.

Delete an SMS activity from Close.

NameTypeRequiredDescription
sms_idstringYesID of the SMS to delete. Get it from close_sms_list.

Retrieve a single SMS activity by ID.

NameTypeRequiredDescription
sms_idstringYesID of the SMS activity. Get it from close_sms_list.

List SMS activities in Close, optionally filtered by lead or user.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID.
contact_idstringNoFilter by contact ID.
user_idstringNoFilter by user ID.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Update an SMS activity’s text or status.

NameTypeRequiredDescription
sms_idstringYesID of the SMS to update. Get it from close_sms_list.
textstringNoUpdated message text.
statusstringNoNew SMS status.

Create a new task in Close and assign it to a lead and user.

NameTypeRequiredDescription
lead_idstringYesID of the lead to associate this task with. Get it from close_leads_list.
textstringNoTask description / title.
datestringNoTask due date (YYYY-MM-DD or ISO 8601).
assigned_tostringNoUser ID to assign the task to. Get it from close_users_list.
is_completebooleanNoWhether the task is already complete.
_typestringNoTask type, default is lead.

Delete a task from Close.

NameTypeRequiredDescription
task_idstringYesID of the task to delete. Get it from close_tasks_list.

Retrieve a single task by ID from Close.

NameTypeRequiredDescription
task_idstringYesID of the task. Get it from close_tasks_list.
_fieldsstringNoComma-separated list of fields to return.

Update a task’s text, assigned user, due date, or completion status.

NameTypeRequiredDescription
task_idstringYesID of the task to update. Get it from close_tasks_list.
textstringNoNew task description.
datestringNoNew due date (YYYY-MM-DD).
assigned_tostringNoNew assigned user ID. Get it from close_users_list.
is_completebooleanNoMark task as complete or incomplete.

List tasks in Close. Filter by lead, assigned user, type, or completion status.

NameTypeRequiredDescription
lead_idstringNoFilter by lead ID.
assigned_tostringNoFilter by assigned user ID.
is_completebooleanNoFilter by completion: true or false.
_typestringNoTask type: lead, incoming_email, email, automated_email, outgoing_call.
viewstringNoPredefined view: inbox, future, or archive.
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_order_bystringNoSort field. Prefix with - for descending.
_fieldsstringNoComma-separated list of fields to return.

Retrieve a single user by ID from Close.

NameTypeRequiredDescription
user_idstringYesID of the user. Get it from close_users_list or close_me_get.
_fieldsstringNoComma-separated list of fields to return.

List all users in the Close organization.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.

Create a new webhook subscription to receive Close event notifications.

NameTypeRequiredDescription
urlstringYesHTTPS endpoint URL to receive webhook events.
eventsstringYesJSON array of event objects to subscribe to, e.g. [{"object_type":"lead","action":"created"}].
verify_sslbooleanNoWhether to verify SSL certificates (default: true).

Delete a webhook subscription from Close.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook to delete. Get it from close_webhooks_list.

Retrieve a single webhook subscription by ID.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook. Get it from close_webhooks_list.

Update a webhook subscription’s URL or event subscriptions.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook to update. Get it from close_webhooks_list.
urlstringNoNew HTTPS endpoint URL.
eventsstringNoNew JSON array of event objects.
verify_sslbooleanNoWhether to verify SSL certificates.

List all webhook subscriptions in Close.

NameTypeRequiredDescription
_limitintegerNoMaximum number of results to return.
_skipintegerNoNumber of results to skip (offset).
_fieldsstringNoComma-separated list of fields to return.