> ## 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.

# Zoho CRM resources

> Install Zoho CRM module, relationship, user, pipeline and timeline sources.

Bind `declaredResourceEndpoint(selection, auth, data)` at
`receivers.resource` with a protected `data` label and the CRM data center's
HTTPS origin. Seal an `Authorization` header credential with prefix
`Zoho-oauthtoken ` and the required read and settings scopes. Renew under
the same Zoho user.

With provider `zoho-crm`, set `resource` to the exact module API name and
`path` to `/crm/v8/RESOURCE`. Use
[schema discovery](https://docs.bijection.com/integrations/native-rest.md#discover-and-approve-a-provider-schema)
to select fields from Zoho's Fields Metadata API. Common choices are
`Accounts`, `Contacts`, `Leads`, `Deals`, `Tasks`, `Meetings`,
`Calls`, `Notes`, `Products`, `Quotes`, `Sales_Orders` and custom
modules. Select invoice, quote or sales-order line-item fields and CRM
lookups by their API names.

With provider `zoho-crm-catalog`, initialize a
[declared profile](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind) with key
`id` and path `/crm/v8/RESOURCE`. Resources include `users`,
`settings/modules` and `settings/pipeline`. For pipeline configuration
supply its Deals layout ID as `start` and project `maps` for the stages.
Choose a fixed related collection such as `Accounts/ID/Contacts` or a
timeline such as `Deals/ID/__timeline`. Timeline IDs key the provider's
field and related-record change evidence.

Records are keyed by exact decimal text IDs. The feed follows Zoho's
user-specific token when available, or numbered pages on endpoints that
accept them. A terminal page starts a new sweep. Deleted and missing
rows remain published. Data pages accept 1–100 rows within 36 KiB.
An expired token leaves the failed position for review and reset.
[Zoho CRM v8 Get Records](https://www.zoho.com/crm/developer/docs/api/v8/get-records.html) ·
[Record timeline](https://www.zoho.com/crm/developer/docs/api/v8/timeline-of-a-record.html)

## Write records

Follow the [native write mount guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes). Use mode `zoho-crm.records.create-update-delete` with `providerWriter`, endpoint `https://www.zohoapis.com` and pass the writer in `receivers.writers` under that mode. Select the exact Zoho data center API domain. Seal the Zoho OAuth token with the required module permissions through header auth using prefix `Zoho-oauthtoken `. Use the exact module API name for the scope, for example `scope: ["Contacts"]`. Supply one module record object and use the exact decimal ID as text for update or delete. Create requires HTTP 201 and changes require HTTP 200 with a matching record ID where supplied in the command, `code: "SUCCESS"` and `status: "success"`. Delete uses the standard single-record operation and may trigger Zoho’s related-record rules.

The writer records evidence under the mount's label. Commands take up to 24 KiB of JSON and carry no read cursor.

[Provider write API](https://www.zoho.com/crm/developer/docs/api/v8/api-references.html)

## Upsert by external ID

Pass the existing module writer in `receivers.writers` under its mode, at the protected
`data` label with the module's create and update permissions. Submit mode
`zoho-crm.records.upsert` with `{ action: "upsert", field, externalId, payload }`
and an exact command key. Use the API name of a configured External ID
field for `field` and the JSON record fields for `payload`.
The `once` writer sends the external field as its only duplicate-check
field. A successful insert or an update attributed to that field returns
the record ID and action. [Zoho external-ID upsert](https://www.zoho.com/crm/developer/docs/api/v8/upsert-records-ext.html)


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