> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Close CRM resources

> Observe Close CRM records, configuration, associations and event history.

Bind `declaredResourceEndpoint(selection, auth, data)` at
`receivers.resource` with origin `https://api.close.com` and a protected label. Seal a read-scoped OAuth bearer or use Basic
authorization with the base64 encoding of `KEY:`.

With provider `close`, select `lead`, `contact` or `opportunity` and its
path `/api/v1/RESOURCE/`. A Close lead represents the company and lead.
For a custom object choose resource `custom_object/cotype_ID`, path
`/api/v1/custom_object/` and set `start` to the parent `lead_ID`. Use
[schema discovery](https://docs.bijection.com/integrations/native-rest.md#discover-and-approve-a-provider-schema)
to choose standard and custom fields. Reference fields such as `lead_id`,
`contact_id`, `user_id` and `status_id` retain provider IDs. Close
does not expose a product or line-item collection in its core CRM API.

For other collections initialize a [declared profile](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind)
with provider `close-catalog`, key `id` and path `/api/v1/RESOURCE/`.
Resources include `activity`, `activity/custom`, `task`, `user`, `pipeline`,
`status/opportunity`, `status/lead`, `custom_object_type`,
`custom_field/custom_object_type` and `event`. Set `start` to a lead ID
to scope contacts, opportunities, activities or events when desired.
The event listing keeps revisions by event ID, including explicit delete
evidence. Close consolidates some events and exposes up to 30 days of
history. Its event cursor traverses prior events during a sweep.

Use at most 100 rows per response, 50 for events, within 36 KiB.
Core collections use offsets, event pages use an opaque cursor and
configuration uses complete bounded responses. Each terminal page ends
its sweep. Delete events stay as evidence and omissions retain prior rows.
[Close collections](https://developer.close.com/api/overview) ·
[Close event log](https://developer.close.com/api/resources/events)

## Write records

Install [providerWriter](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes) as
`receivers.writers[mode]` on a protected `data` label. Use mode
`close.records.create-update`, origin `https://api.close.com` and a
one-item scope of `lead`, `contact`, `opportunity`, `task` or
`custom_object`. Bind a sealed Close Basic credential or OAuth bearer with
write authority. Supply one JSON record or patch. The writer uses Close's
returned record ID as evidence and checks it against the target on update.
Commands use an exact key, one send per task and a 24 KiB body bound.
Close exposes separate create and update routes for these objects.
[Close API overview](https://developer.close.com/api/overview)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.