Close
Connect to Close to manage CRM leads, contacts, opportunities, activities, tasks, calls, emails, and reporting.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "CLOSE_ADD_MEMBER", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("CLOSE_ADD_MEMBER", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute CLOSE_ADD_MEMBER --data '{ }'Tool catalog
Available tools
295 callable operations
Add a User to a GroupCLOSE_ADD_MEMBERAdd a user to a group by providing the `user_id`. If the user is already a member, nothing changes.Connection
Add a user to a group by providing the `user_id`. If the user is already a member, nothing changes.
Authentication
Connected account requiredTags
Archive a playbookCLOSE_ARCHIVEArchive an existing playbook. Archived playbooks are hidden from active listings but retain their associated history.Connection
Archive an existing playbook. Archived playbooks are hidden from active listings but retain their associated history.
Authentication
Connected account requiredTags
Edit Send As Associations in bulkCLOSE_BULK_CREATEYou can allow and disallow many other users to send as you in a single command by supplying the user IDs you want to allow and disallow. Once completed, this endpoint returns all existing associations where your user is the allowing user.Connection
You can allow and disallow many other users to send as you in a single command by supplying the user IDs you want to allow and disallow. Once completed, this endpoint returns all existing associations where your user is the allowing user.
Authentication
Connected account requiredTags
Bulk-update tasksCLOSE_BULK_UPDATEAny of the filters of the GET endpoint may be used as query parameters or passed in the request body (see [Filter Parameters](https://developer.close.com/api/overview/filter-parameters)). For example: ```json {"_params": {"id__in": "task_A,task_B,task_C"}, "is_complete": true} ``` Only the `assigned_to`, `date` and `is_complete` fields may be updated.Connection
Any of the filters of the GET endpoint may be used as query parameters or passed in the request body (see [Filter Parameters](https://developer.close.com/api/overview/filter-parameters)). For example: ```json {"_params": {"id__in": "task_A,task_B,task_C"}, "is_complete": true} ``` Only the `assigned_to`, `date` and `is_complete` fields may be updated.
Authentication
Connected account requiredTags
Create a new leadCLOSE_CREATEContacts, addresses, and custom fields can all be nested in the lead. Activities, tasks, and opportunities must be posted separately. **status / status_id** (optional): Post either `status` or `status_id` (but not both). If neither is provided, the organization's default (first) status will be used. Using `status_id` is recommended so that users can rename statuses in the UI without breaking your implementation. **custom.FIELD_ID** (optional): Set custom fields by setting `custom.FIELD_ID` to the field value, where FIELD_ID is the ID of the custom field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": "value", "custom.cf_8wtBWsdRU2Fur7GDnEeXQ7ra2Vu7R4hG1SNYdiEhh0F": "other value" } ``` If a custom field has `accepts_multiple_values: true`, the entire value will be replaced. For example, given a Lead has a Custom Choice Field with value `["A", "B"]`, adding choice `"C"` would mean setting the value to `["A", "B", "C"]`. Note that using the `custom` field dict or the `custom.FIELD_NAME` syntax (instead of custom field IDs) is deprecated and will be removed from the API. See [Custom Fields](https://developer.close.com/api/resources/custom-fields) for more details.Connection
Contacts, addresses, and custom fields can all be nested in the lead. Activities, tasks, and opportunities must be posted separately. **status / status_id** (optional): Post either `status` or `status_id` (but not both). If neither is provided, the organization's default (first) status will be used. Using `status_id` is recommended so that users can rename statuses in the UI without breaking your implementation. **custom.FIELD_ID** (optional): Set custom fields by setting `custom.FIELD_ID` to the field value, where FIELD_ID is the ID of the custom field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": "value", "custom.cf_8wtBWsdRU2Fur7GDnEeXQ7ra2Vu7R4hG1SNYdiEhh0F": "other value" } ``` If a custom field has `accepts_multiple_values: true`, the entire value will be replaced. For example, given a Lead has a Custom Choice Field with value `["A", "B"]`, adding choice `"C"` would mean setting the value to `["A", "B", "C"]`. Note that using the `custom` field dict or the `custom.FIELD_NAME` syntax (instead of custom field IDs) is deprecated and will be removed from the API. See [Custom Fields](https://developer.close.com/api/resources/custom-fields) for more details.
Authentication
Connected account requiredTags
Associate a Shared Custom Field with an object typeCLOSE_CREATE_ASSOCIATIONAssociates a Shared Custom Field with an object type such as Lead, Contact, or Custom Activity Type. Once associated, the Shared Custom Field can be set on objects of that type. This endpoint accepts the following attributes: - `object_type` – can be one of: `lead`, `contact`, `opportunity`, `custom_activity_type`, `custom_object_type`. - `custom_activity_type_id` – ID of the Custom Activity Type that you want to associate this Shared Field with. Only relevant if you chose the `object_type` of `custom_activity_type`. - `custom_object_type_id` – ID of the Custom Object Type that you want to associate this Shared Field with. Only relevant if you chose the `object_type` of `custom_object_type`. - `editable_with_roles` – list of [Roles](https://developer.close.com/api/resources/roles) that can edit the values of this Field on the given object. Note that this is a per-association setting, meaning that editing of the Shared Custom Field can be restricted on one object and not restricted on another. - `required` – whether a value *must* be provided for this Field on the given object. Only relevant if you chose the `object_type` of `custom_activity_type` or `custom_object_type`. Note that this is a per-association setting, meaning that this Shared Custom Field can be required on one object and not required on another.Connection
Associates a Shared Custom Field with an object type such as Lead, Contact, or Custom Activity Type. Once associated, the Shared Custom Field can be set on objects of that type. This endpoint accepts the following attributes: - `object_type` – can be one of: `lead`, `contact`, `opportunity`, `custom_activity_type`, `custom_object_type`. - `custom_activity_type_id` – ID of the Custom Activity Type that you want to associate this Shared Field with. Only relevant if you chose the `object_type` of `custom_activity_type`. - `custom_object_type_id` – ID of the Custom Object Type that you want to associate this Shared Field with. Only relevant if you chose the `object_type` of `custom_object_type`. - `editable_with_roles` – list of [Roles](https://developer.close.com/api/resources/roles) that can edit the values of this Field on the given object. Note that this is a per-association setting, meaning that editing of the Shared Custom Field can be restricted on one object and not restricted on another. - `required` – whether a value *must* be provided for this Field on the given object. Only relevant if you chose the `object_type` of `custom_activity_type` or `custom_object_type`. Note that this is a per-association setting, meaning that this Shared Custom Field can be required on one object and not required on another.
Authentication
Connected account requiredTags
Create or update third-party Meeting integrationCLOSE_CREATE_INTEGRATIONPlease note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Third party integrations are presented as tabs titled with OAuth app name in the activity feed. When invoked for the first time with a given OAuth app a new integration is created, subsequent calls with the same OAuth app will update an existing integration. Submitting an empty JSON body does nothing.Connection
Please note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Third party integrations are presented as tabs titled with OAuth app name in the activity feed. When invoked for the first time with a given OAuth app a new integration is created, subsequent calls with the same OAuth app will update an existing integration. Submitting an empty JSON body does nothing.
Authentication
Connected account requiredTags
Export leads based on a search queryCLOSE_CREATE_LEADYou will receive a link to the generated file via email once the export is done. The exported file is GZIP compressed to make your download and our upload faster. The `content-encoding` HTTP header will be set to `gzip` and the `content-type` HTTP header will be set to `text/csv` for CSV exports or `application/json` for JSON exports. Parameters: - `s_query/results_limit/sort` (optional) - The [Advanced Filtering API](https://developer.close.com/api/resources/advanced-filtering) parameters used to narrow the exported results down. By default, all leads are exported. - `format` - Format of the exported file. The choices are: `csv`, `json`. JSON is recommended for raw backups or data migrations. - `type` - Type of the export. - `leads` - For CSV exports, it results in one row per lead. For JSON exports, this is the recommended type and is a superset of the other two types. - `contacts` - For CSV exports, it results in one row per contact. - `lead_opps` - For CSV exports, it results in one row per opportunity. - `date_format` (optional) - Controls the format of date objects. Note: this only works with the `csv` format. - `original` (default) - A date format that includes microseconds and timezone information. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss.sssss]±[hh]:[mm]` - `iso8601` (recommended) - An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible date representation that does not include microseconds. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]±[hh]:[mm]` - `excel` - An Excel compatible date format. Dates are always in UTC, do not include timezone information or microseconds, and use a 12 hour clock with an AM or PM designation. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss] [AM|PM]` - `fields` (optional) - By default we return all the data fields in each export type. If you only need specific fields exported, you can explicitly list them in `fields` to get smaller exports. - `include_activities` (optional) - Activities aren't included in any exports by default. If you want all your Activities exported as well, pass `"include_activities": true`. Note: this only works for `leads` type with `json` format. - `include_smart_fields` (optional) - Smart Fields aren't included in any exports by default. If you want all of them exported as well, pass `"include_smart_fields": true`. Note: this only works for `leads` type with `json` format or any type formatted as `csv`. Smart fields are calculated fields, like number of emails on a lead. - `send_done_email` - Set to `false` if you don't want to get a confirmation email after the bulk action is done.Connection
You will receive a link to the generated file via email once the export is done. The exported file is GZIP compressed to make your download and our upload faster. The `content-encoding` HTTP header will be set to `gzip` and the `content-type` HTTP header will be set to `text/csv` for CSV exports or `application/json` for JSON exports. Parameters: - `s_query/results_limit/sort` (optional) - The [Advanced Filtering API](https://developer.close.com/api/resources/advanced-filtering) parameters used to narrow the exported results down. By default, all leads are exported. - `format` - Format of the exported file. The choices are: `csv`, `json`. JSON is recommended for raw backups or data migrations. - `type` - Type of the export. - `leads` - For CSV exports, it results in one row per lead. For JSON exports, this is the recommended type and is a superset of the other two types. - `contacts` - For CSV exports, it results in one row per contact. - `lead_opps` - For CSV exports, it results in one row per opportunity. - `date_format` (optional) - Controls the format of date objects. Note: this only works with the `csv` format. - `original` (default) - A date format that includes microseconds and timezone information. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss.sssss]±[hh]:[mm]` - `iso8601` (recommended) - An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible date representation that does not include microseconds. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]±[hh]:[mm]` - `excel` - An Excel compatible date format. Dates are always in UTC, do not include timezone information or microseconds, and use a 12 hour clock with an AM or PM designation. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss] [AM|PM]` - `fields` (optional) - By default we return all the data fields in each export type. If you only need specific fields exported, you can explicitly list them in `fields` to get smaller exports. - `include_activities` (optional) - Activities aren't included in any exports by default. If you want all your Activities exported as well, pass `"include_activities": true`. Note: this only works for `leads` type with `json` format. - `include_smart_fields` (optional) - Smart Fields aren't included in any exports by default. If you want all of them exported as well, pass `"include_smart_fields": true`. Note: this only works for `leads` type with `json` format or any type formatted as `csv`. Smart fields are calculated fields, like number of emails on a lead. - `send_done_email` - Set to `false` if you don't want to get a confirmation email after the bulk action is done.
Authentication
Connected account requiredTags
Export opportunities, based on opportunity filtersCLOSE_CREATE_OPPORTUNITYParameters: - `params` (optional) - A dictionary of filters, which would be used for the `/opportunity/` endpoint. - `format` - Format of the exported file. The choices are: `csv`, `json` - `date_format` (optional) - Controls the format of date objects. Note: this only works with the `csv` format. - `original` (default) - A date format that includes microseconds and timezone information. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss.sssss]±[hh]:[mm]` - `iso8601` (recommended) - An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible date representation that does not include microseconds. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]±[hh]:[mm]` - `excel` - An Excel compatible date format. Dates are always in UTC, do not include timezone information or microseconds, and use a 12 hour clock with an AM or PM designation. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss] [AM|PM]` - `fields` (optional) - By default we return all the data fields. If you only need specific fields exported, you can explicitly list them in fields to get smaller exports. - `send_done_email` - Set to `false` if you don't want to get a confirmation email after the bulk action is done.Connection
Parameters: - `params` (optional) - A dictionary of filters, which would be used for the `/opportunity/` endpoint. - `format` - Format of the exported file. The choices are: `csv`, `json` - `date_format` (optional) - Controls the format of date objects. Note: this only works with the `csv` format. - `original` (default) - A date format that includes microseconds and timezone information. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss.sssss]±[hh]:[mm]` - `iso8601` (recommended) - An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible date representation that does not include microseconds. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]±[hh]:[mm]` - `excel` - An Excel compatible date format. Dates are always in UTC, do not include timezone information or microseconds, and use a 12 hour clock with an AM or PM designation. - Date: `[YYYY]-[MM]-[DD]` - Date w/ time: `[YYYY]-[MM]-[DD] [hh]:[mm]:[ss] [AM|PM]` - `fields` (optional) - By default we return all the data fields. If you only need specific fields exported, you can explicitly list them in fields to get smaller exports. - `send_done_email` - Set to `false` if you don't want to get a confirmation email after the bulk action is done.
Authentication
Connected account requiredTags
Create a Shared Scheduling LinkCLOSE_CREATE_SHAREDCreate a Shared Scheduling LinkConnection
Create a Shared Scheduling Link
Authentication
Connected account requiredTags
Map a Shared Scheduling LinkCLOSE_CREATE_SHARED_ASSOCIATIONMap a Shared Scheduling Link to either a User Scheduling Link or a URL. See the examples below for both mapping options.Connection
Map a Shared Scheduling Link to either a User Scheduling Link or a URL. See the examples below for both mapping options.
Authentication
Connected account requiredTags
Subscribe a Contact to a SequenceCLOSE_CREATE_SUBSCRIPTIONSubscribe a Contact to a SequenceConnection
Subscribe a Contact to a Sequence
Authentication
Connected account requiredTags
Delete a leadCLOSE_DELETEDelete a leadConnection
Delete a lead
Authentication
Connected account requiredTags
Delete a Call activityCLOSE_DELETE_ACTIVITY_CALL_IDDelete a Call activityConnection
Delete a Call activity
Authentication
Connected account requiredTags
Delete a Custom Activity instanceCLOSE_DELETE_ACTIVITY_CUSTOM_IDDelete a Custom Activity instanceConnection
Delete a Custom Activity instance
Authentication
Connected account requiredTags
Delete an Email activityCLOSE_DELETE_ACTIVITY_EMAIL_IDDelete an Email activityConnection
Delete an Email activity
Authentication
Connected account requiredTags
Delete an EmailThread activityCLOSE_DELETE_ACTIVITY_EMAILTHREAD_IDThis will also delete all the email activities belonging to this thread.Connection
This will also delete all the email activities belonging to this thread.
Authentication
Connected account requiredTags
Delete a FormSubmission activityCLOSE_DELETE_ACTIVITY_FORM_SUBMISSION_IDDelete a FormSubmission activityConnection
Delete a FormSubmission activity
Authentication
Connected account requiredTags
Delete a Meeting activityCLOSE_DELETE_ACTIVITY_MEETING_IDDelete a Meeting activityConnection
Delete a Meeting activity
Authentication
Connected account requiredTags
Delete a Note activityCLOSE_DELETE_ACTIVITY_NOTE_IDDelete a Note activityConnection
Delete a Note activity
Authentication
Connected account requiredTags
Delete an SMS activityCLOSE_DELETE_ACTIVITY_SMS_IDDelete an SMS activityConnection
Delete an SMS activity
Authentication
Connected account requiredTags
Delete a single LeadStatusChange activityCLOSE_DELETE_ACTIVITY_STATUS_CHANGE_LEAD_IDDeleting a LeadStatusChange does not change the status of the Lead. It only removes the status change event from the Lead's activity feed. It should only be used if the status change is irrelevant (such as records for a change that has been reverted) and having it in the activity feed is causing integration problems with another system.Connection
Deleting a LeadStatusChange does not change the status of the Lead. It only removes the status change event from the Lead's activity feed. It should only be used if the status change is irrelevant (such as records for a change that has been reverted) and having it in the activity feed is causing integration problems with another system.
Authentication
Connected account requiredTags
Delete a single OpportunityStatusChange activityCLOSE_DELETE_ACTIVITY_STATUS_CHANGE_OPPORTUNITY_IDDeleting an OpportunityStatusChange does not change the status of the Opportunity. It only removes the status change event from the Lead's activity feed. It should only be used if the status change is irrelevant (such as records for a change that has been reverted) and having it in the activity feed is causing integration problems with another system.Connection
Deleting an OpportunityStatusChange does not change the status of the Opportunity. It only removes the status change event from the Lead's activity feed. It should only be used if the status change is irrelevant (such as records for a change that has been reverted) and having it in the activity feed is causing integration problems with another system.
Authentication
Connected account requiredTags
Delete a TaskCompleted activityCLOSE_DELETE_ACTIVITY_TASK_COMPLETED_IDDelete a TaskCompleted activityConnection
Delete a TaskCompleted activity
Authentication
Connected account requiredTags
Delete a WhatsAppMessage activityCLOSE_DELETE_ACTIVITY_WHATSAPP_MESSAGE_IDDelete a WhatsAppMessage activityConnection
Delete a WhatsAppMessage activity
Authentication
Connected account requiredTags
Disassociate a Shared Custom Field from an object typeCLOSE_DELETE_ASSOCIATIONRemove the association between a shared custom field and an object type. The field will immediately disappear from API responses for that object type and all stored values will be permanently deleted. The `object_type` in the URL can be `lead`, `contact`, `opportunity`, `custom_activity_type/<catype_id>`, or `custom_object_type/<cotype_id>`. If the field was `required` on the associated type, removing the association also removes that requirement.Connection
Remove the association between a shared custom field and an object type. The field will immediately disappear from API responses for that object type and all stored values will be permanently deleted. The `object_type` in the URL can be `lead`, `contact`, `opportunity`, `custom_activity_type/<catype_id>`, or `custom_object_type/<cotype_id>`. If the field was `required` on the associated type, removing the association also removes that requirement.
Authentication
Connected account requiredTags
Delete a Blocked Phone NumberCLOSE_DELETE_BLOCKED_PHONE_NUMBER_IDOnce the given Blocked Phone Number record is deleted, the specified " "phone number will again be able to make calls into your organization " "and you'll be able to make calls to it.Connection
Once the given Blocked Phone Number record is deleted, the specified " "phone number will again be able to make calls into your organization " "and you'll be able to make calls to it.
Authentication
Connected account requiredTags
Delete a Send As Association by allowed userCLOSE_DELETE_BY_USERThe `allowing_user_id` must be equal to your user ID. Supply both the `allowing_user_id` and the `allowed_user_id` to delete an association by those users.Connection
The `allowing_user_id` must be equal to your user ID. Supply both the `allowing_user_id` and the `allowed_user_id` to delete an association by those users.
Authentication
Connected account requiredTags
Remove a commentCLOSE_DELETE_COMMENT_IDNote that contrary to the HTTP verb, this does not necessarily _delete_ a comment (but it will _remove_ it). Comments bodies are removed, but the comment object still exists until all comments in a thread are removed (at which point the entire thread is deleted). Permissions around removing comments inherit from the users permission to delete their own or other users' activities.Connection
Note that contrary to the HTTP verb, this does not necessarily _delete_ a comment (but it will _remove_ it). Comments bodies are removed, but the comment object still exists until all comments in a thread are removed (at which point the entire thread is deleted). Permissions around removing comments inherit from the users permission to delete their own or other users' activities.
Authentication
Connected account requiredTags
Delete a contactCLOSE_DELETE_CONTACT_IDDelete a contactConnection
Delete a contact
Authentication
Connected account requiredTags
Delete a Custom Activity TypeCLOSE_DELETE_CUSTOM_ACTIVITY_IDDelete a Custom Activity TypeConnection
Delete a Custom Activity Type
Authentication
Connected account requiredTags
Delete an Activity Custom FieldCLOSE_DELETE_CUSTOM_FIELD_ACTIVITY_IDDelete an activity custom field. The field will immediately disappear from API responses and values on existing activities will be permanently removed.Connection
Delete an activity custom field. The field will immediately disappear from API responses and values on existing activities will be permanently removed.
Authentication
Connected account requiredTags
Delete a Contact Custom FieldCLOSE_DELETE_CUSTOM_FIELD_CONTACT_IDDelete a contact custom field. The field will immediately disappear from API responses and values on existing contacts will be permanently removed.Connection
Delete a contact custom field. The field will immediately disappear from API responses and values on existing contacts will be permanently removed.
Authentication
Connected account requiredTags
Delete a Custom Object Custom FieldCLOSE_DELETE_CUSTOM_FIELD_CUSTOM_OBJECT_TYPE_IDDelete a custom field from a custom object type. The field will immediately disappear from API responses and values on existing custom object instances will be permanently removed.Connection
Delete a custom field from a custom object type. The field will immediately disappear from API responses and values on existing custom object instances will be permanently removed.
Authentication
Connected account requiredTags
Delete a Lead Custom FieldCLOSE_DELETE_CUSTOM_FIELD_LEAD_IDDelete a lead custom field. The field will immediately disappear from API responses and values on existing leads will be permanently removed.Connection
Delete a lead custom field. The field will immediately disappear from API responses and values on existing leads will be permanently removed.
Authentication
Connected account requiredTags
Delete an Opportunity Custom FieldCLOSE_DELETE_CUSTOM_FIELD_OPPORTUNITY_IDDelete an opportunity custom field. The field will immediately disappear from API responses and values on existing opportunities will be permanently removed.Connection
Delete an opportunity custom field. The field will immediately disappear from API responses and values on existing opportunities will be permanently removed.
Authentication
Connected account requiredTags
Delete a Shared Custom FieldCLOSE_DELETE_CUSTOM_FIELD_SHARED_IDDelete a shared custom field and all its associations. The field will immediately disappear from API responses and values on all associated object types will be permanently removed.Connection
Delete a shared custom field and all its associations. The field will immediately disappear from API responses and values on all associated object types will be permanently removed.
Authentication
Connected account requiredTags
Delete a Custom Object instanceCLOSE_DELETE_CUSTOM_OBJECT_IDDelete a Custom Object instanceConnection
Delete a Custom Object instance
Authentication
Connected account requiredTags
Delete a Custom Object TypeCLOSE_DELETE_CUSTOM_OBJECT_TYPE_IDDelete a Custom Object TypeConnection
Delete a Custom Object Type
Authentication
Connected account requiredTags
Delete an email templateCLOSE_DELETE_EMAIL_TEMPLATE_IDDelete an email templateConnection
Delete an email template
Authentication
Connected account requiredTags
Delete a GroupCLOSE_DELETE_GROUP_IDDelete a group. Members will be removed from the group but not from the organization. Deletion is only allowed if the group is not referenced by saved reports or smart views.Connection
Delete a group. Members will be removed from the group but not from the organization. Deletion is only allowed if the group is not referenced by saved reports or smart views.
Authentication
Connected account requiredTags
Delete a User Scheduling Link via OAuth integrationCLOSE_DELETE_INTEGRATIONPlease note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Uses the `source_id` field to identify and delete the specified User Scheduling Link created by your OAuth Application.Connection
Please note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Uses the `source_id` field to identify and delete the specified User Scheduling Link created by your OAuth Application.
Authentication
Connected account requiredTags
Delete an integration linkCLOSE_DELETE_INTEGRATION_LINK_IDDelete an integration linkConnection
Delete an integration link
Authentication
Connected account requiredTags
Delete a membershipCLOSE_DELETE_MEMBERSHIP_IDDeactivates a membership, removing the user from the associated organization.Connection
Deactivates a membership, removing the user from the associated organization.
Authentication
Connected account requiredTags
Delete an opportunityCLOSE_DELETE_OPPORTUNITY_IDDelete an opportunityConnection
Delete an opportunity
Authentication
Connected account requiredTags
Delete an outcomeCLOSE_DELETE_OUTCOME_IDDelete an existing outcome. All of the calls and/or meetings associated with this outcome will still retain that reference, but you won't be able to set that outcome on any new calls & meetings nor find its definition in the API.Connection
Delete an existing outcome. All of the calls and/or meetings associated with this outcome will still retain that reference, but you won't be able to set that outcome on any new calls & meetings nor find its definition in the API.
Authentication
Connected account requiredTags
Delete a phone numberCLOSE_DELETE_PHONE_NUMBER_IDYou need the "Manage Group Phone Numbers" permission to delete a group number. You can only delete your own personal numbers.Connection
You need the "Manage Group Phone Numbers" permission to delete a group number. You can only delete your own personal numbers.
Authentication
Connected account requiredTags
Delete a PipelineCLOSE_DELETE_PIPELINE_IDDeletion is only allowed if the Pipeline doesn't contain any Opportunity Statuses. Delete all statuses first or move them to another pipeline.Connection
Deletion is only allowed if the Pipeline doesn't contain any Opportunity Statuses. Delete all statuses first or move them to another pipeline.
Authentication
Connected account requiredTags
Delete a playbookCLOSE_DELETE_PLAYBOOK_IDDelete an existing playbook.Connection
Delete an existing playbook.
Authentication
Connected account requiredTags
Delete a roleCLOSE_DELETE_ROLE_IDDelete a custom role. You must first move all users off this role by reassigning them to another role.Connection
Delete a custom role. You must first move all users off this role by reassigning them to another role.
Authentication
Connected account requiredTags
Delete a Smart ViewCLOSE_DELETE_SAVED_SEARCH_IDDelete a Smart ViewConnection
Delete a Smart View
Authentication
Connected account requiredTags
Delete a User Scheduling LinkCLOSE_DELETE_SCHEDULING_LINK_IDDelete a User Scheduling LinkConnection
Delete a User Scheduling Link
Authentication
Connected account requiredTags
Delete a Send As Association by IDCLOSE_DELETE_SEND_AS_IDDelete a Send As Association by IDConnection
Delete a Send As Association by ID
Authentication
Connected account requiredTags
Delete a SequenceCLOSE_DELETE_SEQUENCE_IDDelete a SequenceConnection
Delete a Sequence
Authentication
Connected account requiredTags
Delete a Shared Scheduling LinkCLOSE_DELETE_SHAREDDelete a Shared Scheduling LinkConnection
Delete a Shared Scheduling Link
Authentication
Connected account requiredTags
Unmap a Shared Scheduling LinkCLOSE_DELETE_SHARED_ASSOCIATIONUnmap a Shared Scheduling LinkConnection
Unmap a Shared Scheduling Link
Authentication
Connected account requiredTags
Delete an SMS templateCLOSE_DELETE_SMS_TEMPLATE_IDDelete an SMS templateConnection
Delete an SMS template
Authentication
Connected account requiredTags
Delete a lead statusCLOSE_DELETE_STATUS_LEAD_IDYou should make sure no leads are assigned this status, first.Connection
You should make sure no leads are assigned this status, first.
Authentication
Connected account requiredTags
Delete an opportunity statusCLOSE_DELETE_STATUS_OPPORTUNITY_IDYou should make sure no opportunities are assigned this status, first.Connection
You should make sure no opportunities are assigned this status, first.
Authentication
Connected account requiredTags
Delete a Sequence SubscriptionCLOSE_DELETE_SUBSCRIPTIONUnsubscribe a contact from a sequence by deleting their subscription.Connection
Unsubscribe a contact from a sequence by deleting their subscription.
Authentication
Connected account requiredTags
Delete a taskCLOSE_DELETE_TASK_IDDelete a taskConnection
Delete a task
Authentication
Connected account requiredTags
Resubscribe an email addressCLOSE_DELETE_UNSUBSCRIBE_EMAIL_EMAIL_ADDRESSResubscribe an email addressConnection
Resubscribe an email address
Authentication
Connected account requiredTags
Delete Webhook subscriptionCLOSE_DELETE_WEBHOOK_IDDelete Webhook subscriptionConnection
Delete Webhook subscription
Authentication
Connected account requiredTags
Retrieve a FormCLOSE_FETCHRetrieve a single form and its published field definitions by ID.Connection
Retrieve a single form and its published field definitions by ID.
Authentication
Connected account requiredTags
Get a single LeadCLOSE_GETGet a single LeadConnection
Get a single Lead
Authentication
Connected account requiredTags
Get an activity reportCLOSE_GET_ACTIVITYThe activity report returns the organization's metrics per time period (**overview** report) or user (**comparison** report). Every report accepts the following parameters: * `datetime_range`: a time range to fetch data for. Either this field or `relative_range` needs to be specified. * `relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `datetime_range` needs to be specified. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs to limit the report results to. This parameter is *optional*. * `type`: the type of the report. The available values are `overview` and `comparison`. This parameter is *mandatory*. * `metrics`: a list of metrics (see [List Activity Metrics](/api/resources/reporting/list-activity-metrics)) to fetch for the report. This parameter is *mandatory*. The report can be requested either in a JSON format or in a CSV file. The format can be specified with the `accept` header.Connection
The activity report returns the organization's metrics per time period (**overview** report) or user (**comparison** report). Every report accepts the following parameters: * `datetime_range`: a time range to fetch data for. Either this field or `relative_range` needs to be specified. * `relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `datetime_range` needs to be specified. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs to limit the report results to. This parameter is *optional*. * `type`: the type of the report. The available values are `overview` and `comparison`. This parameter is *mandatory*. * `metrics`: a list of metrics (see [List Activity Metrics](/api/resources/reporting/list-activity-metrics)) to fetch for the report. This parameter is *mandatory*. The report can be requested either in a JSON format or in a CSV file. The format can be specified with the `accept` header.
Authentication
Connected account requiredTags
List or filter all Call activitiesCLOSE_GET_ACTIVITY_CALLList or filter all Call activitiesConnection
List or filter all Call activities
Authentication
Connected account requiredTags
Get a single Call activityCLOSE_GET_ACTIVITY_CALL_IDGet a single Call activityConnection
Get a single Call activity
Authentication
Connected account requiredTags
List or filter all Created activitiesCLOSE_GET_ACTIVITY_CREATEDList or filter all Created activitiesConnection
List or filter all Created activities
Authentication
Connected account requiredTags
Get a single Created activityCLOSE_GET_ACTIVITY_CREATED_IDGet a single Created activityConnection
Get a single Created activity
Authentication
Connected account requiredTags
List or filter all Custom Activity instancesCLOSE_GET_ACTIVITY_CUSTOMCustom Fields appear in the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-activity). If you're filtering by `custom_activity_type_id` or `custom_activity_type_id__in` parameter, the `lead_id` parameter will be required as well. If you want to retrieve all Custom Activity instances of a specific type regardless of the lead, you will need to get leads that contain such an activity type using [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) and provide those Lead IDs one at a time to this endpoint.Connection
Custom Fields appear in the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-activity). If you're filtering by `custom_activity_type_id` or `custom_activity_type_id__in` parameter, the `lead_id` parameter will be required as well. If you want to retrieve all Custom Activity instances of a specific type regardless of the lead, you will need to get leads that contain such an activity type using [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) and provide those Lead IDs one at a time to this endpoint.
Authentication
Connected account requiredTags
Get a single Custom Activity instanceCLOSE_GET_ACTIVITY_CUSTOM_IDGet a single Custom Activity instanceConnection
Get a single Custom Activity instance
Authentication
Connected account requiredTags
List or filter all Email activitiesCLOSE_GET_ACTIVITY_EMAILYou'll get one object per email message.Connection
You'll get one object per email message.
Authentication
Connected account requiredTags
Get a single Email activityCLOSE_GET_ACTIVITY_EMAIL_IDGet a single Email activityConnection
Get a single Email activity
Authentication
Connected account requiredTags
List or filter all EmailThread activitiesCLOSE_GET_ACTIVITY_EMAILTHREADYou'll get one object per email conversation (generally grouped by subject).Connection
You'll get one object per email conversation (generally grouped by subject).
Authentication
Connected account requiredTags
Get a single EmailThread activityCLOSE_GET_ACTIVITY_EMAILTHREAD_IDGet a single EmailThread activityConnection
Get a single EmailThread activity
Authentication
Connected account requiredTags
List or filter all FormSubmission activitiesCLOSE_GET_ACTIVITY_FORM_SUBMISSIONGet a list of matching FormSubmission activities. In addition to standard Activity filtering parameters, you can filter by specific form(s) using the `form_id` or `form_id__in` parameters.Connection
Get a list of matching FormSubmission activities. In addition to standard Activity filtering parameters, you can filter by specific form(s) using the `form_id` or `form_id__in` parameters.
Authentication
Connected account requiredTags
Get a single FormSubmission activityCLOSE_GET_ACTIVITY_FORM_SUBMISSION_IDGet a single FormSubmission activityConnection
Get a single FormSubmission activity
Authentication
Connected account requiredTags
List or filter all LeadMerge activitiesCLOSE_GET_ACTIVITY_LEAD_MERGEList or filter all LeadMerge activitiesConnection
List or filter all LeadMerge activities
Authentication
Connected account requiredTags
Get a single LeadMerge activityCLOSE_GET_ACTIVITY_LEAD_MERGE_IDGet a single LeadMerge activityConnection
Get a single LeadMerge activity
Authentication
Connected account requiredTags
List or filter all Meeting activitiesCLOSE_GET_ACTIVITY_MEETINGList or filter all Meeting activitiesConnection
List or filter all Meeting activities
Authentication
Connected account requiredTags
Get a single Meeting activityCLOSE_GET_ACTIVITY_MEETING_IDMeeting transcripts can be accessed using this API but are not loaded by default. To load transcripts, use the `_fields` parameter with `transcripts` value. The `transcripts` field is an array of objects for each Close Notetaker bot that joined the meeting. Typically, there will be only one transcript. Transcripts are ordered by the time bots joined the meeting. Example transcripts in response: ```json { "transcripts": [ { "utterances": [ { "speaker_label": "John Lead", "speaker_side": "contact", "start": 0.1, "end": 1.2, "text": "Hey, what's up? How is it going?" }, { "speaker_label": "Jane User", "speaker_side": "close-user", "start": 1.3, "end": 2.4, "text": "Hey John, I'm doing great. How about you?" } ], "summary_text": "Summary text", "summary_html": "<p>Summary text</p>" } ] } ```Connection
Meeting transcripts can be accessed using this API but are not loaded by default. To load transcripts, use the `_fields` parameter with `transcripts` value. The `transcripts` field is an array of objects for each Close Notetaker bot that joined the meeting. Typically, there will be only one transcript. Transcripts are ordered by the time bots joined the meeting. Example transcripts in response: ```json { "transcripts": [ { "utterances": [ { "speaker_label": "John Lead", "speaker_side": "contact", "start": 0.1, "end": 1.2, "text": "Hey, what's up? How is it going?" }, { "speaker_label": "Jane User", "speaker_side": "close-user", "start": 1.3, "end": 2.4, "text": "Hey John, I'm doing great. How about you?" } ], "summary_text": "Summary text", "summary_html": "<p>Summary text</p>" } ] } ```
Authentication
Connected account requiredTags
List or filter all Note activitiesCLOSE_GET_ACTIVITY_NOTEList or filter all Note activitiesConnection
List or filter all Note activities
Authentication
Connected account requiredTags
Get a single Note activityCLOSE_GET_ACTIVITY_NOTE_IDGet a single Note activityConnection
Get a single Note activity
Authentication
Connected account requiredTags
List or filter all SMS activitiesCLOSE_GET_ACTIVITY_SMSGet a list of matching SMS activities. MMS messages are considered SMS messages with attachments. Attachments have identical fields to email attachments (`url`, `filename`, `size` and `content_type`), a `media_id` uniquely identifying an attachment, and if Close was able to generate a thumbnail, a `thumbnail_url` too. Accessing `url` or `thumbnail_url` requires an authenticated session and leads to a temporarily signed S3 URL.Connection
Get a list of matching SMS activities. MMS messages are considered SMS messages with attachments. Attachments have identical fields to email attachments (`url`, `filename`, `size` and `content_type`), a `media_id` uniquely identifying an attachment, and if Close was able to generate a thumbnail, a `thumbnail_url` too. Accessing `url` or `thumbnail_url` requires an authenticated session and leads to a temporarily signed S3 URL.
Authentication
Connected account requiredTags
Get a single SMS activityCLOSE_GET_ACTIVITY_SMS_IDGet a single SMS activityConnection
Get a single SMS activity
Authentication
Connected account requiredTags
List or filter all LeadStatusChange activitiesCLOSE_GET_ACTIVITY_STATUS_CHANGE_LEADList or filter all LeadStatusChange activitiesConnection
List or filter all LeadStatusChange activities
Authentication
Connected account requiredTags
Get a single LeadStatusChange activityCLOSE_GET_ACTIVITY_STATUS_CHANGE_LEAD_IDGet a single LeadStatusChange activityConnection
Get a single LeadStatusChange activity
Authentication
Connected account requiredTags
List or filter all OpportunityStatusChange activitiesCLOSE_GET_ACTIVITY_STATUS_CHANGE_OPPORTUNITYList or filter all OpportunityStatusChange activitiesConnection
List or filter all OpportunityStatusChange activities
Authentication
Connected account requiredTags
Get a single OpportunityStatusChange activityCLOSE_GET_ACTIVITY_STATUS_CHANGE_OPPORTUNITY_IDGet a single OpportunityStatusChange activityConnection
Get a single OpportunityStatusChange activity
Authentication
Connected account requiredTags
List or filter all TaskCompleted activitiesCLOSE_GET_ACTIVITY_TASK_COMPLETEDList or filter all TaskCompleted activitiesConnection
List or filter all TaskCompleted activities
Authentication
Connected account requiredTags
Get a single TaskCompleted activityCLOSE_GET_ACTIVITY_TASK_COMPLETED_IDGet a single TaskCompleted activityConnection
Get a single TaskCompleted activity
Authentication
Connected account requiredTags
List or filter all WhatsAppMessage activitiesCLOSE_GET_ACTIVITY_WHATSAPP_MESSAGEFilter by `external_whatsapp_message_id` to find messages to update or delete based on changes in WhatsApp.Connection
Filter by `external_whatsapp_message_id` to find messages to update or delete based on changes in WhatsApp.
Authentication
Connected account requiredTags
Get a single WhatsAppMessage activityCLOSE_GET_ACTIVITY_WHATSAPP_MESSAGE_IDGet a single WhatsAppMessage activityConnection
Get a single WhatsAppMessage activity
Authentication
Connected account requiredTags
Fetch a Shared Custom Field AssociationCLOSE_GET_ASSOCIATIONFetch a Shared Custom Field AssociationConnection
Fetch a Shared Custom Field Association
Authentication
Connected account requiredTags
List Blocked Phone NumbersCLOSE_GET_BLOCKED_PHONE_NUMBERList Blocked Phone NumbersConnection
List Blocked Phone Numbers
Authentication
Connected account requiredTags
Retrieve a single Blocked Phone NumberCLOSE_GET_BLOCKED_PHONE_NUMBER_IDRetrieve a single Blocked Phone NumberConnection
Retrieve a single Blocked Phone Number
Authentication
Connected account requiredTags
List bulk deletesCLOSE_GET_BULK_ACTION_DELETEList bulk deletesConnection
List bulk deletes
Authentication
Connected account requiredTags
Fetch a single bulk delete objectCLOSE_GET_BULK_ACTION_DELETE_IDFetch a single bulk delete objectConnection
Fetch a single bulk delete object
Authentication
Connected account requiredTags
List bulk editsCLOSE_GET_BULK_ACTION_EDITList bulk editsConnection
List bulk edits
Authentication
Connected account requiredTags
Fetch a single bulk edit objectCLOSE_GET_BULK_ACTION_EDIT_IDFetch a single bulk edit objectConnection
Fetch a single bulk edit object
Authentication
Connected account requiredTags
List bulk emailsCLOSE_GET_BULK_ACTION_EMAILList bulk emailsConnection
List bulk emails
Authentication
Connected account requiredTags
Fetch a single bulk email objectCLOSE_GET_BULK_ACTION_EMAIL_IDFetch a single bulk email objectConnection
Fetch a single bulk email object
Authentication
Connected account requiredTags
List bulk sequence subscriptionsCLOSE_GET_BULK_ACTION_SEQUENCE_SUBSCRIPTIONList bulk sequence subscriptionsConnection
List bulk sequence subscriptions
Authentication
Connected account requiredTags
Fetch a single bulk sequence subscription objectCLOSE_GET_BULK_ACTION_SEQUENCE_SUBSCRIPTION_IDFetch a single bulk sequence subscription objectConnection
Fetch a single bulk sequence subscription object
Authentication
Connected account requiredTags
Fetch multiple commentsCLOSE_GET_COMMENTComments may be fetched by `object_id` (the object that was commented on) or by `thread_id`. Exactly one of those filters must be provided. Comments on leads the requestor cannot see are omitted from the response.Connection
Comments may be fetched by `object_id` (the object that was commented on) or by `thread_id`. Exactly one of those filters must be provided. Comments on leads the requestor cannot see are omitted from the response.
Authentication
Connected account requiredTags
Fetch an individual commentCLOSE_GET_COMMENT_IDA `404` is returned both when the comment does not exist and when the requestor cannot see its lead.Connection
A `404` is returned both when the comment does not exist and when the requestor cannot see its lead.
Authentication
Connected account requiredTags
List connected accountsCLOSE_GET_CONNECTED_ACCOUNTYou can filter down to a specific user by passing the `?user_id` query parameter.Connection
You can filter down to a specific user by passing the `?user_id` query parameter.
Authentication
Connected account requiredTags
Fetch a single connected accountCLOSE_GET_CONNECTED_ACCOUNT_IDFetch a single connected accountConnection
Fetch a single connected account
Authentication
Connected account requiredTags
List contactsCLOSE_GET_CONTACTList contactsConnection
List contacts
Authentication
Connected account requiredTags
Fetch a single contactCLOSE_GET_CONTACT_IDFetch a single contactConnection
Fetch a single contact
Authentication
Connected account requiredTags
Get custom report (Explorer)CLOSE_GET_CUSTOMThis endpoint returns data that allows graphing of arbitrary metrics and is what powers "Explorer" in the UI. - `query` is an optional search query filter. When reporting on leads, any regular lead search query may be used. When reporting on activities or opportunities, only properties of the chosen object type may be used. For example, `direction:incoming` may be used if `x` starts with `email.`. Defaults to `*`, which includes all objects. - `y` is made up of the object type and field which is reported on the Y axis. For example the value `lead.count` (used by default) may be used to graph the number of leads, or a numeric field may be used. Examples: `call.duration` (for call length), `opportunity.value` (for value of opportunities). - `x` is the field which is reported on the X axis, for example "lead.custom.MRR" or "opportunity.date_created". - `interval`: Graph interval, i.e. the precision of the X axis. For time based graphs (`x` is a date field), one of `auto`, `hour`, `day`, `week`, `month`, `quarter`, `year` (defaults to `auto`, which is chosen based on `start` and `end`). For graphs with a numeric X axis, an integer number can be specified to indicate the histogram interval (`auto` by default). - `group_by`: Optional field name by which the report will be grouped. When grouping, a separate series will be returned for each group. By default no grouping is applied. - `transform_y`: Transformation function that gets applied to the `y` parameter. One of `sum` (default), `avg`, `min`, or `max`. Does not apply for `.count` `y` values if `x` is of the same object type. - `start`: Date or integer of the start of the X axis range. For dates, defaults to the date of creation of your organization. - `end`: Date or integer of the end of the X axis range. For dates, defaults to now. To get a full list of fields that can be used, do a GET to `/report/custom/fields/`. Only the `number` data type can be used for the `y` parameter.Connection
This endpoint returns data that allows graphing of arbitrary metrics and is what powers "Explorer" in the UI. - `query` is an optional search query filter. When reporting on leads, any regular lead search query may be used. When reporting on activities or opportunities, only properties of the chosen object type may be used. For example, `direction:incoming` may be used if `x` starts with `email.`. Defaults to `*`, which includes all objects. - `y` is made up of the object type and field which is reported on the Y axis. For example the value `lead.count` (used by default) may be used to graph the number of leads, or a numeric field may be used. Examples: `call.duration` (for call length), `opportunity.value` (for value of opportunities). - `x` is the field which is reported on the X axis, for example "lead.custom.MRR" or "opportunity.date_created". - `interval`: Graph interval, i.e. the precision of the X axis. For time based graphs (`x` is a date field), one of `auto`, `hour`, `day`, `week`, `month`, `quarter`, `year` (defaults to `auto`, which is chosen based on `start` and `end`). For graphs with a numeric X axis, an integer number can be specified to indicate the histogram interval (`auto` by default). - `group_by`: Optional field name by which the report will be grouped. When grouping, a separate series will be returned for each group. By default no grouping is applied. - `transform_y`: Transformation function that gets applied to the `y` parameter. One of `sum` (default), `avg`, `min`, or `max`. Does not apply for `.count` `y` values if `x` is of the same object type. - `start`: Date or integer of the start of the X axis range. For dates, defaults to the date of creation of your organization. - `end`: Date or integer of the end of the X axis range. For dates, defaults to now. To get a full list of fields that can be used, do a GET to `/report/custom/fields/`. Only the `number` data type can be used for the `y` parameter.
Authentication
Connected account requiredTags
List Custom Activity TypesCLOSE_GET_CUSTOM_ACTIVITYList all custom activity types defined in the organization. The response includes all Custom Activity Types, including their Custom Field metadata.Connection
List all custom activity types defined in the organization. The response includes all Custom Activity Types, including their Custom Field metadata.
Authentication
Connected account requiredTags
Retrieve a single Custom Activity TypeCLOSE_GET_CUSTOM_ACTIVITY_IDThe response contains the Custom Activity Type including most Custom Field metadata.Connection
The response contains the Custom Activity Type including most Custom Field metadata.
Authentication
Connected account requiredTags
List Activity Custom FieldsCLOSE_GET_CUSTOM_FIELD_ACTIVITYList all the activity custom fields for your organization.Connection
List all the activity custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Activity Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_ACTIVITY_IDFetch Activity Custom Field's detailsConnection
Fetch Activity Custom Field's details
Authentication
Connected account requiredTags
List Contact Custom FieldsCLOSE_GET_CUSTOM_FIELD_CONTACTList all the contact custom fields for your organization.Connection
List all the contact custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Contact Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_CONTACT_IDFetch Contact Custom Field's detailsConnection
Fetch Contact Custom Field's details
Authentication
Connected account requiredTags
List Custom Object Custom FieldsCLOSE_GET_CUSTOM_FIELD_CUSTOM_OBJECT_TYPEList all the custom object custom fields for your organization.Connection
List all the custom object custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Custom Object Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_CUSTOM_OBJECT_TYPE_IDFetch Custom Object Custom Field's detailsConnection
Fetch Custom Object Custom Field's details
Authentication
Connected account requiredTags
List Lead Custom FieldsCLOSE_GET_CUSTOM_FIELD_LEADList all the lead custom fields for your organization.Connection
List all the lead custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Lead Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_LEAD_IDFetch Lead Custom Field's detailsConnection
Fetch Lead Custom Field's details
Authentication
Connected account requiredTags
List Opportunity Custom FieldsCLOSE_GET_CUSTOM_FIELD_OPPORTUNITYList all the opportunity custom fields for your organization.Connection
List all the opportunity custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Opportunity Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_OPPORTUNITY_IDFetch Opportunity Custom Field's detailsConnection
Fetch Opportunity Custom Field's details
Authentication
Connected account requiredTags
Retrieve a custom field schemaCLOSE_GET_CUSTOM_FIELD_SCHEMA_OBJECT_TYPERetrieve a custom field schemaConnection
Retrieve a custom field schema
Authentication
Connected account requiredTags
List Shared Custom FieldsCLOSE_GET_CUSTOM_FIELD_SHAREDList all the shared custom fields for your organization.Connection
List all the shared custom fields for your organization.
Authentication
Connected account requiredTags
Fetch Shared Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_SHARED_IDFetch Shared Custom Field's detailsConnection
Fetch Shared Custom Field's details
Authentication
Connected account requiredTags
List Custom Object instancesCLOSE_GET_CUSTOM_OBJECTThe `lead_id` parameter is required. If you want to retrieve all Custom Object instances regardless of the lead, you will need to use [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering). Custom Fields values appear in the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object). Back references to each Custom Object are not collected in this response. If you need to access this information, please use the `back_reference_fields` on the Custom Object Type and [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) to search for objects that reference the Custom Object Instance.Connection
The `lead_id` parameter is required. If you want to retrieve all Custom Object instances regardless of the lead, you will need to use [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering). Custom Fields values appear in the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object). Back references to each Custom Object are not collected in this response. If you need to access this information, please use the `back_reference_fields` on the Custom Object Type and [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) to search for objects that reference the Custom Object Instance.
Authentication
Connected account requiredTags
Retrieve a single Custom Object instanceCLOSE_GET_CUSTOM_OBJECT_IDRetrieve a single Custom Object instanceConnection
Retrieve a single Custom Object instance
Authentication
Connected account requiredTags
List Custom Object TypesCLOSE_GET_CUSTOM_OBJECT_TYPEThe response will include all Custom Object Types, including Custom Field metadata for your organization. Each Custom Object Type has two lists of Custom Fields. The `fields` property contains the list of fields that belong to the Custom Object Type. The `back_reference_fields` property contains the list of any objects (Leads, Contacts, Opportunities, Custom Activities, Custom Objects) that reference the Custom Object Type.Connection
The response will include all Custom Object Types, including Custom Field metadata for your organization. Each Custom Object Type has two lists of Custom Fields. The `fields` property contains the list of fields that belong to the Custom Object Type. The `back_reference_fields` property contains the list of any objects (Leads, Contacts, Opportunities, Custom Activities, Custom Objects) that reference the Custom Object Type.
Authentication
Connected account requiredTags
Retrieve a single Custom Object TypeCLOSE_GET_CUSTOM_OBJECT_TYPE_IDRetrieve a single custom object type by ID. The response contains the Custom Object Type including most Custom Field metadata.Connection
Retrieve a single custom object type by ID. The response contains the Custom Object Type including most Custom Field metadata.
Authentication
Connected account requiredTags
List or filter all dialer sessionsCLOSE_GET_DIALERList or filter all dialer sessionsConnection
List or filter all dialer sessions
Authentication
Connected account requiredTags
Get a single dialer sessionCLOSE_GET_DIALER_IDOnce you have a `source_value` for a dialer session and `source_type=saved-search`, you can use the [saved_search endpoint](https://developer.close.com/api/resources/smart-views/get) to find out more information about the Smart View being used.Connection
Once you have a `source_value` for a dialer session and `source_type=saved-search`, you can use the [saved_search endpoint](https://developer.close.com/api/resources/smart-views/get) to find out more information about the Smart View being used.
Authentication
Connected account requiredTags
List email templatesCLOSE_GET_EMAIL_TEMPLATEList email templatesConnection
List email templates
Authentication
Connected account requiredTags
Fetch an email templateCLOSE_GET_EMAIL_TEMPLATE_IDFetch an email templateConnection
Fetch an email template
Authentication
Connected account requiredTags
Retrieve a list of eventsCLOSE_GET_EVENTThe list of available object types and actions is available [here](https://developer.close.com/api/resources/events/list-of-event-types). The event log can be filtered by the following parameters: - `date_updated`: The date/time of when the event was last updated, in ISO format. Can be filtered by range (`date_updated__gte=X&date_updated__lte=Y`). Note: For pagination, it is recommended to use cursors instead of this filter (see below). - `object_type`: If specified, only events for objects of a given type are returned. Example: `object_type=lead` - `object_id`: If specified, only events for the given object are returned. No related object events are returned. Example: `object_id=lead_123` - `action`: Only events of specified actions are returned. Example: `action=deleted` - `lead_id`: If specified, events for the given lead, including any of its related objects (contacts, activities, opportunities, tasks) are returned. - `user_id`: Only return events of the given user. - `request_id`: Only events emitted while processing this specific API request. Only certain combinations of filters are supported. `date_updated` can be optionally used with any allowed filter combination. Supported combinations are: - `object_type` and `object_id` - `object_type` and `action` - `object_id` and `action` - `lead_id` and `object_type` - `lead_id`, `object_type` and `action` - `lead_id`, `user_id` and `object_type` - `lead_id`, `user_id`, `object_type` and `action` - `lead_id` and `user_id` - `user_id` and `object_id` - `user_id`, `object_id` and `action` - `user_id` and `object_type` - `user_id`, `object_type` and `action` - Just `lead_id` - Just `user_id` - Just `request_id` The response is a dictionary with the following fields: - `data`: A list of events (dictionaries), using the format outlined in “Event format”. - `cursor_next`: Cursor string to retrieve the next page of events, i.e. events before the given ID (earlier date), or `null` if no more objects are available. - `cursor_previous`: Cursor string to retrieve the previous page of events, i.e. events after the given ID (later date), or `null` if no more objects are available. Events are always ordered by date (latest first), i.e. the `date_updated` field. Note that even though `date_created` and `date_updated` may only have millisecond-precision, two or more events for the same object are guaranteed to be returned in the proper order. The endpoint supports the following parameters for pagination, and does *not* support `_skip`: - `_cursor`: Pagination using a cursor string (`cursor_next` or `cursor_previous` from a previous response). Note that you still need to supply any other filters (except for `date_updated`) that were used in the previous query. - `_limit`: Maximum number of events to return (capped at and defaulting to 50). Cursors are a reliable way to go to the next or previous page of events (unlike filtering by `date_updated`, where you may need to account for and filter out multiple events happening in the same millisecond). However, cursors are not designed to stream new events: Events may be visible through the API in a different order than they were triggered (but the ordering returned by the API is correct). Also, event consolidation of multiple recent events to the same object may occur. To avoid missing recent events when paginating, we recommend to scan the latest five minutes of events. In the example response, to retrieve the next older batch of events, specify `_cursor=cursor2`.Connection
The list of available object types and actions is available [here](https://developer.close.com/api/resources/events/list-of-event-types). The event log can be filtered by the following parameters: - `date_updated`: The date/time of when the event was last updated, in ISO format. Can be filtered by range (`date_updated__gte=X&date_updated__lte=Y`). Note: For pagination, it is recommended to use cursors instead of this filter (see below). - `object_type`: If specified, only events for objects of a given type are returned. Example: `object_type=lead` - `object_id`: If specified, only events for the given object are returned. No related object events are returned. Example: `object_id=lead_123` - `action`: Only events of specified actions are returned. Example: `action=deleted` - `lead_id`: If specified, events for the given lead, including any of its related objects (contacts, activities, opportunities, tasks) are returned. - `user_id`: Only return events of the given user. - `request_id`: Only events emitted while processing this specific API request. Only certain combinations of filters are supported. `date_updated` can be optionally used with any allowed filter combination. Supported combinations are: - `object_type` and `object_id` - `object_type` and `action` - `object_id` and `action` - `lead_id` and `object_type` - `lead_id`, `object_type` and `action` - `lead_id`, `user_id` and `object_type` - `lead_id`, `user_id`, `object_type` and `action` - `lead_id` and `user_id` - `user_id` and `object_id` - `user_id`, `object_id` and `action` - `user_id` and `object_type` - `user_id`, `object_type` and `action` - Just `lead_id` - Just `user_id` - Just `request_id` The response is a dictionary with the following fields: - `data`: A list of events (dictionaries), using the format outlined in “Event format”. - `cursor_next`: Cursor string to retrieve the next page of events, i.e. events before the given ID (earlier date), or `null` if no more objects are available. - `cursor_previous`: Cursor string to retrieve the previous page of events, i.e. events after the given ID (later date), or `null` if no more objects are available. Events are always ordered by date (latest first), i.e. the `date_updated` field. Note that even though `date_created` and `date_updated` may only have millisecond-precision, two or more events for the same object are guaranteed to be returned in the proper order. The endpoint supports the following parameters for pagination, and does *not* support `_skip`: - `_cursor`: Pagination using a cursor string (`cursor_next` or `cursor_previous` from a previous response). Note that you still need to supply any other filters (except for `date_updated`) that were used in the previous query. - `_limit`: Maximum number of events to return (capped at and defaulting to 50). Cursors are a reliable way to go to the next or previous page of events (unlike filtering by `date_updated`, where you may need to account for and filter out multiple events happening in the same millisecond). However, cursors are not designed to stream new events: Events may be visible through the API in a different order than they were triggered (but the ordering returned by the API is correct). Also, event consolidation of multiple recent events to the same object may occur. To avoid missing recent events when paginating, we recommend to scan the latest five minutes of events. In the example response, to retrieve the next older batch of events, specify `_cursor=cursor2`.
Authentication
Connected account requiredTags
Retrieve a single event by IDCLOSE_GET_EVENT_IDThe response contains a dictionary with a single event, using the format outlined in “Event format”.Connection
The response contains a dictionary with a single event, using the format outlined in “Event format”.
Authentication
Connected account requiredTags
List all the exportsCLOSE_GET_EXPORTList all the exportsConnection
List all the exports
Authentication
Connected account requiredTags
Get a single ExportCLOSE_GET_EXPORT_IDYou can get a single export to do things like check its `status` or get a `download_url` - `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.Connection
You can get a single export to do things like check its `status` or get a `download_url` - `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.
Authentication
Connected account requiredTags
List FormsCLOSE_GET_FORMList all forms and their published field definitions for your organization.Connection
List all forms and their published field definitions for your organization.
Authentication
Connected account requiredTags
Get a funnel report (stages)CLOSE_GET_FUNNEL_STAGESThe opportunity funnel "stages" report returns the pipeline funnel's metrics for the selected opportunities, aggregated (JSON format only) and per-user (JSON and CSV formats). Every report accepts the following parameters: * `pipeline`: ID of the pipeline defining the funnel statuses. * `type`: the type of the report. The available values are `created-cohort` and `active-stage-cohort`. * `report_relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `report_datetime_range`: a time range to fetch data for. * `cohort_relative_range`: a relative time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `cohort_datetime_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `cohort_datetime_range`: a time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. Either this field or `cohort_relative_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `compared_relative_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_relative_range` (for `active-stage-cohort` reports) or `cohort_relative_range` (for `created-cohort` reports). The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `compared_datetime_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_datetime_range` (for `active-stage-cohort` reports) or `cohort_datetime_range` (for `created-cohort` reports). The allowed values are: `same-days-last-week`, `same-days-last-month`, `same-days-last-quarter`, `same-days-last-year`. * `compared_custom_range`: a time range to fetch comparison data for. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs or group IDs to limit the report results to. When it's empty, the report will include all the available users. This parameter is *optional*. The report can be requested either in JSON format or in CSV format. The format can be specified with the `accept` header. In JSON format, it includes aggregated and per-user data. When requested in CSV format, it includes only per-user data. When `compared_datetime_range`, `compared_relative_range`, or `compared_custom_range` are used, the report returned is the compared one, not the base one.Connection
The opportunity funnel "stages" report returns the pipeline funnel's metrics for the selected opportunities, aggregated (JSON format only) and per-user (JSON and CSV formats). Every report accepts the following parameters: * `pipeline`: ID of the pipeline defining the funnel statuses. * `type`: the type of the report. The available values are `created-cohort` and `active-stage-cohort`. * `report_relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `report_datetime_range`: a time range to fetch data for. * `cohort_relative_range`: a relative time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `cohort_datetime_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `cohort_datetime_range`: a time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. Either this field or `cohort_relative_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `compared_relative_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_relative_range` (for `active-stage-cohort` reports) or `cohort_relative_range` (for `created-cohort` reports). The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `compared_datetime_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_datetime_range` (for `active-stage-cohort` reports) or `cohort_datetime_range` (for `created-cohort` reports). The allowed values are: `same-days-last-week`, `same-days-last-month`, `same-days-last-quarter`, `same-days-last-year`. * `compared_custom_range`: a time range to fetch comparison data for. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs or group IDs to limit the report results to. When it's empty, the report will include all the available users. This parameter is *optional*. The report can be requested either in JSON format or in CSV format. The format can be specified with the `accept` header. In JSON format, it includes aggregated and per-user data. When requested in CSV format, it includes only per-user data. When `compared_datetime_range`, `compared_relative_range`, or `compared_custom_range` are used, the report returned is the compared one, not the base one.
Authentication
Connected account requiredTags
Get a funnel report (totals)CLOSE_GET_FUNNEL_TOTALSThe opportunity funnel "totals" report returns the pipeline funnel's metrics for the selected opportunities, aggregated (JSON format only) and per-user (JSON and CSV formats). Every report accepts the following parameters: * `pipeline`: ID of the pipeline defining the funnel statuses. * `type`: the type of the report. The available values are `created-cohort` and `active-stage-cohort`. * `report_relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `report_datetime_range`: a time range to fetch data for. * `cohort_relative_range`: a relative time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `cohort_datetime_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `cohort_datetime_range`: a time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. Either this field or `cohort_relative_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `compared_relative_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_relative_range` (for `active-stage-cohort` reports) or `cohort_relative_range` (for `created-cohort` reports). The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `compared_datetime_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_datetime_range` (for `active-stage-cohort` reports) or `cohort_datetime_range` (for `created-cohort` reports). The allowed values are: `same-days-last-week`, `same-days-last-month`, `same-days-last-quarter`, `same-days-last-year`. * `compared_custom_range`: a time range to fetch comparison data for. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs or group IDs to limit the report results to. When it's empty, the report will include all the available users. This parameter is *optional*. The report can be requested either in JSON format or in CSV format. The format can be specified with the `accept` header. In JSON format, it includes aggregated and per-user data. When requested in CSV format, it includes only per-user data. When `compared_datetime_range`, `compared_relative_range`, or `compared_custom_range` are used, the report returned is the compared one, not the base one.Connection
The opportunity funnel "totals" report returns the pipeline funnel's metrics for the selected opportunities, aggregated (JSON format only) and per-user (JSON and CSV formats). Every report accepts the following parameters: * `pipeline`: ID of the pipeline defining the funnel statuses. * `type`: the type of the report. The available values are `created-cohort` and `active-stage-cohort`. * `report_relative_range`: a relative time range to fetch data for. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `report_datetime_range`: a time range to fetch data for. * `cohort_relative_range`: a relative time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. Either this field or `cohort_datetime_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `cohort_datetime_range`: a time range defining the cohort of created opportunities to fetch data for, by date of creation of those opportunities. Either this field or `cohort_relative_range` needs to be specified for `created-cohort` reports. Its value will be ignored for `active-stage-cohort` reports. * `compared_relative_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_relative_range` (for `active-stage-cohort` reports) or `cohort_relative_range` (for `created-cohort` reports). The allowed values are: `today`, `this-week`, `this-month`, `this-quarter`, `this-year`, `yesterday`, `last-week`, `last-month`, `last-quarter`, `last-year`, and `all-time`. * `compared_datetime_range`: a relative time range to fetch comparison data for. Only allowed in combination with `report_datetime_range` (for `active-stage-cohort` reports) or `cohort_datetime_range` (for `created-cohort` reports). The allowed values are: `same-days-last-week`, `same-days-last-month`, `same-days-last-quarter`, `same-days-last-year`. * `compared_custom_range`: a time range to fetch comparison data for. * `query`: a query to apply to the report to filter out data. The value of the field is a dictionary with the key `type` and any type-specific keys. For now only the type `saved_search` is allowed which takes the extra key `saved_search_id` to specify the ID of a saved search. This parameter is *optional*. * `users`: a list of user IDs or group IDs to limit the report results to. When it's empty, the report will include all the available users. This parameter is *optional*. The report can be requested either in JSON format or in CSV format. The format can be specified with the `accept` header. In JSON format, it includes aggregated and per-user data. When requested in CSV format, it includes only per-user data. When `compared_datetime_range`, `compared_relative_range`, or `compared_custom_range` are used, the report returned is the compared one, not the base one.
Authentication
Connected account requiredTags
List Groups for your organizationCLOSE_GET_GROUPNote that list endpoint does not support retrieving members for all groups. Use individual group endpoint instead.Connection
Note that list endpoint does not support retrieving members for all groups. Use individual group endpoint instead.
Authentication
Connected account requiredTags
Fetch an individual GroupCLOSE_GET_GROUP_IDFetch an individual GroupConnection
Fetch an individual Group
Authentication
Connected account requiredTags
Get all integration links for your organizationCLOSE_GET_INTEGRATION_LINKGet all integration links for your organizationConnection
Get all integration links for your organization
Authentication
Connected account requiredTags
Get a single integration linkCLOSE_GET_INTEGRATION_LINK_IDGet a single integration linkConnection
Get a single integration link
Authentication
Connected account requiredTags
Get a single Lead ExportCLOSE_GET_LEADGet a single lead export to do things like check its `status` or get a `download_url`. `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.Connection
Get a single lead export to do things like check its `status` or get a `download_url`. `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.
Authentication
Connected account requiredTags
Get lead status change reportCLOSE_GET_LEAD_STATUSESGet a lead status change report. The date range is optional. A report may be requested for a specific time period or overall. You can specify either a `query` or `smart_view_id` (but not both) to filter leads included in the report. The following fields are returned (when requesting an overall report, some inapplicable fields will not be returned): * `status_overview`: A list of all statuses with: * `status_id`, `status_label`, `status_is_deleted`: The ID and label of the status, and whether it was deleted. * `started`: Number of leads in this status at the start of the period. * `ended`: Number in this status at the end. * `change`: Net change during the period (`ended` minus `started`). * `change_percent`: Net change in percent. * `gained`: Number that were not in this status at the beginning but were at the end. * `lost`: Number that were in this status at the beginning but were not at the end. * `entered`: Number that entered this status at some point during the period. * `left`: Number that left this status at some point during the period. * `_queries`: A dictionary containing search queries for the different states (`started`, `ended`, `gained`, `lost`, `entered`, `left`). * `_leads_page_urls`: A dictionary containing paths to the lead search UI page. * `status_transitions`: A list of all status transitions (aggregated by start/end status) for the given period with: * `from_status_id`, `from_status_label`, `from_status_is_deleted`: Starting status (null for created leads). * `to_status_id`, `to_status_label`, `to_status_is_deleted`: Ending status. * `count`: The number that transitioned. * `_query`: The search query for those records. * `_leads_page_url`: Path to the search UI page. * `status_transitions_summary`: Status transitions summarized for the period. E.g. a lead that went A→B→C is counted as A→C.Connection
Get a lead status change report. The date range is optional. A report may be requested for a specific time period or overall. You can specify either a `query` or `smart_view_id` (but not both) to filter leads included in the report. The following fields are returned (when requesting an overall report, some inapplicable fields will not be returned): * `status_overview`: A list of all statuses with: * `status_id`, `status_label`, `status_is_deleted`: The ID and label of the status, and whether it was deleted. * `started`: Number of leads in this status at the start of the period. * `ended`: Number in this status at the end. * `change`: Net change during the period (`ended` minus `started`). * `change_percent`: Net change in percent. * `gained`: Number that were not in this status at the beginning but were at the end. * `lost`: Number that were in this status at the beginning but were not at the end. * `entered`: Number that entered this status at some point during the period. * `left`: Number that left this status at some point during the period. * `_queries`: A dictionary containing search queries for the different states (`started`, `ended`, `gained`, `lost`, `entered`, `left`). * `_leads_page_urls`: A dictionary containing paths to the lead search UI page. * `status_transitions`: A list of all status transitions (aggregated by start/end status) for the given period with: * `from_status_id`, `from_status_label`, `from_status_is_deleted`: Starting status (null for created leads). * `to_status_id`, `to_status_label`, `to_status_is_deleted`: Ending status. * `count`: The number that transitioned. * `_query`: The search query for those records. * `_leads_page_url`: Path to the search UI page. * `status_transitions_summary`: Status transitions summarized for the period. E.g. a lead that went A→B→C is counted as A→C.
Authentication
Connected account requiredTags
Fetch information about yourselfCLOSE_GET_MEA special instance of the Users endpoint for the current user. Useful for determining your own `id` and `organization_id`.Connection
A special instance of the Users endpoint for the current user. Useful for determining your own `id` and `organization_id`.
Authentication
Connected account requiredTags
Get a single Opportunity ExportCLOSE_GET_OPPORTUNITYGet a single opportunity export to do things like check its `status` or get a `download_url`. `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.Connection
Get a single opportunity export to do things like check its `status` or get a `download_url`. `status` can have one of these values: `created`, `started`, `in_progress`, `done`, `error`.
Authentication
Connected account requiredTags
Retrieve an opportunityCLOSE_GET_OPPORTUNITY_IDRetrieve an opportunityConnection
Retrieve an opportunity
Authentication
Connected account requiredTags
Get opportunity status change reportCLOSE_GET_OPPORTUNITY_STATUSESGet an opportunity status change report. The date range is optional. A report may be requested for a specific time period or overall. You can specify either a `query` or `smart_view_id` (but not both) to filter opportunities included in the report. The report may optionally be filtered by the opportunity user. The following fields are returned (when requesting an overall report, some inapplicable fields will not be returned): * `status_overview`: A list of all statuses with: * `status_id`, `status_label`, `status_is_deleted`: The ID and label of the status, and whether it was deleted. * `started`: Number of opportunities in this status at the start of the period. * `ended`: Number in this status at the end. * `change`: Net change during the period (`ended` minus `started`). * `change_percent`: Net change in percent. * `gained`: Number that were not in this status at the beginning but were at the end. * `lost`: Number that were in this status at the beginning but were not at the end. * `entered`: Number that entered this status at some point during the period. * `left`: Number that left this status at some point during the period. * `_queries`: A dictionary containing search queries for the different states (`started`, `ended`, `gained`, `lost`, `entered`, `left`). Search queries are wrapped in a nested `opportunity(...)` clause. To pass the query to the opportunities API endpoint, use only the query within the parentheses. * `_leads_page_urls`: A dictionary containing paths to the lead search UI page. * `_opportunities_page_urls`: A dictionary containing paths to the opportunity UI page. * `status_transitions`: A list of all status transitions (aggregated by start/end status) for the given period with: * `from_status_id`, `from_status_label`, `from_status_is_deleted`: Starting status (null for created opportunities). * `to_status_id`, `to_status_label`, `to_status_is_deleted`: Ending status. * `count`: The number that transitioned. * `_query`: The search query for those records. * `_leads_page_url`: Path to the search UI page. * `_opportunities_page_url`: Path to the opportunity UI page. * `status_transitions_summary`: Status transitions summarized for the period. E.g. an opportunity that went A→B→C is counted as A→C.Connection
Get an opportunity status change report. The date range is optional. A report may be requested for a specific time period or overall. You can specify either a `query` or `smart_view_id` (but not both) to filter opportunities included in the report. The report may optionally be filtered by the opportunity user. The following fields are returned (when requesting an overall report, some inapplicable fields will not be returned): * `status_overview`: A list of all statuses with: * `status_id`, `status_label`, `status_is_deleted`: The ID and label of the status, and whether it was deleted. * `started`: Number of opportunities in this status at the start of the period. * `ended`: Number in this status at the end. * `change`: Net change during the period (`ended` minus `started`). * `change_percent`: Net change in percent. * `gained`: Number that were not in this status at the beginning but were at the end. * `lost`: Number that were in this status at the beginning but were not at the end. * `entered`: Number that entered this status at some point during the period. * `left`: Number that left this status at some point during the period. * `_queries`: A dictionary containing search queries for the different states (`started`, `ended`, `gained`, `lost`, `entered`, `left`). Search queries are wrapped in a nested `opportunity(...)` clause. To pass the query to the opportunities API endpoint, use only the query within the parentheses. * `_leads_page_urls`: A dictionary containing paths to the lead search UI page. * `_opportunities_page_urls`: A dictionary containing paths to the opportunity UI page. * `status_transitions`: A list of all status transitions (aggregated by start/end status) for the given period with: * `from_status_id`, `from_status_label`, `from_status_is_deleted`: Starting status (null for created opportunities). * `to_status_id`, `to_status_label`, `to_status_is_deleted`: Ending status. * `count`: The number that transitioned. * `_query`: The search query for those records. * `_leads_page_url`: Path to the search UI page. * `_opportunities_page_url`: Path to the opportunity UI page. * `status_transitions_summary`: Status transitions summarized for the period. E.g. an opportunity that went A→B→C is counted as A→C.
Authentication
Connected account requiredTags
Get an organization's detailsCLOSE_GET_ORGANIZATION_IDBy default, `memberships` and `inactive_memberships` are populated with user data prefixed with `user_`. If you'd rather have a nested `user` field, use a query string like `?_expand=memberships__user,inactive_memberships__user`.Connection
By default, `memberships` and `inactive_memberships` are populated with user data prefixed with `user_`. If you'd rather have a nested `user` field, use a query string like `?_expand=memberships__user,inactive_memberships__user`.
Authentication
Connected account requiredTags
List or filter outcomesCLOSE_GET_OUTCOMEFetch a list of outcomes.Connection
Fetch a list of outcomes.
Authentication
Connected account requiredTags
Fetch a single outcomeCLOSE_GET_OUTCOME_IDFetch a single outcomeConnection
Fetch a single outcome
Authentication
Connected account requiredTags
List or search for phone numbersCLOSE_GET_PHONE_NUMBERList or search for phone numbersConnection
List or search for phone numbers
Authentication
Connected account requiredTags
Retrieve a single phone numberCLOSE_GET_PHONE_NUMBER_IDRetrieve a single phone numberConnection
Retrieve a single phone number
Authentication
Connected account requiredTags
Get pinned views for a membershipCLOSE_GET_PINNED_VIEWSGet the ordered list of pinned views for the given membership.Connection
Get the ordered list of pinned views for the given membership.
Authentication
Connected account requiredTags
List Pipelines for your organizationCLOSE_GET_PIPELINEList Pipelines for your organizationConnection
List Pipelines for your organization
Authentication
Connected account requiredTags
Fetch a single PipelineCLOSE_GET_PIPELINE_IDFetch a single PipelineConnection
Fetch a single Pipeline
Authentication
Connected account requiredTags
List or filter playbooksCLOSE_GET_PLAYBOOKFetch a list of playbooks for the organization. Results are sorted by position ascending.Connection
Fetch a list of playbooks for the organization. Results are sorted by position ascending.
Authentication
Connected account requiredTags
Fetch a single playbookCLOSE_GET_PLAYBOOK_IDFetch a single playbookConnection
Fetch a single playbook
Authentication
Connected account requiredTags
List all the roles defined for your organizationCLOSE_GET_ROLEList all the roles defined for your organizationConnection
List all the roles defined for your organization
Authentication
Connected account requiredTags
Fetch a single roleCLOSE_GET_ROLE_IDFetch a single roleConnection
Fetch a single role
Authentication
Connected account requiredTags
List Smart ViewsCLOSE_GET_SAVED_SEARCHAccepts: - A `type` filter that accepts either `lead` or `contact`. Defaults to `lead`. - A `type__in` filter that can be used to select multiple comma-separated types: `lead,contact`.Connection
Accepts: - A `type` filter that accepts either `lead` or `contact`. Defaults to `lead`. - A `type__in` filter that can be used to select multiple comma-separated types: `lead,contact`.
Authentication
Connected account requiredTags
Get a single Smart ViewCLOSE_GET_SAVED_SEARCH_IDGet a single Smart ViewConnection
Get a single Smart View
Authentication
Connected account requiredTags
List User Scheduling LinksCLOSE_GET_SCHEDULING_LINKList User Scheduling LinksConnection
List User Scheduling Links
Authentication
Connected account requiredTags
Fetch a User Scheduling LinkCLOSE_GET_SCHEDULING_LINK_IDFetch a User Scheduling LinkConnection
Fetch a User Scheduling Link
Authentication
Connected account requiredTags
List Send As AssociationsCLOSE_GET_SEND_ASA user only has access to associations they are involved in. This means that when using this endpoint, `allowing_user_id` or `allowed_user_id` must be equal to your user ID. If neither filter is provided, `allowing_user_id` is assumed by default.Connection
A user only has access to associations they are involved in. This means that when using this endpoint, `allowing_user_id` or `allowed_user_id` must be equal to your user ID. If neither filter is provided, `allowing_user_id` is assumed by default.
Authentication
Connected account requiredTags
Retrieve a single Send As AssociationCLOSE_GET_SEND_AS_IDRetrieve a single Send As AssociationConnection
Retrieve a single Send As Association
Authentication
Connected account requiredTags
Get sent emails reportCLOSE_GET_SENT_EMAILSGet sent emails reportConnection
Get sent emails report
Authentication
Connected account requiredTags
List SequencesCLOSE_GET_SEQUENCEList SequencesConnection
List Sequences
Authentication
Connected account requiredTags
Fetch a SequenceCLOSE_GET_SEQUENCE_IDFetch a SequenceConnection
Fetch a Sequence
Authentication
Connected account requiredTags
Retrieve Blocked Phone Number settingsCLOSE_GET_SETTINGSRetrieve Blocked Phone Number settingsConnection
Retrieve Blocked Phone Number settings
Authentication
Connected account requiredTags
Fetch a Shared Scheduling LinkCLOSE_GET_SHAREDFetch a Shared Scheduling LinkConnection
Fetch a Shared Scheduling Link
Authentication
Connected account requiredTags
List SMS templatesCLOSE_GET_SMS_TEMPLATEList SMS templatesConnection
List SMS templates
Authentication
Connected account requiredTags
Fetch an SMS templateCLOSE_GET_SMS_TEMPLATE_IDFetch an SMS templateConnection
Fetch an SMS template
Authentication
Connected account requiredTags
List lead statuses for your organizationCLOSE_GET_STATUS_LEADList lead statuses for your organizationConnection
List lead statuses for your organization
Authentication
Connected account requiredTags
Fetch a single lead statusCLOSE_GET_STATUS_LEAD_IDFetch a single lead statusConnection
Fetch a single lead status
Authentication
Connected account requiredTags
List opportunity statuses for your organizationCLOSE_GET_STATUS_OPPORTUNITYList opportunity statuses for your organizationConnection
List opportunity statuses for your organization
Authentication
Connected account requiredTags
Fetch a single opportunity statusCLOSE_GET_STATUS_OPPORTUNITY_IDFetch a single opportunity statusConnection
Fetch a single opportunity status
Authentication
Connected account requiredTags
Fetch a single Sequence SubscriptionCLOSE_GET_SUBSCRIPTIONFetch a single Sequence SubscriptionConnection
Fetch a single Sequence Subscription
Authentication
Connected account requiredTags
List or filter tasksCLOSE_GET_TASKThe `view` parameter can be used to conveniently access the different task views. It accepts one of the following values: * `inbox`: Shows incomplete tasks up to the end of the user's day only (taking the time zone into account). * `future`: Shows incomplete tasks starting from the user's tomorrow only (taking the time zone into account). * `archive`: Shows complete tasks only. Note that a `view` value of `inbox` or `future` will override any `date__lt` or `date__gte` parameters included in the same request. The `_order_by` field allows ordering by `date` or `date_created` (descending order by prepending a minus, e.g. `_order_by=-date`).Connection
The `view` parameter can be used to conveniently access the different task views. It accepts one of the following values: * `inbox`: Shows incomplete tasks up to the end of the user's day only (taking the time zone into account). * `future`: Shows incomplete tasks starting from the user's tomorrow only (taking the time zone into account). * `archive`: Shows complete tasks only. Note that a `view` value of `inbox` or `future` will override any `date__lt` or `date__gte` parameters included in the same request. The `_order_by` field allows ordering by `date` or `date_created` (descending order by prepending a minus, e.g. `_order_by=-date`).
Authentication
Connected account requiredTags
Fetch a task's detailsCLOSE_GET_TASK_IDFetch a task's detailsConnection
Fetch a task's details
Authentication
Connected account requiredTags
Fetch an individual comment threadCLOSE_GET_THREADA `404` is returned both when the comment thread does not exist and when the requestor cannot see its lead.Connection
A `404` is returned both when the comment thread does not exist and when the requestor cannot see its lead.
Authentication
Connected account requiredTags
List all unsubscribed emailsCLOSE_GET_UNSUBSCRIBE_EMAILGet a list of unsubscribed email addresses.Connection
Get a list of unsubscribed email addresses.
Authentication
Connected account requiredTags
List users in your organizationCLOSE_GET_USERList all the users who are members of the same organizations as you are.Connection
List all the users who are members of the same organizations as you are.
Authentication
Connected account requiredTags
Fetch a single userCLOSE_GET_USER_IDFetch a single userConnection
Fetch a single user
Authentication
Connected account requiredTags
List Webhook subscriptionsCLOSE_GET_WEBHOOKList all webhook subscriptions for the organization.Connection
List all webhook subscriptions for the organization.
Authentication
Connected account requiredTags
Retrieve a single Webhook subscriptionCLOSE_GET_WEBHOOK_IDThe response contains the subscription details.Connection
The response contains the subscription details.
Authentication
Connected account requiredTags
List LeadsCLOSE_LISTList LeadsConnection
List Leads
Authentication
Connected account requiredTags
List the predefined metrics used in activity reportsCLOSE_LIST_ACTIVITY_METRICSList available metrics that can be used in activity reports.Connection
List available metrics that can be used in activity reports.
Authentication
Connected account requiredTags
List user availability statusesCLOSE_LIST_AVAILABILITIESList user availability statuses for all users in an organization. The `active_calls` field is an array of call metadata for calls that the user is currently participating in.Connection
List user availability statuses for all users in an organization. The `active_calls` field is an array of call metadata for calls that the user is currently participating in.
Authentication
Connected account requiredTags
List Lead ExportsCLOSE_LIST_LEADList Lead ExportsConnection
List Lead Exports
Authentication
Connected account requiredTags
List Opportunity ExportsCLOSE_LIST_OPPORTUNITYList Opportunity ExportsConnection
List Opportunity Exports
Authentication
Connected account requiredTags
List Shared Scheduling LinksCLOSE_LIST_SHAREDList Shared Scheduling LinksConnection
List Shared Scheduling Links
Authentication
Connected account requiredTags
List Sequence SubscriptionsCLOSE_LIST_SUBSCRIPTIONSAt least one of `sequence_id`, `contact_id`, and `lead_id` is required.Connection
At least one of `sequence_id`, `contact_id`, and `lead_id` is required.
Authentication
Connected account requiredTags
Fetch multiple comment threadsCLOSE_LIST_THREADSUsers with restricted lead visibility cannot list comment threads across all leads, and must scope the request to specific threads or objects via the `ids` or `object_ids` filters. Unscoped requests from such users return a `403`.Connection
Users with restricted lead visibility cannot list comment threads across all leads, and must scope the request to specific threads or objects via the `ids` or `object_ids` filters. Unscoped requests from such users return a `403`.
Authentication
Connected account requiredTags
Merge two leadsCLOSE_MERGEFor details and definitions of 'source' and 'destination', see the Merge Leads feature in the UI.Connection
For details and definitions of 'source' and 'destination', see the Merge Leads feature in the UI.
Authentication
Connected account requiredTags
Log an external Call activityCLOSE_POST_ACTIVITY_CALLUse this endpoint to log calls made outside of the Close built-in VoIP system. *status*: defaults to `completed` *direction* (optional): `outbound` or `inbound` *recording_url*: you can post a URL pointing to the MP3 recording of your call. For security reasons, we require the URL to be secure (i.e. starting with https://)Connection
Use this endpoint to log calls made outside of the Close built-in VoIP system. *status*: defaults to `completed` *direction* (optional): `outbound` or `inbound` *recording_url*: you can post a URL pointing to the MP3 recording of your call. For security reasons, we require the URL to be secure (i.e. starting with https://)
Authentication
Connected account requiredTags
Create a new Custom Activity instanceCLOSE_POST_ACTIVITY_CUSTOMCustom Activity instances will be created by default with the 'published' status. All required fields will be validated in this status. To create an activity without setting all required fields, you can use the "draft" status. A Custom Activity can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a Custom Activity.Connection
Custom Activity instances will be created by default with the 'published' status. All required fields will be validated in this status. To create an activity without setting all required fields, you can use the "draft" status. A Custom Activity can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a Custom Activity.
Authentication
Connected account requiredTags
Create an Email activityCLOSE_POST_ACTIVITY_EMAIL*status* must be one of the following: - `inbox` to log an already received email. - `draft` to create a draft email. - `scheduled` to send an email at a scheduled date and time, which must be specified in the `date_scheduled` field. - `outbox` to actually **send** an email. To delay email sending by a few seconds (to allow undo), specify `send_in` in seconds (must be less than 60). - `sent` to log an already sent email. Only drafts can be modified, and their status can be changed to `scheduled` (to send later) or `outbox` (to send immediately). Scheduled emails, or emails in outbox that weren't sent yet can be canceled by setting the status back to `draft`. For scheduled, outbox, or sent emails, a `followup_date` may be posted, which will have Close create an email followup task if no response was received. We'll render an Email Template server-side if you include a `template_id` _without_ including `body_text` or `body_html` in your POST. To specify both a sender name and a sender email address when posting an email, you can use the `sender` field with the format `"sender": ""John Smith" <[email protected]>"` The `sender` field is **required** for emails with status `inbox`, `scheduled`, `outbox`, or `error`. It may be omitted for `draft` (since the sender can be specified later before sending) and `sent` (where it defaults to the email address of the `user` associated with the email or the owner of the API key). To include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename`, `content_type`, and `size`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin `https://app.close.com/go/file/`.Connection
*status* must be one of the following: - `inbox` to log an already received email. - `draft` to create a draft email. - `scheduled` to send an email at a scheduled date and time, which must be specified in the `date_scheduled` field. - `outbox` to actually **send** an email. To delay email sending by a few seconds (to allow undo), specify `send_in` in seconds (must be less than 60). - `sent` to log an already sent email. Only drafts can be modified, and their status can be changed to `scheduled` (to send later) or `outbox` (to send immediately). Scheduled emails, or emails in outbox that weren't sent yet can be canceled by setting the status back to `draft`. For scheduled, outbox, or sent emails, a `followup_date` may be posted, which will have Close create an email followup task if no response was received. We'll render an Email Template server-side if you include a `template_id` _without_ including `body_text` or `body_html` in your POST. To specify both a sender name and a sender email address when posting an email, you can use the `sender` field with the format `"sender": ""John Smith" <[email protected]>"` The `sender` field is **required** for emails with status `inbox`, `scheduled`, `outbox`, or `error`. It may be omitted for `draft` (since the sender can be specified later before sending) and `sent` (where it defaults to the email address of the `user` associated with the email or the owner of the API key). To include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename`, `content_type`, and `size`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin `https://app.close.com/go/file/`.
Authentication
Connected account requiredTags
Create a Note activityCLOSE_POST_ACTIVITY_NOTETo include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename` and `content_type`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin `https://app.close.com/go/file/`. A note can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a note.Connection
To include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename` and `content_type`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin `https://app.close.com/go/file/`. A note can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a note.
Authentication
Connected account requiredTags
Create an SMS activityCLOSE_POST_ACTIVITY_SMS*status* must be one of the following: - `inbox` to log an already received SMS. - `draft` to create a draft SMS. - `scheduled` to send an SMS at a scheduled date and time, which must be specified in the `date_scheduled` field. - `outbox` to actually **send** an SMS. To delay SMS sending by a few seconds (to allow undo), specify `send_in` in seconds (must be less than 60). - `sent` to log an already sent SMS. Only drafts can be modified, and their status can be changed to `scheduled` (to send later) or `outbox` (to send immediately). Scheduled SMS, or SMS in outbox that weren't sent yet can be canceled by setting the status back to `draft`. You have to provide a `local_phone` that will be used to send the SMS. The number you choose has to be associated with a Phone Number of type `internal`. See the [Phone Numbers](https://developer.close.com/api/resources/phone-numbers) paragraph for more details. A `template_id` referencing an SMS Template may be provided instead of `text` to automatically render that template and use the content as `text`. When `direction` is not provided, but `status="inbox"`, `direction` will default to "inbound". Otherwise, `direction` defaults to "outbound". When creating a new SMS with the status set to `inbox`, you can pass the query parameter `send_to_inbox` with the value of `true` to create a corresponding Inbox Notification for the SMS.Connection
*status* must be one of the following: - `inbox` to log an already received SMS. - `draft` to create a draft SMS. - `scheduled` to send an SMS at a scheduled date and time, which must be specified in the `date_scheduled` field. - `outbox` to actually **send** an SMS. To delay SMS sending by a few seconds (to allow undo), specify `send_in` in seconds (must be less than 60). - `sent` to log an already sent SMS. Only drafts can be modified, and their status can be changed to `scheduled` (to send later) or `outbox` (to send immediately). Scheduled SMS, or SMS in outbox that weren't sent yet can be canceled by setting the status back to `draft`. You have to provide a `local_phone` that will be used to send the SMS. The number you choose has to be associated with a Phone Number of type `internal`. See the [Phone Numbers](https://developer.close.com/api/resources/phone-numbers) paragraph for more details. A `template_id` referencing an SMS Template may be provided instead of `text` to automatically render that template and use the content as `text`. When `direction` is not provided, but `status="inbox"`, `direction` will default to "inbound". Otherwise, `direction` defaults to "outbound". When creating a new SMS with the status set to `inbox`, you can pass the query parameter `send_to_inbox` with the value of `true` to create a corresponding Inbox Notification for the SMS.
Authentication
Connected account requiredTags
Create a new LeadStatusChange activityCLOSE_POST_ACTIVITY_STATUS_CHANGE_LEADCreating a lead status change does not change the lead's status. It only logs the status change event in the lead's activity feed. This should only be used to import historical status changes from another system.Connection
Creating a lead status change does not change the lead's status. It only logs the status change event in the lead's activity feed. This should only be used to import historical status changes from another system.
Authentication
Connected account requiredTags
Create a new OpportunityStatusChange activityCLOSE_POST_ACTIVITY_STATUS_CHANGE_OPPORTUNITYCreating an opportunity status change does not change the opportunity's status. It only logs the status change event. This should only be used to import historical status changes from another system.Connection
Creating an opportunity status change does not change the opportunity's status. It only logs the status change event. This should only be used to import historical status changes from another system.
Authentication
Connected account requiredTags
Create a WhatsAppMessage activityCLOSE_POST_ACTIVITY_WHATSAPP_MESSAGE`external_whatsapp_message_id` must be the ID of the message inside WhatsApp. You can filter by this field to find messages in Close to update or delete based on updates or deletions in WhatsApp. `message_markdown` must be the body of the message in the WhatsApp Markdown format. The `message_html` read-only field will return the HTML representation of this message. To include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename`, and `content_type`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin with `https://app.close.com/go/file/`. `integration_link` (optional) is a URL string that can be provided by the integration partner creating the WhatsApp message. This can be used to link back to the message in the external system. `response_to_id` (optional) is the Close activity ID of another WhatsApp message activity (not the WhatsApp native message ID) that this message is replying to. This field creates a thread relationship between messages, allowing you to track conversation flow and message replies within WhatsApp threads. The ID must be a valid WhatsApp message activity ID in Close (e.g., `acti_...`). Only WhatsApp Markdown messages and file attachments are supported. No support is provided for Polls, Events, Locations, etc. **Important**: The total size of all attachments for a single WhatsApp message activity cannot exceed 25MB. When creating a new WhatsApp message with the direction set to `incoming`, you can pass the query parameter `send_to_inbox` with the value of `true` to create a corresponding Inbox Notification for the message.Connection
`external_whatsapp_message_id` must be the ID of the message inside WhatsApp. You can filter by this field to find messages in Close to update or delete based on updates or deletions in WhatsApp. `message_markdown` must be the body of the message in the WhatsApp Markdown format. The `message_html` read-only field will return the HTML representation of this message. To include an attachment, you must first upload the file to Close using the [Files API](https://developer.close.com/api/resources/files). Then, add an object to the `attachments` array with the following fields: `url`, `filename`, and `content_type`. The `url` should be the URL provided in the `download.url` field of the response from the [Files API](https://developer.close.com/api/resources/files). It must begin with `https://app.close.com/go/file/`. `integration_link` (optional) is a URL string that can be provided by the integration partner creating the WhatsApp message. This can be used to link back to the message in the external system. `response_to_id` (optional) is the Close activity ID of another WhatsApp message activity (not the WhatsApp native message ID) that this message is replying to. This field creates a thread relationship between messages, allowing you to track conversation flow and message replies within WhatsApp threads. The ID must be a valid WhatsApp message activity ID in Close (e.g., `acti_...`). Only WhatsApp Markdown messages and file attachments are supported. No support is provided for Polls, Events, Locations, etc. **Important**: The total size of all attachments for a single WhatsApp message activity cannot exceed 25MB. When creating a new WhatsApp message with the direction set to `incoming`, you can pass the query parameter `send_to_inbox` with the value of `true` to create a corresponding Inbox Notification for the message.
Authentication
Connected account requiredTags
Create a Blocked Phone NumberCLOSE_POST_BLOCKED_PHONE_NUMBEROnce this record is created, the phone number you have specified will no longer work for outbound nor inbound calls. That means: * Nobody in your organization will be able to call that phone number. * That phone number will not be able to call anybody in your organization.Connection
Once this record is created, the phone number you have specified will no longer work for outbound nor inbound calls. That means: * Nobody in your organization will be able to call that phone number. * That phone number will not be able to call anybody in your organization.
Authentication
Connected account requiredTags
Initiate a new bulk deleteCLOSE_POST_BULK_ACTION_DELETEUse `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.Connection
Use `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.
Authentication
Connected account requiredTags
Initiate a new bulk editCLOSE_POST_BULK_ACTION_EDITPass additional parameters depending on which `type` is passed: - `set_lead_status` will set the Lead Status on all leads. It expects: - `lead_status_id` - ID of the Lead Status to use. - `clear_custom_field` will clear/remove/unset a specific custom field from all leads. It expects: - `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to remove. - `set_custom_field` will set/update/add a specific custom field on all leads. It expects: - `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to set/update. - `custom_field_value` - New value. Use `custom_field_values` to pass multiple values to custom fields that support it. - `custom_field_operation` - `replace`, `add`, or `remove` (defaults to `replace`). Only applicable for custom fields that accept multiple values. Use `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.Connection
Pass additional parameters depending on which `type` is passed: - `set_lead_status` will set the Lead Status on all leads. It expects: - `lead_status_id` - ID of the Lead Status to use. - `clear_custom_field` will clear/remove/unset a specific custom field from all leads. It expects: - `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to remove. - `set_custom_field` will set/update/add a specific custom field on all leads. It expects: - `custom_field_id` or `custom_field_name` - ID or exact name of the custom field to set/update. - `custom_field_value` - New value. Use `custom_field_values` to pass multiple values to custom fields that support it. - `custom_field_operation` - `replace`, `add`, or `remove` (defaults to `replace`). Only applicable for custom fields that accept multiple values. Use `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.
Authentication
Connected account requiredTags
Initiate a new bulk emailCLOSE_POST_BULK_ACTION_EMAIL`contact_preference` can be set to `lead` (only email the primary/first contact email of the lead) or `contact` (email the first contact email of each contact of the lead).Connection
`contact_preference` can be set to `lead` (only email the primary/first contact email of the lead) or `contact` (email the first contact email of each contact of the lead).
Authentication
Connected account requiredTags
Initiate a new bulk sequence subscriptionCLOSE_POST_BULK_ACTION_SEQUENCE_SUBSCRIPTION`action_type` must be one of: - `subscribe` to create a new sequence subscription for contacts that have never received the given sequence. - `resume` to resume any paused sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. - `resume_finished` to resume any finished sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. - `pause` to pause any active sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. `sequence_id`, `sender_account_id`, `sender_name`, `sender_email` and `contact_preference` are required if `action_type` is `subscribe`. `contact_preference` can be set to: - `lead` to only subscribe the primary/first contact email of the lead. - `contact` to subscribe the primary email of each contact of the lead.Connection
`action_type` must be one of: - `subscribe` to create a new sequence subscription for contacts that have never received the given sequence. - `resume` to resume any paused sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. - `resume_finished` to resume any finished sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. - `pause` to pause any active sequence subscriptions for the given sequence or all sequences if `sequence_id` is not provided. `sequence_id`, `sender_account_id`, `sender_name`, `sender_email` and `contact_preference` are required if `action_type` is `subscribe`. `contact_preference` can be set to: - `lead` to only subscribe the primary/first contact email of the lead. - `contact` to subscribe the primary email of each contact of the lead.
Authentication
Connected account requiredTags
Create a CommentCLOSE_POST_COMMENTCreate a comment on an object. If a comment thread already exists on that object, a new comment is added to the existing thread. If no thread exists yet, one is created automatically.Connection
Create a comment on an object. If a comment thread already exists on that object, a new comment is added to the existing thread. If no thread exists yet, one is created automatically.
Authentication
Connected account requiredTags
Create a new contactCLOSE_POST_CONTACTContacts belong to exactly one Lead (specified by `lead_id`). If you do not provide a `lead_id` then a new lead will be created, named after the contact. Custom field values can be set by including `custom.cf_*` keys in the request body, e.g. `"custom.cf_abc123": "value"`.Connection
Contacts belong to exactly one Lead (specified by `lead_id`). If you do not provide a `lead_id` then a new lead will be created, named after the contact. Custom field values can be set by including `custom.cf_*` keys in the request body, e.g. `"custom.cf_abc123": "value"`.
Authentication
Connected account requiredTags
Create new Custom Activity TypeCLOSE_POST_CUSTOM_ACTIVITYThe type must be created before activity custom fields can be added.Connection
The type must be created before activity custom fields can be added.
Authentication
Connected account requiredTags
Create a new Activity Custom FieldCLOSE_POST_CUSTOM_FIELD_ACTIVITYActivity Custom Fields belong to Custom Activities, and have additional attributes: - `custom_activity_type_id` – the ID of the Custom Activity Type this Field should belong to. - `required` – whether the Field will be required to publish the activity.Connection
Activity Custom Fields belong to Custom Activities, and have additional attributes: - `custom_activity_type_id` – the ID of the Custom Activity Type this Field should belong to. - `required` – whether the Field will be required to publish the activity.
Authentication
Connected account requiredTags
Create a new Contact Custom FieldCLOSE_POST_CUSTOM_FIELD_CONTACTCreate a new Contact Custom FieldConnection
Create a new Contact Custom Field
Authentication
Connected account requiredTags
Create a new Custom Object Custom FieldCLOSE_POST_CUSTOM_FIELD_CUSTOM_OBJECT_TYPECustom Object Custom Fields belong to Custom Objects, and have additional attributes: - `custom_object_type_id` – the ID of the Custom Object Type this Field should belong to. - `required` – whether the Field will be required to save the object.Connection
Custom Object Custom Fields belong to Custom Objects, and have additional attributes: - `custom_object_type_id` – the ID of the Custom Object Type this Field should belong to. - `required` – whether the Field will be required to save the object.
Authentication
Connected account requiredTags
Create a new Lead Custom FieldCLOSE_POST_CUSTOM_FIELD_LEADCreate a new Lead Custom FieldConnection
Create a new Lead Custom Field
Authentication
Connected account requiredTags
Create a new Opportunity Custom FieldCLOSE_POST_CUSTOM_FIELD_OPPORTUNITYCreate a new Opportunity Custom FieldConnection
Create a new Opportunity Custom Field
Authentication
Connected account requiredTags
Create a new Shared Custom FieldCLOSE_POST_CUSTOM_FIELD_SHAREDCreate a new Shared Custom FieldConnection
Create a new Shared Custom Field
Authentication
Connected account requiredTags
Create a new Custom Object instanceCLOSE_POST_CUSTOM_OBJECTCustom Field values can be set using the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object). The following fields are required: - `custom_object_type_id`: The type of Custom Object you are creating determines the Custom Fields that can be used. - `lead_id`: The Lead that this Custom Object instance will belong to. - `name`: Each Custom Object has a name, used for display.Connection
Custom Field values can be set using the format: `custom.{custom_field_id}`. See [Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object). The following fields are required: - `custom_object_type_id`: The type of Custom Object you are creating determines the Custom Fields that can be used. - `lead_id`: The Lead that this Custom Object instance will belong to. - `name`: Each Custom Object has a name, used for display.
Authentication
Connected account requiredTags
Create new Custom Object TypeCLOSE_POST_CUSTOM_OBJECT_TYPEThe type must be created before Custom Fields can be added. The following fields are required: - `name`: The name of the Custom Object Type - `name_plural`: A pluralized version of the name, for some UI display. The following fields are optional: - `description`: A longer description of the Custom Object Type. - `api_create_only`: If `true`, instances can only be created by API clients. Defaults to `false`. - `editable_with_roles`: Only users with the given roles can edit instances of this type. By default, any user in your organization can make changes to the instances of this type.Connection
The type must be created before Custom Fields can be added. The following fields are required: - `name`: The name of the Custom Object Type - `name_plural`: A pluralized version of the name, for some UI display. The following fields are optional: - `description`: A longer description of the Custom Object Type. - `api_create_only`: If `true`, instances can only be created by API clients. Defaults to `false`. - `editable_with_roles`: Only users with the given roles can edit instances of this type. By default, any user in your organization can make changes to the instances of this type.
Authentication
Connected account requiredTags
Create an email templateCLOSE_POST_EMAIL_TEMPLATECreate an email templateConnection
Create an email template
Authentication
Connected account requiredTags
Enrich a specific field on a lead or contact using AICLOSE_POST_ENRICH_FIELDThis endpoint uses AI to enrich (populate or enhance) a specific field on a lead or contact. The enrichment process analyzes existing data and external sources to provide intelligent field values. **Parameters:** - `organization_id` (required): The organization ID - `object_type` (required): Either "lead" or "contact" - `object_id` (required): The ID of the lead or contact to enrich - `field_id` (required): The ID of the custom field to enrich - `set_new_value` (optional): Whether to update the field with the enriched value (default: true) - `overwrite_existing_value` (optional): Whether to overwrite existing field values (default: false)Connection
This endpoint uses AI to enrich (populate or enhance) a specific field on a lead or contact. The enrichment process analyzes existing data and external sources to provide intelligent field values. **Parameters:** - `organization_id` (required): The organization ID - `object_type` (required): Either "lead" or "contact" - `object_id` (required): The ID of the lead or contact to enrich - `field_id` (required): The ID of the custom field to enrich - `set_new_value` (optional): Whether to update the field with the enriched value (default: true) - `overwrite_existing_value` (optional): Whether to overwrite existing field values (default: false)
Authentication
Connected account requiredTags
Generate a signed S3 POSTCLOSE_POST_FILES_UPLOADGet the data needed to make a request to S3 to store your file.Connection
Get the data needed to make a request to S3 to store your file.
Authentication
Connected account requiredTags
Create a GroupCLOSE_POST_GROUPCreate a new group. The `name` is required and must be unique within the organization. The group is created with no members. Use the member endpoint to add users.Connection
Create a new group. The `name` is required and must be unique within the organization. The group is created with no members. Use the member endpoint to add users.
Authentication
Connected account requiredTags
Create an integration linkCLOSE_POST_INTEGRATION_LINKCreate an integration linkConnection
Create an integration link
Authentication
Connected account requiredTags
Create a membershipCLOSE_POST_MEMBERSHIPEnsures an active membership for the given email will be provisioned. - If the user already exists, they will be added to the requestor's organization. - If it doesn't exist, a new user will be provisioned. This request requires "Manage Organization" permissions. API access to this endpoint is supported via OAuth only.Connection
Ensures an active membership for the given email will be provisioned. - If the user already exists, they will be added to the requestor's organization. - If it doesn't exist, a new user will be provisioned. This request requires "Manage Organization" permissions. API access to this endpoint is supported via OAuth only.
Authentication
Connected account requiredTags
Create an opportunityCLOSE_POST_OPPORTUNITYCreate an opportunity, optionally linked to an existing lead. **custom.FIELD_ID** (optional): Set custom fields by setting `custom.FIELD_ID` to the field value, where FIELD_ID is the ID of the custom field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": "value", "custom.cf_8wtBWsdRU2Fur7GDnEeXQ7ra2Vu7R4hG1SNYdiEhh0F": "other value" } ``` If a custom field has `accepts_multiple_values: true`, the entire value will be replaced. For example, given an Opportunity has a Custom Choice Field with value `["A", "B"]`, adding choice `"C"` would mean setting the value to `["A", "B", "C"]`. Note that using the `custom` field dict or the `custom.FIELD_NAME` syntax (instead of custom field IDs) is deprecated and will be removed from the API. See [Custom Fields](https://developer.close.com/api/resources/custom-fields) for more details.Connection
Create an opportunity, optionally linked to an existing lead. **custom.FIELD_ID** (optional): Set custom fields by setting `custom.FIELD_ID` to the field value, where FIELD_ID is the ID of the custom field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": "value", "custom.cf_8wtBWsdRU2Fur7GDnEeXQ7ra2Vu7R4hG1SNYdiEhh0F": "other value" } ``` If a custom field has `accepts_multiple_values: true`, the entire value will be replaced. For example, given an Opportunity has a Custom Choice Field with value `["A", "B"]`, adding choice `"C"` would mean setting the value to `["A", "B", "C"]`. Note that using the `custom` field dict or the `custom.FIELD_NAME` syntax (instead of custom field IDs) is deprecated and will be removed from the API. See [Custom Fields](https://developer.close.com/api/resources/custom-fields) for more details.
Authentication
Connected account requiredTags
Create an outcomeCLOSE_POST_OUTCOMECreate a new outcome for the organization.Connection
Create a new outcome for the organization.
Authentication
Connected account requiredTags
Request an internal phone numberCLOSE_POST_PHONE_NUMBER_REQUEST_INTERNALRenting a phone number incurs a cost. You need the "Manage Group Phone Numbers" permission to rent group numbers. If a number was rented, a 201 response is returned with the new number. If no number was rented (4xx response code), the response contains a `status` field which may contain one of the values below. New statuses may be added in the future. * `has-voice-only`: This country/prefix combination only has non-SMS-capable numbers. You can attempt renting the number by passing `with_sms` as `false`. * `needs-more-info`: More information (such as proof of address) is needed to rent this number. This number can only be rented by contacting Close support. * `billing-error`: An error related to billing has occurred. For example, the telephony budget has been reached, or there are not enough funds and recharging failed. * `error`: An error has occurred while renting this number. A human-readable message is returned in the `error` field.Connection
Renting a phone number incurs a cost. You need the "Manage Group Phone Numbers" permission to rent group numbers. If a number was rented, a 201 response is returned with the new number. If no number was rented (4xx response code), the response contains a `status` field which may contain one of the values below. New statuses may be added in the future. * `has-voice-only`: This country/prefix combination only has non-SMS-capable numbers. You can attempt renting the number by passing `with_sms` as `false`. * `needs-more-info`: More information (such as proof of address) is needed to rent this number. This number can only be rented by contacting Close support. * `billing-error`: An error related to billing has occurred. For example, the telephony budget has been reached, or there are not enough funds and recharging failed. * `error`: An error has occurred while renting this number. A human-readable message is returned in the `error` field.
Authentication
Connected account requiredTags
Create a PipelineCLOSE_POST_PIPELINECreate a PipelineConnection
Create a Pipeline
Authentication
Connected account requiredTags
Create a playbookCLOSE_POST_PLAYBOOKCreate a new playbook for the organization.Connection
Create a new playbook for the organization.
Authentication
Connected account requiredTags
Create a new roleCLOSE_POST_ROLE`visibility_user_lcf_ids` (optional) A list of Lead Custom Field IDs that define which leads user with this role can see. If the role has `view_all_leads` permission, this field should be empty. `visibility_user_lcf_behavior` (optional) Defines how lead visibility works for leads that don't have assigned users. If the role has `view_all_leads` permission, this field should be empty. - `require_assignment` - leads without assigned users are not visible to this role - `allow_unassigned` - leads without assigned users are visible to this roleConnection
`visibility_user_lcf_ids` (optional) A list of Lead Custom Field IDs that define which leads user with this role can see. If the role has `view_all_leads` permission, this field should be empty. `visibility_user_lcf_behavior` (optional) Defines how lead visibility works for leads that don't have assigned users. If the role has `view_all_leads` permission, this field should be empty. - `require_assignment` - leads without assigned users are not visible to this role - `allow_unassigned` - leads without assigned users are visible to this role
Authentication
Connected account requiredTags
Create a Smart ViewCLOSE_POST_SAVED_SEARCHCreate a Lead or Contact Smart View. For Lead Smart Views, the `type` field is optional (since `lead` is the default `type`). When creating a Smart View, you must specify that you want to get objects of the appropriate type via an `object_type` clause as per the [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) section. See the examples below.Connection
Create a Lead or Contact Smart View. For Lead Smart Views, the `type` field is optional (since `lead` is the default `type`). When creating a Smart View, you must specify that you want to get objects of the appropriate type via an `object_type` clause as per the [Advanced Filtering](https://developer.close.com/api/resources/advanced-filtering) section. See the examples below.
Authentication
Connected account requiredTags
Create a User Scheduling LinkCLOSE_POST_SCHEDULING_LINKCreate a User Scheduling LinkConnection
Create a User Scheduling Link
Authentication
Connected account requiredTags
Create or update a Scheduling Link via OAuthCLOSE_POST_SCHEDULING_LINK_INTEGRATIONPlease note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Create or update a user scheduling link, managed by your application. Uses the integration-provided `source_id` field to identify and merge duplicate resources created by the same OAuth Application. If a scheduling link created by your OAuth application with the specified `source_id` does not exist, a new one will be created. Otherwise, the scheduling link resource will be updated. Requires authentication via OAuth.Connection
Please note that only OAuth apps can perform this operation. Using API key will result in an error. See [Authentication with OAuth](https://developer.close.com/api/overview/oauth-authentication) for more information. Create or update a user scheduling link, managed by your application. Uses the integration-provided `source_id` field to identify and merge duplicate resources created by the same OAuth Application. If a scheduling link created by your OAuth application with the specified `source_id` does not exist, a new one will be created. Otherwise, the scheduling link resource will be updated. Requires authentication via OAuth.
Authentication
Connected account requiredTags
Create a Send As AssociationCLOSE_POST_SEND_ASCreate a send-as permission. The `allowing_user_id` must be equal to your own user ID.Connection
Create a send-as permission. The `allowing_user_id` must be equal to your own user ID.
Authentication
Connected account requiredTags
Create a SequenceCLOSE_POST_SEQUENCECreate a SequenceConnection
Create a Sequence
Authentication
Connected account requiredTags
Create an SMS templateCLOSE_POST_SMS_TEMPLATECreate an SMS templateConnection
Create an SMS template
Authentication
Connected account requiredTags
Create a new status that can be applied to leadsCLOSE_POST_STATUS_LEADCreate a new status that can be applied to leadsConnection
Create a new status that can be applied to leads
Authentication
Connected account requiredTags
Create an opportunity statusCLOSE_POST_STATUS_OPPORTUNITYCreate a new opportunity status. The status must belong to a pipeline (specified by `pipeline_id`) and have a `type` of `active`, `won`, or `lost`.Connection
Create a new opportunity status. The status must belong to a pipeline (specified by `pipeline_id`) and have a `type` of `active`, `won`, or `lost`.
Authentication
Connected account requiredTags
Create a taskCLOSE_POST_TASKProvide the type of task to be created in the `_type` field. Currently only tasks of type `lead` and `outgoing_call` can be created.Connection
Provide the type of task to be created in the `_type` field. Currently only tasks of type `lead` and `outgoing_call` can be created.
Authentication
Connected account requiredTags
Unsubscribe an email addressCLOSE_POST_UNSUBSCRIBE_EMAILThis is useful for when you have an email address that has unsubscribed in another context (like a mailing list) and you want to unsubscribe them from messages from Close as well.Connection
This is useful for when you have an email address that has unsubscribed in another context (like a mailing list) and you want to unsubscribe them from messages from Close as well.
Authentication
Connected account requiredTags
Create new Webhook subscriptionCLOSE_POST_WEBHOOKThe subscription will send events to the specified URL.Connection
The subscription will send events to the specified URL.
Authentication
Connected account requiredTags
Update a Call activityCLOSE_PUT_ACTIVITY_CALL_IDMost commonly used to update `note_html` or `outcome_id`. Some fields (`status`, `duration`, `direction`) cannot be updated for internal calls made through Close's VoIP system. **`note_html` and `note`**: setting one overwrites the other. If both are provided, `note_html` takes precedence. `note_html` supports rich-text HTML; `note` is plaintext only. **Deleting recordings**: for internal calls, changing or clearing `recording_url` or `voicemail_url`, or setting `recording_transcript` to `null`, permanently deletes the corresponding recording, voicemail, or transcript. This requires the `delete_own_activities` permission for your own calls, or `manage_others_activities` for other users' calls and calls not assigned to a user. Without the required permission the request fails with a `400` error.Connection
Most commonly used to update `note_html` or `outcome_id`. Some fields (`status`, `duration`, `direction`) cannot be updated for internal calls made through Close's VoIP system. **`note_html` and `note`**: setting one overwrites the other. If both are provided, `note_html` takes precedence. `note_html` supports rich-text HTML; `note` is plaintext only. **Deleting recordings**: for internal calls, changing or clearing `recording_url` or `voicemail_url`, or setting `recording_transcript` to `null`, permanently deletes the corresponding recording, voicemail, or transcript. This requires the `delete_own_activities` permission for your own calls, or `manage_others_activities` for other users' calls and calls not assigned to a user. Without the required permission the request fails with a `400` error.
Authentication
Connected account requiredTags
Updating a Custom Activity instanceCLOSE_PUT_ACTIVITY_CUSTOM_IDA Custom Activity can be updated to add, change or remove any Custom Fields and to change the status between "draft" and "published". A Custom Activity can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a Custom Activity.Connection
A Custom Activity can be updated to add, change or remove any Custom Fields and to change the status between "draft" and "published". A Custom Activity can be pinned or unpinned by setting the `pinned` field to `true` or `false` when creating or updating a Custom Activity.
Authentication
Connected account requiredTags
Update an Email activityCLOSE_PUT_ACTIVITY_EMAIL_IDThis can be used to modify a draft or send it once the draft is complete. When changing a draft's status to `scheduled` or `outbox`, the `sender` field is required if not already set on the email.Connection
This can be used to modify a draft or send it once the draft is complete. When changing a draft's status to `scheduled` or `outbox`, the `sender` field is required if not already set on the email.
Authentication
Connected account requiredTags
Update a Meeting activityCLOSE_PUT_ACTIVITY_MEETING_IDMost commonly this can be used to update a meetings's `user_note_html` or `outcome_id`.Connection
Most commonly this can be used to update a meetings's `user_note_html` or `outcome_id`.
Authentication
Connected account requiredTags
Update a Note activityCLOSE_PUT_ACTIVITY_NOTE_ID**`note_html` and `note`**: setting one overwrites the other. If both are provided, `note_html` takes precedence. `note_html` supports rich-text HTML; `note` is plaintext only. A note can be pinned or unpinned by setting `pinned` to `true` or `false`.Connection
**`note_html` and `note`**: setting one overwrites the other. If both are provided, `note_html` takes precedence. `note_html` supports rich-text HTML; `note` is plaintext only. A note can be pinned or unpinned by setting `pinned` to `true` or `false`.
Authentication
Connected account requiredTags
Update an SMS activityCLOSE_PUT_ACTIVITY_SMS_IDThis can be used to modify a draft or send it once the draft is complete. To send an SMS immediately, you can update its `status` to `outbox`. To send it at a later time, change the `status` to `scheduled` and provide the desired date & time in the `date_scheduled` field.Connection
This can be used to modify a draft or send it once the draft is complete. To send an SMS immediately, you can update its `status` to `outbox`. To send it at a later time, change the `status` to `scheduled` and provide the desired date & time in the `date_scheduled` field.
Authentication
Connected account requiredTags
Update a WhatsAppMessage activityCLOSE_PUT_ACTIVITY_WHATSAPP_MESSAGE_IDUpdate a WhatsAppMessage activityConnection
Update a WhatsAppMessage activity
Authentication
Connected account requiredTags
Update a Blocked Phone NumberCLOSE_PUT_BLOCKED_PHONE_NUMBER_IDUpdate a Blocked Phone NumberConnection
Update a Blocked Phone Number
Authentication
Connected account requiredTags
Update a CommentCLOSE_PUT_COMMENT_IDYou can use this endpoint to edit a comment body. Note that users may only update their own comments.Connection
You can use this endpoint to edit a comment body. Note that users may only update their own comments.
Authentication
Connected account requiredTags
Update an existing contactCLOSE_PUT_CONTACT_IDUpdate a contact's information. Custom field values can be set by including `custom.cf_*` keys in the request body, e.g. `"custom.cf_abc123": "value"`. For custom fields that accept multiple values, you can use `.add` or `.remove` suffixes to modify the existing list without replacing it: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ```Connection
Update a contact's information. Custom field values can be set by including `custom.cf_*` keys in the request body, e.g. `"custom.cf_abc123": "value"`. For custom fields that accept multiple values, you can use `.add` or `.remove` suffixes to modify the existing list without replacing it: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ```
Authentication
Connected account requiredTags
Update existing Custom Activity TypeCLOSE_PUT_CUSTOM_ACTIVITY_IDThe type's `name`, `description`, `api_create_only`, `editable_with_roles` and `is_archived` may be updated here. These properties will be updated immediately in the Custom Activity API. Field order can be set here, but adding, modifying or removing fields from a Custom Activity Type must be done using the Custom Field API. The field order is a display property only, and does not affect the request and response for the Custom Activity API.Connection
The type's `name`, `description`, `api_create_only`, `editable_with_roles` and `is_archived` may be updated here. These properties will be updated immediately in the Custom Activity API. Field order can be set here, but adding, modifying or removing fields from a Custom Activity Type must be done using the Custom Field API. The field order is a display property only, and does not affect the request and response for the Custom Activity API.
Authentication
Connected account requiredTags
Update an Activity Custom FieldCLOSE_PUT_CUSTOM_FIELD_ACTIVITY_IDYou can rename it, change whether it accepts multiple values or not, change the "required" flag, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Custom Activity API. The `custom_activity_type_id` and `type` values cannot be changed.Connection
You can rename it, change whether it accepts multiple values or not, change the "required" flag, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Custom Activity API. The `custom_activity_type_id` and `type` values cannot be changed.
Authentication
Connected account requiredTags
Update a Contact Custom FieldCLOSE_PUT_CUSTOM_FIELD_CONTACT_IDYou can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Contact API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.Connection
You can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Contact API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.
Authentication
Connected account requiredTags
Update a Custom Object Custom FieldCLOSE_PUT_CUSTOM_FIELD_CUSTOM_OBJECT_TYPE_IDYou can rename it, change whether it accepts multiple values or not, change the "required" flag, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Custom Object API. The `custom_object_type_id` and `type` values cannot be changed.Connection
You can rename it, change whether it accepts multiple values or not, change the "required" flag, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Custom Object API. The `custom_object_type_id` and `type` values cannot be changed.
Authentication
Connected account requiredTags
Update a Lead Custom FieldCLOSE_PUT_CUSTOM_FIELD_LEAD_IDYou can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Lead API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.Connection
You can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Lead API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.
Authentication
Connected account requiredTags
Update an Opportunity Custom FieldCLOSE_PUT_CUSTOM_FIELD_OPPORTUNITY_IDYou can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Contact API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.Connection
You can rename it, change its type, change whether it accepts multiple values or not, change whether editing its values is restricted to specific Roles, or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `type` will be returned by the Contact API. Some of the type changes need to convert all of the existing values for a given Custom Field to the new type. When this is required, the response will include an additional `converting_to_type` field. When the conversion is done, `converting_to_type` will no longer be returned.
Authentication
Connected account requiredTags
Update a custom field schemaCLOSE_PUT_CUSTOM_FIELD_SCHEMA_OBJECT_TYPETo reorder Custom Fields (and thus change the order in which they are displayed in the Close UI), you simply need to supply a `fields` list with `{"id": ...}` items corresponding to the IDs of the Custom Fields belonging to the given Schema. Note that any IDs that are omitted from the list with be automatically appended to the end of the list. If you want to remove some Fields from the Schema, then delete the Custom Field or – in case of Shared Custom Fields – disassociate the Field from the given object.Connection
To reorder Custom Fields (and thus change the order in which they are displayed in the Close UI), you simply need to supply a `fields` list with `{"id": ...}` items corresponding to the IDs of the Custom Fields belonging to the given Schema. Note that any IDs that are omitted from the list with be automatically appended to the end of the list. If you want to remove some Fields from the Schema, then delete the Custom Field or – in case of Shared Custom Fields – disassociate the Field from the given object.
Authentication
Connected account requiredTags
Update a Shared Custom FieldCLOSE_PUT_CUSTOM_FIELD_SHARED_IDYou can rename it or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `choices` will be returned by the Lead/Contact/Custom Activity APIs. The `type` value cannot be changed.Connection
You can rename it or update the options for a "choices" field type. The updated name will immediately appear in the Close UI and only valid values for the updated `choices` will be returned by the Lead/Contact/Custom Activity APIs. The `type` value cannot be changed.
Authentication
Connected account requiredTags
Updating a Custom Object instanceCLOSE_PUT_CUSTOM_OBJECT_IDA Custom Object can be updated to add, change or remove any Custom Fields, and to change the `name` property.Connection
A Custom Object can be updated to add, change or remove any Custom Fields, and to change the `name` property.
Authentication
Connected account requiredTags
Update existing Custom Object TypeCLOSE_PUT_CUSTOM_OBJECT_TYPE_IDThe type's `name`, `name_plural`, `description`, `api_create_only` and `editable_with_roles` properties may be updated here. These properties will be updated immediately in the Custom Object API. You cannot add, modify, remove or reorder fields from a Custom Object Type using this resource. See [Custom Object Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object) and [Custom Field Schema API](https://developer.close.com/api/resources/custom-fields/custom-field-schemas) for these features.Connection
The type's `name`, `name_plural`, `description`, `api_create_only` and `editable_with_roles` properties may be updated here. These properties will be updated immediately in the Custom Object API. You cannot add, modify, remove or reorder fields from a Custom Object Type using this resource. See [Custom Object Custom Fields](https://developer.close.com/api/resources/custom-fields/custom-fields-custom-object) and [Custom Field Schema API](https://developer.close.com/api/resources/custom-fields/custom-field-schemas) for these features.
Authentication
Connected account requiredTags
Update an email templateCLOSE_PUT_EMAIL_TEMPLATE_IDUpdate an email templateConnection
Update an email template
Authentication
Connected account requiredTags
Update a GroupCLOSE_PUT_GROUP_IDYou can use this endpoint to rename a Group. If a name is not unique, an error will be returned.Connection
You can use this endpoint to rename a Group. If a name is not unique, an error will be returned.
Authentication
Connected account requiredTags
Update an integration linkCLOSE_PUT_INTEGRATION_LINK_IDUpdate an integration linkConnection
Update an integration link
Authentication
Connected account requiredTags
Bulk update membershipsCLOSE_PUT_MEMBERSHIPAny field that can be updated on a membership individually can also be used to bulk update multiple memberships. Pass the comma-separated ids of the memberships to update into `id__in` in `_params`. For example: ```json {"_params": {"id__in": "memb_A,memb_B"}, "role_id": "role_y6eLquXvRUdmwqi61tsmgCJUU7uGfxaRbDuLoONZL9p"} ```Connection
Any field that can be updated on a membership individually can also be used to bulk update multiple memberships. Pass the comma-separated ids of the memberships to update into `id__in` in `_params`. For example: ```json {"_params": {"id__in": "memb_A,memb_B"}, "role_id": "role_y6eLquXvRUdmwqi61tsmgCJUU7uGfxaRbDuLoONZL9p"} ```
Authentication
Connected account requiredTags
Update a membershipCLOSE_PUT_MEMBERSHIP_IDUpdate a membershipConnection
Update a membership
Authentication
Connected account requiredTags
Update an opportunityCLOSE_PUT_OPPORTUNITY_ID**custom.FIELD_ID** (optional) - See description for `custom.FIELD_ID` in `POST /opportunity/` above. - Additionally, you can unset a single field by using `{ "custom.FIELD_ID": null }`, e.g.: ``` { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": null } ``` If you're trying to update a custom field and that custom field accepts multiple values, you can also specify `.add` or `.remove` as part of the field key to add/remove a single value to/from a list of values, e.g.: ``` { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ```Connection
**custom.FIELD_ID** (optional) - See description for `custom.FIELD_ID` in `POST /opportunity/` above. - Additionally, you can unset a single field by using `{ "custom.FIELD_ID": null }`, e.g.: ``` { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": null } ``` If you're trying to update a custom field and that custom field accepts multiple values, you can also specify `.add` or `.remove` as part of the field key to add/remove a single value to/from a list of values, e.g.: ``` { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ```
Authentication
Connected account requiredTags
Update an organizationCLOSE_PUT_ORGANIZATION_IDUpdate an organizationConnection
Update an organization
Authentication
Connected account requiredTags
Update an outcomeCLOSE_PUT_OUTCOME_IDUpdate an existing outcome.Connection
Update an existing outcome.
Authentication
Connected account requiredTags
Update a phone numberCLOSE_PUT_PHONE_NUMBER_IDYou need the "Manage Group Phone Numbers" permission to update a group number. You can only update your own personal numbers. You can: - Change a `label` of your number. - Set up call forwarding via `forward_to` and `forward_to_enabled`. - Set up a voicemail greeting by including a URL of an mp3 recording in `voicemail_greeting_url`. We require the URL to be secure (i.e. starting with https://). - Modify which team members are part of a group number via `participants`. This should be a list of user IDs. - Modify which external phone numbers are part of a group number via `phone_numbers`. This should be a list of phone numbers in E.164 international format, e.g. "+16503334444". - Change how long (in seconds, 15-90) the number rings on inbound calls before moving on (e.g. to voicemail) via `inbound_ring_duration`.Connection
You need the "Manage Group Phone Numbers" permission to update a group number. You can only update your own personal numbers. You can: - Change a `label` of your number. - Set up call forwarding via `forward_to` and `forward_to_enabled`. - Set up a voicemail greeting by including a URL of an mp3 recording in `voicemail_greeting_url`. We require the URL to be secure (i.e. starting with https://). - Modify which team members are part of a group number via `participants`. This should be a list of user IDs. - Modify which external phone numbers are part of a group number via `phone_numbers`. This should be a list of phone numbers in E.164 international format, e.g. "+16503334444". - Change how long (in seconds, 15-90) the number rings on inbound calls before moving on (e.g. to voicemail) via `inbound_ring_duration`.
Authentication
Connected account requiredTags
Update a PipelineCLOSE_PUT_PIPELINE_IDYou can use this endpoint to: * Rename a Pipeline. * Reorder Opportunity Statuses within a Pipeline. * Move an Opportunity Status from a different Pipeline into this one. * To do so, include `{"id": "id_of_the_status_from_another_pipeline"}` in the `statuses` list.Connection
You can use this endpoint to: * Rename a Pipeline. * Reorder Opportunity Statuses within a Pipeline. * Move an Opportunity Status from a different Pipeline into this one. * To do so, include `{"id": "id_of_the_status_from_another_pipeline"}` in the `statuses` list.
Authentication
Connected account requiredTags
Update a playbookCLOSE_PUT_PLAYBOOK_IDUpdate an existing playbook.Connection
Update an existing playbook.
Authentication
Connected account requiredTags
Update existing roleCLOSE_PUT_ROLE_IDUpdate existing roleConnection
Update existing role
Authentication
Connected account requiredTags
Update a Smart ViewCLOSE_PUT_SAVED_SEARCH_IDUpdate a Smart ViewConnection
Update a Smart View
Authentication
Connected account requiredTags
Update a User Scheduling LinkCLOSE_PUT_SCHEDULING_LINK_IDUpdate a User Scheduling LinkConnection
Update a User Scheduling Link
Authentication
Connected account requiredTags
Update a SequenceCLOSE_PUT_SEQUENCE_ID**Note**: If you include `steps` in the payload and exclude some of the existing steps in your sequence, it will remove those steps from the sequence entirely.Connection
**Note**: If you include `steps` in the payload and exclude some of the existing steps in your sequence, it will remove those steps from the sequence entirely.
Authentication
Connected account requiredTags
Update an SMS templateCLOSE_PUT_SMS_TEMPLATE_IDUpdate an SMS templateConnection
Update an SMS template
Authentication
Connected account requiredTags
Rename a lead statusCLOSE_PUT_STATUS_LEAD_IDUpdate a lead status. The `label` and `color` can be changed. To update the status of a particular lead, see PUT `/lead/{lead_id}/`.Connection
Update a lead status. The `label` and `color` can be changed. To update the status of a particular lead, see PUT `/lead/{lead_id}/`.
Authentication
Connected account requiredTags
Rename an opportunity statusCLOSE_PUT_STATUS_OPPORTUNITY_IDRename an opportunity statusConnection
Rename an opportunity status
Authentication
Connected account requiredTags
Update a taskCLOSE_PUT_TASK_IDThe `assigned_to`, `date` (either a date or a date-time), and `is_complete` fields may be updated on all tasks. If the task type is `lead`, the `text` field may also be modified.Connection
The `assigned_to`, `date` (either a date or a date-time), and `is_complete` fields may be updated on all tasks. If the task type is `lead`, the `text` field may also be modified.
Authentication
Connected account requiredTags
Update existing Webhook subscriptionCLOSE_PUT_WEBHOOK_IDUpdate existing Webhook subscriptionConnection
Update existing Webhook subscription
Authentication
Connected account requiredTags
Remove a User from a GroupCLOSE_REMOVE_MEMBERIf the user is not a member of the group, nothing changes.Connection
If the user is not a member of the group, nothing changes.
Authentication
Connected account requiredTags
Render an email templateCLOSE_RENDERRender an email template for the given lead/contact using the current user context. Accepts two forms of usage: - Single lead/contact: - `lead_id` and `contact_id` is supplied (both required) - Preview results from a search query - `query` (required) contains a search query - `entry` (optional, ranges from 0 to 99) specifies the index of the lead/contact that should be rendered. - `mode` (optional), which can have a value of: - `lead` (default), the first contact of the lead with the index given by `entry` will be rendered (excluding leads that have no email addresses). - `contact`, then `entry` refers to the index of the contact (excluding contacts that have no emails). Will return an empty dict if there are no more entries.Connection
Render an email template for the given lead/contact using the current user context. Accepts two forms of usage: - Single lead/contact: - `lead_id` and `contact_id` is supplied (both required) - Preview results from a search query - `query` (required) contains a search query - `entry` (optional, ranges from 0 to 99) specifies the index of the lead/contact that should be rendered. - `mode` (optional), which can have a value of: - `lead` (default), the first contact of the lead with the index given by `entry` will be rendered (excluding leads that have no email addresses). - `contact`, then `entry` refers to the index of the contact (excluding contacts that have no emails). Will return an empty dict if there are no more entries.
Authentication
Connected account requiredTags
Unarchive a playbookCLOSE_UNARCHIVERestore a previously archived playbook to active status.Connection
Restore a previously archived playbook to active status.
Authentication
Connected account requiredTags
Update an existing leadCLOSE_UPDATESupports non-destructive patches. Nested `contacts` cannot be updated through this endpoint -- use the Contacts API instead. **status**: See `status` and `status_id` guidance on the create endpoint. **custom.FIELD_ID** (optional): See `custom.FIELD_ID` guidance on the create endpoint. You can also unset a single field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": null } ``` If the custom field accepts multiple values, you can specify `.add` or `.remove` as part of the field key to add/remove a single value to/from a list of values, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ``` adds "Wednesday" to the list of values which already exist on the given lead.Connection
Supports non-destructive patches. Nested `contacts` cannot be updated through this endpoint -- use the Contacts API instead. **status**: See `status` and `status_id` guidance on the create endpoint. **custom.FIELD_ID** (optional): See `custom.FIELD_ID` guidance on the create endpoint. You can also unset a single field, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c": null } ``` If the custom field accepts multiple values, you can specify `.add` or `.remove` as part of the field key to add/remove a single value to/from a list of values, e.g.: ```json { "custom.cf_v6S011I6MqcbVvB2FA5Nk8dr5MkL8sWuCiG8cUleO9c.add": "Wednesday" } ``` adds "Wednesday" to the list of values which already exist on the given lead.
Authentication
Connected account requiredTags
Update an existing Shared Custom Field AssociationCLOSE_UPDATE_ASSOCIATIONYou can change the `required` or the `editable_with_roles` attributes. Everything else cannot be changed. The `object_type` in the URL can be either: - `lead` when editing the association with the Lead object. - `contact` when editing the association with the Contact object. - `opportunity` when editing the association with the Opportunity object. - `custom_activity_type/<catype_id>` when editing the association with a specific Custom Activity Type. - `custom_object_type/<cotype_id>` when editing the association with a specific Custom Object Type.Connection
You can change the `required` or the `editable_with_roles` attributes. Everything else cannot be changed. The `object_type` in the URL can be either: - `lead` when editing the association with the Lead object. - `contact` when editing the association with the Contact object. - `opportunity` when editing the association with the Opportunity object. - `custom_activity_type/<catype_id>` when editing the association with a specific Custom Activity Type. - `custom_object_type/<cotype_id>` when editing the association with a specific Custom Object Type.
Authentication
Connected account requiredTags
Update pinned views for a membershipCLOSE_UPDATE_PINNED_VIEWSSet the pinned views for the given membership. Provide an ordered list that will overwrite the entire current list.Connection
Set the pinned views for the given membership. Provide an ordered list that will overwrite the entire current list.
Authentication
Connected account requiredTags
Update Blocked Phone Number settingsCLOSE_UPDATE_SETTINGSUpdate Blocked Phone Number settingsConnection
Update Blocked Phone Number settings
Authentication
Connected account requiredTags
Update a Shared Scheduling LinkCLOSE_UPDATE_SHAREDUpdate a Shared Scheduling LinkConnection
Update a Shared Scheduling Link
Authentication
Connected account requiredTags
Update a specific SubscriptionCLOSE_UPDATE_SUBSCRIPTIONUpdate a specific SubscriptionConnection
Update a specific Subscription
Authentication
Connected account requiredTags