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

# Intercom contact observations

> Read contacts visible to one Intercom workspace credential.

Follow the [REST app guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind). Pass `providerEndpoint("intercom.contacts.observations", "https://api.intercom.io", "/contacts", auth, data)` as `receivers.provider`
from `@bijectionhq/app-rest`. Seal a bearer token with contact read access. For regional data, bind the workspace's `api.eu.intercom.io` or `api.au.intercom.io` origin. Pass the same label to the receiver binder and as the app's `data`.

Initialize with `{ profile: { mode: "provider", provider: "intercom.contacts.observations", limit: 10 } }`.

The feed uses Intercom API 2.11 and keys contacts by ID. It follows `starting_after` until the service ends the list, then starts another walk. Each page accepts up to 100 records and 36 KiB. Missing contacts remain published.

[Intercom list contacts](https://developers.intercom.com/docs/references/2.11/rest-api/api.intercom.io/contacts/listcontacts)

## Additional observations

Bind one protected REST mount per row in the table. Pass the same protected label to the receiver binder and as the app's `data`. Call
`providerEndpoint(mode, origin, path, auth, data)` with the exact
mode and reviewed path. Initialize with
`{ profile: { mode: "provider", provider: mode, limit: 25 } }`, adding the
resource selectors below where required.

| Mode | Receiver path | Record key | Position |
| - | - | - | - |
| `intercom.conversations.observations` | `/conversations` | Conversation ID | Intercom starting\_after |
| `intercom.conversation.parts.observations` | `/conversations/CONVERSATION` | Part ID | One response containing the reported part count |
| `intercom.companies.observations` | `/companies/list` | Intercom company record ID | Numbered pages, using the POST list operation |
| `intercom.tags.observations` | `/tags` | Tag ID | One unpaged response |
| `intercom.articles.observations` | `/articles` | Article ID | Numbered pages |

Each response admits at most 100 rows and 36 KiB. Oversized or malformed
pages preserve the last committed position. A terminal page restarts the
walk at the next poll. Rows missing from later responses stay published.

Use the same regional API origin and bearer auth as the contacts mode.
Set `selection` to the conversation ID for parts and put that ID in the
installed path. The endpoint returns at most the latest 500 parts. The app
refuses counts that differ from the returned size and pages exceeding the
app limit. The initial conversation message belongs to the conversation,
outside the parts list. A parts capture cannot establish older history.

[Intercom API 2.11](https://developers.intercom.com/docs/references/2.11/rest-api/api.intercom.io)

## Additional writes

Follow the [native write app guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes).
Pass the reviewed HTTPS endpoint, the credential's `auth` and any listed `scope` array to `providerWriter(mode, { endpoint, auth, scope }, data)`, and pass the writer as `receivers.writers[mode]`. Pass the receiver to the app under the same protected `data` label. Use a
distinct exact command key for each command. Writes accept up to 24 KiB
of JSON and carry no read cursor. Each task sends at most once.

| Mode | Binder | Scope and action |
| - | - | - |
| `intercom.conversations.update` | `providerWriter` | Empty scope. Update one conversation by ID. |
| `intercom.articles.create-update-delete` | `providerWriter` | Empty scope. Create, update or delete one article by ID. |
| `intercom.companies.upsert` | `providerWriter` | Empty scope. Typed `upsert` by external `company_id`. |
| `intercom.tags.upsert` | `providerWriter` | Empty scope. Typed `upsert` by tag name with an empty JSON object. |

Use a sealed bearer token with write access for the resource. The writer
sends Intercom API 2.11. An upsert takes
`{ action: "upsert", externalId, payload }`. For companies, set
`externalId` to the immutable company ID and include company attributes in
the payload. For tags, set `externalId` to the tag name. These commands
use the provider's single create-or-update endpoint.

[Intercom company upsert](https://developers.intercom.com/docs/references/2.11/rest-api/api.intercom.io/companies/createorupdatecompany)
[Intercom tags](https://developers.intercom.com/docs/references/2.11/rest-api/api.intercom.io/tags/createtag)


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