Close
Connect to Close to manage CRM leads, contacts, opportunities, activities, tasks, calls, emails, and reporting.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
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 目录
可用 Tools
295 个可调用操作
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.需要连接
Add a user to a group by providing the `user_id`. If the user is already a member, nothing changes.
认证
需要 Connected AccountTags
Archive a playbookCLOSE_ARCHIVEArchive an existing playbook. Archived playbooks are hidden from active listings but retain their associated history.需要连接
Archive an existing playbook. Archived playbooks are hidden from active listings but retain their associated history.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a Shared Scheduling LinkCLOSE_CREATE_SHAREDCreate a Shared Scheduling Link需要连接
Create a Shared Scheduling Link
认证
需要 Connected AccountTags
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.需要连接
Map a Shared Scheduling Link to either a User Scheduling Link or a URL. See the examples below for both mapping options.
认证
需要 Connected AccountTags
Subscribe a Contact to a SequenceCLOSE_CREATE_SUBSCRIPTIONSubscribe a Contact to a Sequence需要连接
Subscribe a Contact to a Sequence
认证
需要 Connected AccountTags
Delete a leadCLOSE_DELETEDelete a lead需要连接
Delete a lead
认证
需要 Connected AccountTags
Delete a Call activityCLOSE_DELETE_ACTIVITY_CALL_IDDelete a Call activity需要连接
Delete a Call activity
认证
需要 Connected AccountTags
Delete a Custom Activity instanceCLOSE_DELETE_ACTIVITY_CUSTOM_IDDelete a Custom Activity instance需要连接
Delete a Custom Activity instance
认证
需要 Connected AccountTags
Delete an Email activityCLOSE_DELETE_ACTIVITY_EMAIL_IDDelete an Email activity需要连接
Delete an Email activity
认证
需要 Connected AccountTags
Delete an EmailThread activityCLOSE_DELETE_ACTIVITY_EMAILTHREAD_IDThis will also delete all the email activities belonging to this thread.需要连接
This will also delete all the email activities belonging to this thread.
认证
需要 Connected AccountTags
Delete a FormSubmission activityCLOSE_DELETE_ACTIVITY_FORM_SUBMISSION_IDDelete a FormSubmission activity需要连接
Delete a FormSubmission activity
认证
需要 Connected AccountTags
Delete a Meeting activityCLOSE_DELETE_ACTIVITY_MEETING_IDDelete a Meeting activity需要连接
Delete a Meeting activity
认证
需要 Connected AccountTags
Delete a Note activityCLOSE_DELETE_ACTIVITY_NOTE_IDDelete a Note activity需要连接
Delete a Note activity
认证
需要 Connected AccountTags
Delete an SMS activityCLOSE_DELETE_ACTIVITY_SMS_IDDelete an SMS activity需要连接
Delete an SMS activity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Delete a TaskCompleted activityCLOSE_DELETE_ACTIVITY_TASK_COMPLETED_IDDelete a TaskCompleted activity需要连接
Delete a TaskCompleted activity
认证
需要 Connected AccountTags
Delete a WhatsAppMessage activityCLOSE_DELETE_ACTIVITY_WHATSAPP_MESSAGE_IDDelete a WhatsAppMessage activity需要连接
Delete a WhatsAppMessage activity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Delete a contactCLOSE_DELETE_CONTACT_IDDelete a contact需要连接
Delete a contact
认证
需要 Connected AccountTags
Delete a Custom Activity TypeCLOSE_DELETE_CUSTOM_ACTIVITY_IDDelete a Custom Activity Type需要连接
Delete a Custom Activity Type
认证
需要 Connected AccountTags
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.需要连接
Delete an activity custom field. The field will immediately disappear from API responses and values on existing activities will be permanently removed.
认证
需要 Connected AccountTags
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.需要连接
Delete a contact custom field. The field will immediately disappear from API responses and values on existing contacts will be permanently removed.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
Delete a lead custom field. The field will immediately disappear from API responses and values on existing leads will be permanently removed.
认证
需要 Connected AccountTags
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.需要连接
Delete an opportunity custom field. The field will immediately disappear from API responses and values on existing opportunities will be permanently removed.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Delete a Custom Object instanceCLOSE_DELETE_CUSTOM_OBJECT_IDDelete a Custom Object instance需要连接
Delete a Custom Object instance
认证
需要 Connected AccountTags
Delete a Custom Object TypeCLOSE_DELETE_CUSTOM_OBJECT_TYPE_IDDelete a Custom Object Type需要连接
Delete a Custom Object Type
认证
需要 Connected AccountTags
Delete an email templateCLOSE_DELETE_EMAIL_TEMPLATE_IDDelete an email template需要连接
Delete an email template
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Delete an integration linkCLOSE_DELETE_INTEGRATION_LINK_IDDelete an integration link需要连接
Delete an integration link
认证
需要 Connected AccountTags
Delete a membershipCLOSE_DELETE_MEMBERSHIP_IDDeactivates a membership, removing the user from the associated organization.需要连接
Deactivates a membership, removing the user from the associated organization.
认证
需要 Connected AccountTags
Delete an opportunityCLOSE_DELETE_OPPORTUNITY_IDDelete an opportunity需要连接
Delete an opportunity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
You need the "Manage Group Phone Numbers" permission to delete a group number. You can only delete your own personal numbers.
认证
需要 Connected AccountTags
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.需要连接
Deletion is only allowed if the Pipeline doesn't contain any Opportunity Statuses. Delete all statuses first or move them to another pipeline.
认证
需要 Connected AccountTags
Delete a playbookCLOSE_DELETE_PLAYBOOK_IDDelete an existing playbook.需要连接
Delete an existing playbook.
认证
需要 Connected AccountTags
Delete a roleCLOSE_DELETE_ROLE_IDDelete a custom role. You must first move all users off this role by reassigning them to another role.需要连接
Delete a custom role. You must first move all users off this role by reassigning them to another role.
认证
需要 Connected AccountTags
Delete a Smart ViewCLOSE_DELETE_SAVED_SEARCH_IDDelete a Smart View需要连接
Delete a Smart View
认证
需要 Connected AccountTags
Delete a User Scheduling LinkCLOSE_DELETE_SCHEDULING_LINK_IDDelete a User Scheduling Link需要连接
Delete a User Scheduling Link
认证
需要 Connected AccountTags
Delete a Send As Association by IDCLOSE_DELETE_SEND_AS_IDDelete a Send As Association by ID需要连接
Delete a Send As Association by ID
认证
需要 Connected AccountTags
Delete a SequenceCLOSE_DELETE_SEQUENCE_IDDelete a Sequence需要连接
Delete a Sequence
认证
需要 Connected AccountTags
Delete a Shared Scheduling LinkCLOSE_DELETE_SHAREDDelete a Shared Scheduling Link需要连接
Delete a Shared Scheduling Link
认证
需要 Connected AccountTags
Unmap a Shared Scheduling LinkCLOSE_DELETE_SHARED_ASSOCIATIONUnmap a Shared Scheduling Link需要连接
Unmap a Shared Scheduling Link
认证
需要 Connected AccountTags
Delete an SMS templateCLOSE_DELETE_SMS_TEMPLATE_IDDelete an SMS template需要连接
Delete an SMS template
认证
需要 Connected AccountTags
Delete a lead statusCLOSE_DELETE_STATUS_LEAD_IDYou should make sure no leads are assigned this status, first.需要连接
You should make sure no leads are assigned this status, first.
认证
需要 Connected AccountTags
Delete an opportunity statusCLOSE_DELETE_STATUS_OPPORTUNITY_IDYou should make sure no opportunities are assigned this status, first.需要连接
You should make sure no opportunities are assigned this status, first.
认证
需要 Connected AccountTags
Delete a Sequence SubscriptionCLOSE_DELETE_SUBSCRIPTIONUnsubscribe a contact from a sequence by deleting their subscription.需要连接
Unsubscribe a contact from a sequence by deleting their subscription.
认证
需要 Connected AccountTags
Delete a taskCLOSE_DELETE_TASK_IDDelete a task需要连接
Delete a task
认证
需要 Connected AccountTags
Resubscribe an email addressCLOSE_DELETE_UNSUBSCRIBE_EMAIL_EMAIL_ADDRESSResubscribe an email address需要连接
Resubscribe an email address
认证
需要 Connected AccountTags
Delete Webhook subscriptionCLOSE_DELETE_WEBHOOK_IDDelete Webhook subscription需要连接
Delete Webhook subscription
认证
需要 Connected AccountTags
Retrieve a FormCLOSE_FETCHRetrieve a single form and its published field definitions by ID.需要连接
Retrieve a single form and its published field definitions by ID.
认证
需要 Connected AccountTags
Get a single LeadCLOSE_GETGet a single Lead需要连接
Get a single Lead
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
List or filter all Call activitiesCLOSE_GET_ACTIVITY_CALLList or filter all Call activities需要连接
List or filter all Call activities
认证
需要 Connected AccountTags
Get a single Call activityCLOSE_GET_ACTIVITY_CALL_IDGet a single Call activity需要连接
Get a single Call activity
认证
需要 Connected AccountTags
List or filter all Created activitiesCLOSE_GET_ACTIVITY_CREATEDList or filter all Created activities需要连接
List or filter all Created activities
认证
需要 Connected AccountTags
Get a single Created activityCLOSE_GET_ACTIVITY_CREATED_IDGet a single Created activity需要连接
Get a single Created activity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Get a single Custom Activity instanceCLOSE_GET_ACTIVITY_CUSTOM_IDGet a single Custom Activity instance需要连接
Get a single Custom Activity instance
认证
需要 Connected AccountTags
List or filter all Email activitiesCLOSE_GET_ACTIVITY_EMAILYou'll get one object per email message.需要连接
You'll get one object per email message.
认证
需要 Connected AccountTags
Get a single Email activityCLOSE_GET_ACTIVITY_EMAIL_IDGet a single Email activity需要连接
Get a single Email activity
认证
需要 Connected AccountTags
List or filter all EmailThread activitiesCLOSE_GET_ACTIVITY_EMAILTHREADYou'll get one object per email conversation (generally grouped by subject).需要连接
You'll get one object per email conversation (generally grouped by subject).
认证
需要 Connected AccountTags
Get a single EmailThread activityCLOSE_GET_ACTIVITY_EMAILTHREAD_IDGet a single EmailThread activity需要连接
Get a single EmailThread activity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Get a single FormSubmission activityCLOSE_GET_ACTIVITY_FORM_SUBMISSION_IDGet a single FormSubmission activity需要连接
Get a single FormSubmission activity
认证
需要 Connected AccountTags
List or filter all LeadMerge activitiesCLOSE_GET_ACTIVITY_LEAD_MERGEList or filter all LeadMerge activities需要连接
List or filter all LeadMerge activities
认证
需要 Connected AccountTags
Get a single LeadMerge activityCLOSE_GET_ACTIVITY_LEAD_MERGE_IDGet a single LeadMerge activity需要连接
Get a single LeadMerge activity
认证
需要 Connected AccountTags
List or filter all Meeting activitiesCLOSE_GET_ACTIVITY_MEETINGList or filter all Meeting activities需要连接
List or filter all Meeting activities
认证
需要 Connected AccountTags
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>" } ] } ```需要连接
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>" } ] } ```
认证
需要 Connected AccountTags
List or filter all Note activitiesCLOSE_GET_ACTIVITY_NOTEList or filter all Note activities需要连接
List or filter all Note activities
认证
需要 Connected AccountTags
Get a single Note activityCLOSE_GET_ACTIVITY_NOTE_IDGet a single Note activity需要连接
Get a single Note activity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Get a single SMS activityCLOSE_GET_ACTIVITY_SMS_IDGet a single SMS activity需要连接
Get a single SMS activity
认证
需要 Connected AccountTags
List or filter all LeadStatusChange activitiesCLOSE_GET_ACTIVITY_STATUS_CHANGE_LEADList or filter all LeadStatusChange activities需要连接
List or filter all LeadStatusChange activities
认证
需要 Connected AccountTags
Get a single LeadStatusChange activityCLOSE_GET_ACTIVITY_STATUS_CHANGE_LEAD_IDGet a single LeadStatusChange activity需要连接
Get a single LeadStatusChange activity
认证
需要 Connected AccountTags
List or filter all OpportunityStatusChange activitiesCLOSE_GET_ACTIVITY_STATUS_CHANGE_OPPORTUNITYList or filter all OpportunityStatusChange activities需要连接
List or filter all OpportunityStatusChange activities
认证
需要 Connected AccountTags
Get a single OpportunityStatusChange activityCLOSE_GET_ACTIVITY_STATUS_CHANGE_OPPORTUNITY_IDGet a single OpportunityStatusChange activity需要连接
Get a single OpportunityStatusChange activity
认证
需要 Connected AccountTags
List or filter all TaskCompleted activitiesCLOSE_GET_ACTIVITY_TASK_COMPLETEDList or filter all TaskCompleted activities需要连接
List or filter all TaskCompleted activities
认证
需要 Connected AccountTags
Get a single TaskCompleted activityCLOSE_GET_ACTIVITY_TASK_COMPLETED_IDGet a single TaskCompleted activity需要连接
Get a single TaskCompleted activity
认证
需要 Connected AccountTags
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.需要连接
Filter by `external_whatsapp_message_id` to find messages to update or delete based on changes in WhatsApp.
认证
需要 Connected AccountTags
Get a single WhatsAppMessage activityCLOSE_GET_ACTIVITY_WHATSAPP_MESSAGE_IDGet a single WhatsAppMessage activity需要连接
Get a single WhatsAppMessage activity
认证
需要 Connected AccountTags
Fetch a Shared Custom Field AssociationCLOSE_GET_ASSOCIATIONFetch a Shared Custom Field Association需要连接
Fetch a Shared Custom Field Association
认证
需要 Connected AccountTags
List Blocked Phone NumbersCLOSE_GET_BLOCKED_PHONE_NUMBERList Blocked Phone Numbers需要连接
List Blocked Phone Numbers
认证
需要 Connected AccountTags
Retrieve a single Blocked Phone NumberCLOSE_GET_BLOCKED_PHONE_NUMBER_IDRetrieve a single Blocked Phone Number需要连接
Retrieve a single Blocked Phone Number
认证
需要 Connected AccountTags
List bulk deletesCLOSE_GET_BULK_ACTION_DELETEList bulk deletes需要连接
List bulk deletes
认证
需要 Connected AccountTags
Fetch a single bulk delete objectCLOSE_GET_BULK_ACTION_DELETE_IDFetch a single bulk delete object需要连接
Fetch a single bulk delete object
认证
需要 Connected AccountTags
List bulk editsCLOSE_GET_BULK_ACTION_EDITList bulk edits需要连接
List bulk edits
认证
需要 Connected AccountTags
Fetch a single bulk edit objectCLOSE_GET_BULK_ACTION_EDIT_IDFetch a single bulk edit object需要连接
Fetch a single bulk edit object
认证
需要 Connected AccountTags
List bulk emailsCLOSE_GET_BULK_ACTION_EMAILList bulk emails需要连接
List bulk emails
认证
需要 Connected AccountTags
Fetch a single bulk email objectCLOSE_GET_BULK_ACTION_EMAIL_IDFetch a single bulk email object需要连接
Fetch a single bulk email object
认证
需要 Connected AccountTags
List bulk sequence subscriptionsCLOSE_GET_BULK_ACTION_SEQUENCE_SUBSCRIPTIONList bulk sequence subscriptions需要连接
List bulk sequence subscriptions
认证
需要 Connected AccountTags
Fetch a single bulk sequence subscription objectCLOSE_GET_BULK_ACTION_SEQUENCE_SUBSCRIPTION_IDFetch a single bulk sequence subscription object需要连接
Fetch a single bulk sequence subscription object
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
A `404` is returned both when the comment does not exist and when the requestor cannot see its lead.
认证
需要 Connected AccountTags
List connected accountsCLOSE_GET_CONNECTED_ACCOUNTYou can filter down to a specific user by passing the `?user_id` query parameter.需要连接
You can filter down to a specific user by passing the `?user_id` query parameter.
认证
需要 Connected AccountTags
Fetch a single connected accountCLOSE_GET_CONNECTED_ACCOUNT_IDFetch a single connected account需要连接
Fetch a single connected account
认证
需要 Connected AccountTags
List contactsCLOSE_GET_CONTACTList contacts需要连接
List contacts
认证
需要 Connected AccountTags
Fetch a single contactCLOSE_GET_CONTACT_IDFetch a single contact需要连接
Fetch a single contact
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
List all custom activity types defined in the organization. The response includes all Custom Activity Types, including their Custom Field metadata.
认证
需要 Connected AccountTags
Retrieve a single Custom Activity TypeCLOSE_GET_CUSTOM_ACTIVITY_IDThe response contains the Custom Activity Type including most Custom Field metadata.需要连接
The response contains the Custom Activity Type including most Custom Field metadata.
认证
需要 Connected AccountTags
List Activity Custom FieldsCLOSE_GET_CUSTOM_FIELD_ACTIVITYList all the activity custom fields for your organization.需要连接
List all the activity custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Activity Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_ACTIVITY_IDFetch Activity Custom Field's details需要连接
Fetch Activity Custom Field's details
认证
需要 Connected AccountTags
List Contact Custom FieldsCLOSE_GET_CUSTOM_FIELD_CONTACTList all the contact custom fields for your organization.需要连接
List all the contact custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Contact Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_CONTACT_IDFetch Contact Custom Field's details需要连接
Fetch Contact Custom Field's details
认证
需要 Connected AccountTags
List Custom Object Custom FieldsCLOSE_GET_CUSTOM_FIELD_CUSTOM_OBJECT_TYPEList all the custom object custom fields for your organization.需要连接
List all the custom object custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Custom Object Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_CUSTOM_OBJECT_TYPE_IDFetch Custom Object Custom Field's details需要连接
Fetch Custom Object Custom Field's details
认证
需要 Connected AccountTags
List Lead Custom FieldsCLOSE_GET_CUSTOM_FIELD_LEADList all the lead custom fields for your organization.需要连接
List all the lead custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Lead Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_LEAD_IDFetch Lead Custom Field's details需要连接
Fetch Lead Custom Field's details
认证
需要 Connected AccountTags
List Opportunity Custom FieldsCLOSE_GET_CUSTOM_FIELD_OPPORTUNITYList all the opportunity custom fields for your organization.需要连接
List all the opportunity custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Opportunity Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_OPPORTUNITY_IDFetch Opportunity Custom Field's details需要连接
Fetch Opportunity Custom Field's details
认证
需要 Connected AccountTags
Retrieve a custom field schemaCLOSE_GET_CUSTOM_FIELD_SCHEMA_OBJECT_TYPERetrieve a custom field schema需要连接
Retrieve a custom field schema
认证
需要 Connected AccountTags
List Shared Custom FieldsCLOSE_GET_CUSTOM_FIELD_SHAREDList all the shared custom fields for your organization.需要连接
List all the shared custom fields for your organization.
认证
需要 Connected AccountTags
Fetch Shared Custom Field's detailsCLOSE_GET_CUSTOM_FIELD_SHARED_IDFetch Shared Custom Field's details需要连接
Fetch Shared Custom Field's details
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve a single Custom Object instanceCLOSE_GET_CUSTOM_OBJECT_IDRetrieve a single Custom Object instance需要连接
Retrieve a single Custom Object instance
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
Retrieve a single custom object type by ID. The response contains the Custom Object Type including most Custom Field metadata.
认证
需要 Connected AccountTags
List or filter all dialer sessionsCLOSE_GET_DIALERList or filter all dialer sessions需要连接
List or filter all dialer sessions
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
List email templatesCLOSE_GET_EMAIL_TEMPLATEList email templates需要连接
List email templates
认证
需要 Connected AccountTags
Fetch an email templateCLOSE_GET_EMAIL_TEMPLATE_IDFetch an email template需要连接
Fetch an email template
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
Retrieve a single event by IDCLOSE_GET_EVENT_IDThe response contains a dictionary with a single event, using the format outlined in “Event format”.需要连接
The response contains a dictionary with a single event, using the format outlined in “Event format”.
认证
需要 Connected AccountTags
List all the exportsCLOSE_GET_EXPORTList all the exports需要连接
List all the exports
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
List FormsCLOSE_GET_FORMList all forms and their published field definitions for your organization.需要连接
List all forms and their published field definitions for your organization.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
List Groups for your organizationCLOSE_GET_GROUPNote that list endpoint does not support retrieving members for all groups. Use individual group endpoint instead.需要连接
Note that list endpoint does not support retrieving members for all groups. Use individual group endpoint instead.
认证
需要 Connected AccountTags
Fetch an individual GroupCLOSE_GET_GROUP_IDFetch an individual Group需要连接
Fetch an individual Group
认证
需要 Connected AccountTags
Get all integration links for your organizationCLOSE_GET_INTEGRATION_LINKGet all integration links for your organization需要连接
Get all integration links for your organization
认证
需要 Connected AccountTags
Get a single integration linkCLOSE_GET_INTEGRATION_LINK_IDGet a single integration link需要连接
Get a single integration link
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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`.需要连接
A special instance of the Users endpoint for the current user. Useful for determining your own `id` and `organization_id`.
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
Retrieve an opportunityCLOSE_GET_OPPORTUNITY_IDRetrieve an opportunity需要连接
Retrieve an opportunity
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
List or filter outcomesCLOSE_GET_OUTCOMEFetch a list of outcomes.需要连接
Fetch a list of outcomes.
认证
需要 Connected AccountTags
Fetch a single outcomeCLOSE_GET_OUTCOME_IDFetch a single outcome需要连接
Fetch a single outcome
认证
需要 Connected AccountTags
List or search for phone numbersCLOSE_GET_PHONE_NUMBERList or search for phone numbers需要连接
List or search for phone numbers
认证
需要 Connected AccountTags
Retrieve a single phone numberCLOSE_GET_PHONE_NUMBER_IDRetrieve a single phone number需要连接
Retrieve a single phone number
认证
需要 Connected AccountTags
Get pinned views for a membershipCLOSE_GET_PINNED_VIEWSGet the ordered list of pinned views for the given membership.需要连接
Get the ordered list of pinned views for the given membership.
认证
需要 Connected AccountTags
List Pipelines for your organizationCLOSE_GET_PIPELINEList Pipelines for your organization需要连接
List Pipelines for your organization
认证
需要 Connected AccountTags
Fetch a single PipelineCLOSE_GET_PIPELINE_IDFetch a single Pipeline需要连接
Fetch a single Pipeline
认证
需要 Connected AccountTags
List or filter playbooksCLOSE_GET_PLAYBOOKFetch a list of playbooks for the organization. Results are sorted by position ascending.需要连接
Fetch a list of playbooks for the organization. Results are sorted by position ascending.
认证
需要 Connected AccountTags
Fetch a single playbookCLOSE_GET_PLAYBOOK_IDFetch a single playbook需要连接
Fetch a single playbook
认证
需要 Connected AccountTags
List all the roles defined for your organizationCLOSE_GET_ROLEList all the roles defined for your organization需要连接
List all the roles defined for your organization
认证
需要 Connected AccountTags
Fetch a single roleCLOSE_GET_ROLE_IDFetch a single role需要连接
Fetch a single role
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
Get a single Smart ViewCLOSE_GET_SAVED_SEARCH_IDGet a single Smart View需要连接
Get a single Smart View
认证
需要 Connected AccountTags
List User Scheduling LinksCLOSE_GET_SCHEDULING_LINKList User Scheduling Links需要连接
List User Scheduling Links
认证
需要 Connected AccountTags
Fetch a User Scheduling LinkCLOSE_GET_SCHEDULING_LINK_IDFetch a User Scheduling Link需要连接
Fetch a User Scheduling Link
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve a single Send As AssociationCLOSE_GET_SEND_AS_IDRetrieve a single Send As Association需要连接
Retrieve a single Send As Association
认证
需要 Connected AccountTags
Get sent emails reportCLOSE_GET_SENT_EMAILSGet sent emails report需要连接
Get sent emails report
认证
需要 Connected AccountTags
List SequencesCLOSE_GET_SEQUENCEList Sequences需要连接
List Sequences
认证
需要 Connected AccountTags
Fetch a SequenceCLOSE_GET_SEQUENCE_IDFetch a Sequence需要连接
Fetch a Sequence
认证
需要 Connected AccountTags
Retrieve Blocked Phone Number settingsCLOSE_GET_SETTINGSRetrieve Blocked Phone Number settings需要连接
Retrieve Blocked Phone Number settings
认证
需要 Connected AccountTags
Fetch a Shared Scheduling LinkCLOSE_GET_SHAREDFetch a Shared Scheduling Link需要连接
Fetch a Shared Scheduling Link
认证
需要 Connected AccountTags
List SMS templatesCLOSE_GET_SMS_TEMPLATEList SMS templates需要连接
List SMS templates
认证
需要 Connected AccountTags
Fetch an SMS templateCLOSE_GET_SMS_TEMPLATE_IDFetch an SMS template需要连接
Fetch an SMS template
认证
需要 Connected AccountTags
List lead statuses for your organizationCLOSE_GET_STATUS_LEADList lead statuses for your organization需要连接
List lead statuses for your organization
认证
需要 Connected AccountTags
Fetch a single lead statusCLOSE_GET_STATUS_LEAD_IDFetch a single lead status需要连接
Fetch a single lead status
认证
需要 Connected AccountTags
List opportunity statuses for your organizationCLOSE_GET_STATUS_OPPORTUNITYList opportunity statuses for your organization需要连接
List opportunity statuses for your organization
认证
需要 Connected AccountTags
Fetch a single opportunity statusCLOSE_GET_STATUS_OPPORTUNITY_IDFetch a single opportunity status需要连接
Fetch a single opportunity status
认证
需要 Connected AccountTags
Fetch a single Sequence SubscriptionCLOSE_GET_SUBSCRIPTIONFetch a single Sequence Subscription需要连接
Fetch a single Sequence Subscription
认证
需要 Connected AccountTags
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`).需要连接
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`).
认证
需要 Connected AccountTags
Fetch a task's detailsCLOSE_GET_TASK_IDFetch a task's details需要连接
Fetch a task's details
认证
需要 Connected AccountTags
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.需要连接
A `404` is returned both when the comment thread does not exist and when the requestor cannot see its lead.
认证
需要 Connected AccountTags
List all unsubscribed emailsCLOSE_GET_UNSUBSCRIBE_EMAILGet a list of unsubscribed email addresses.需要连接
Get a list of unsubscribed email addresses.
认证
需要 Connected AccountTags
List users in your organizationCLOSE_GET_USERList all the users who are members of the same organizations as you are.需要连接
List all the users who are members of the same organizations as you are.
认证
需要 Connected AccountTags
Fetch a single userCLOSE_GET_USER_IDFetch a single user需要连接
Fetch a single user
认证
需要 Connected AccountTags
List Webhook subscriptionsCLOSE_GET_WEBHOOKList all webhook subscriptions for the organization.需要连接
List all webhook subscriptions for the organization.
认证
需要 Connected AccountTags
Retrieve a single Webhook subscriptionCLOSE_GET_WEBHOOK_IDThe response contains the subscription details.需要连接
The response contains the subscription details.
认证
需要 Connected AccountTags
List LeadsCLOSE_LISTList Leads需要连接
List Leads
认证
需要 Connected AccountTags
List the predefined metrics used in activity reportsCLOSE_LIST_ACTIVITY_METRICSList available metrics that can be used in activity reports.需要连接
List available metrics that can be used in activity reports.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
List Lead ExportsCLOSE_LIST_LEADList Lead Exports需要连接
List Lead Exports
认证
需要 Connected AccountTags
List Opportunity ExportsCLOSE_LIST_OPPORTUNITYList Opportunity Exports需要连接
List Opportunity Exports
认证
需要 Connected AccountTags
List Shared Scheduling LinksCLOSE_LIST_SHAREDList Shared Scheduling Links需要连接
List Shared Scheduling Links
认证
需要 Connected AccountTags
List Sequence SubscriptionsCLOSE_LIST_SUBSCRIPTIONSAt least one of `sequence_id`, `contact_id`, and `lead_id` is required.需要连接
At least one of `sequence_id`, `contact_id`, and `lead_id` is required.
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
Merge two leadsCLOSE_MERGEFor details and definitions of 'source' and 'destination', see the Merge Leads feature in the UI.需要连接
For details and definitions of 'source' and 'destination', see the Merge Leads feature in the UI.
认证
需要 Connected AccountTags
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://)需要连接
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://)
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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/`.需要连接
*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/`.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
*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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
`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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
Use `"send_done_email": false` if you don't want to get a confirmation email after the bulk action is done.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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).需要连接
`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).
认证
需要 Connected AccountTags
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.需要连接
`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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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"`.需要连接
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"`.
认证
需要 Connected AccountTags
Create new Custom Activity TypeCLOSE_POST_CUSTOM_ACTIVITYThe type must be created before activity custom fields can be added.需要连接
The type must be created before activity custom fields can be added.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a new Contact Custom FieldCLOSE_POST_CUSTOM_FIELD_CONTACTCreate a new Contact Custom Field需要连接
Create a new Contact Custom Field
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a new Lead Custom FieldCLOSE_POST_CUSTOM_FIELD_LEADCreate a new Lead Custom Field需要连接
Create a new Lead Custom Field
认证
需要 Connected AccountTags
Create a new Opportunity Custom FieldCLOSE_POST_CUSTOM_FIELD_OPPORTUNITYCreate a new Opportunity Custom Field需要连接
Create a new Opportunity Custom Field
认证
需要 Connected AccountTags
Create a new Shared Custom FieldCLOSE_POST_CUSTOM_FIELD_SHAREDCreate a new Shared Custom Field需要连接
Create a new Shared Custom Field
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create an email templateCLOSE_POST_EMAIL_TEMPLATECreate an email template需要连接
Create an email template
认证
需要 Connected AccountTags
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)需要连接
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)
认证
需要 Connected AccountTags
Generate a signed S3 POSTCLOSE_POST_FILES_UPLOADGet the data needed to make a request to S3 to store your file.需要连接
Get the data needed to make a request to S3 to store your file.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create an integration linkCLOSE_POST_INTEGRATION_LINKCreate an integration link需要连接
Create an integration link
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create an outcomeCLOSE_POST_OUTCOMECreate a new outcome for the organization.需要连接
Create a new outcome for the organization.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a PipelineCLOSE_POST_PIPELINECreate a Pipeline需要连接
Create a Pipeline
认证
需要 Connected AccountTags
Create a playbookCLOSE_POST_PLAYBOOKCreate a new playbook for the organization.需要连接
Create a new playbook for the organization.
认证
需要 Connected AccountTags
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 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 role
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a User Scheduling LinkCLOSE_POST_SCHEDULING_LINKCreate a User Scheduling Link需要连接
Create a User Scheduling Link
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create a Send As AssociationCLOSE_POST_SEND_ASCreate a send-as permission. The `allowing_user_id` must be equal to your own user ID.需要连接
Create a send-as permission. The `allowing_user_id` must be equal to your own user ID.
认证
需要 Connected AccountTags
Create a SequenceCLOSE_POST_SEQUENCECreate a Sequence需要连接
Create a Sequence
认证
需要 Connected AccountTags
Create an SMS templateCLOSE_POST_SMS_TEMPLATECreate an SMS template需要连接
Create an SMS template
认证
需要 Connected AccountTags
Create a new status that can be applied to leadsCLOSE_POST_STATUS_LEADCreate a new status that can be applied to leads需要连接
Create a new status that can be applied to leads
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
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.需要连接
Provide the type of task to be created in the `_type` field. Currently only tasks of type `lead` and `outgoing_call` can be created.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Create new Webhook subscriptionCLOSE_POST_WEBHOOKThe subscription will send events to the specified URL.需要连接
The subscription will send events to the specified URL.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Update a Meeting activityCLOSE_PUT_ACTIVITY_MEETING_IDMost commonly this can be used to update a meetings's `user_note_html` or `outcome_id`.需要连接
Most commonly this can be used to update a meetings's `user_note_html` or `outcome_id`.
认证
需要 Connected AccountTags
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`.需要连接
**`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`.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Update a WhatsAppMessage activityCLOSE_PUT_ACTIVITY_WHATSAPP_MESSAGE_IDUpdate a WhatsAppMessage activity需要连接
Update a WhatsAppMessage activity
认证
需要 Connected AccountTags
Update a Blocked Phone NumberCLOSE_PUT_BLOCKED_PHONE_NUMBER_IDUpdate a Blocked Phone Number需要连接
Update a Blocked Phone Number
认证
需要 Connected AccountTags
Update a CommentCLOSE_PUT_COMMENT_IDYou can use this endpoint to edit a comment body. Note that users may only update their own comments.需要连接
You can use this endpoint to edit a comment body. Note that users may only update their own comments.
认证
需要 Connected AccountTags
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" } ```需要连接
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" } ```
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
A Custom Object can be updated to add, change or remove any Custom Fields, and to change the `name` property.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Update an email templateCLOSE_PUT_EMAIL_TEMPLATE_IDUpdate an email template需要连接
Update an email template
认证
需要 Connected AccountTags
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.需要连接
You can use this endpoint to rename a Group. If a name is not unique, an error will be returned.
认证
需要 Connected AccountTags
Update an integration linkCLOSE_PUT_INTEGRATION_LINK_IDUpdate an integration link需要连接
Update an integration link
认证
需要 Connected AccountTags
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"} ```需要连接
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"} ```
认证
需要 Connected AccountTags
Update a membershipCLOSE_PUT_MEMBERSHIP_IDUpdate a membership需要连接
Update a membership
认证
需要 Connected AccountTags
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" } ```需要连接
**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" } ```
认证
需要 Connected AccountTags
Update an organizationCLOSE_PUT_ORGANIZATION_IDUpdate an organization需要连接
Update an organization
认证
需要 Connected AccountTags
Update an outcomeCLOSE_PUT_OUTCOME_IDUpdate an existing outcome.需要连接
Update an existing outcome.
认证
需要 Connected AccountTags
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`.需要连接
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`.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Update a playbookCLOSE_PUT_PLAYBOOK_IDUpdate an existing playbook.需要连接
Update an existing playbook.
认证
需要 Connected AccountTags
Update existing roleCLOSE_PUT_ROLE_IDUpdate existing role需要连接
Update existing role
认证
需要 Connected AccountTags
Update a Smart ViewCLOSE_PUT_SAVED_SEARCH_IDUpdate a Smart View需要连接
Update a Smart View
认证
需要 Connected AccountTags
Update a User Scheduling LinkCLOSE_PUT_SCHEDULING_LINK_IDUpdate a User Scheduling Link需要连接
Update a User Scheduling Link
认证
需要 Connected AccountTags
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.需要连接
**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.
认证
需要 Connected AccountTags
Update an SMS templateCLOSE_PUT_SMS_TEMPLATE_IDUpdate an SMS template需要连接
Update an SMS template
认证
需要 Connected AccountTags
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}/`.需要连接
Update a lead status. The `label` and `color` can be changed. To update the status of a particular lead, see PUT `/lead/{lead_id}/`.
认证
需要 Connected AccountTags
Rename an opportunity statusCLOSE_PUT_STATUS_OPPORTUNITY_IDRename an opportunity status需要连接
Rename an opportunity status
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Update existing Webhook subscriptionCLOSE_PUT_WEBHOOK_IDUpdate existing Webhook subscription需要连接
Update existing Webhook subscription
认证
需要 Connected AccountTags
Remove a User from a GroupCLOSE_REMOVE_MEMBERIf the user is not a member of the group, nothing changes.需要连接
If the user is not a member of the group, nothing changes.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
Unarchive a playbookCLOSE_UNARCHIVERestore a previously archived playbook to active status.需要连接
Restore a previously archived playbook to active status.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
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.
认证
需要 Connected AccountTags
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.需要连接
Set the pinned views for the given membership. Provide an ordered list that will overwrite the entire current list.
认证
需要 Connected AccountTags
Update Blocked Phone Number settingsCLOSE_UPDATE_SETTINGSUpdate Blocked Phone Number settings需要连接
Update Blocked Phone Number settings
认证
需要 Connected AccountTags
Update a Shared Scheduling LinkCLOSE_UPDATE_SHAREDUpdate a Shared Scheduling Link需要连接
Update a Shared Scheduling Link
认证
需要 Connected AccountTags
Update a specific SubscriptionCLOSE_UPDATE_SUBSCRIPTIONUpdate a specific Subscription需要连接
Update a specific Subscription
认证
需要 Connected AccountTags