<!-- Generated from the canonical 99 Digital API documentation. Do not edit this file. -->

Canonical page: https://docs.99digital.co.il/online-api/postman-collection

# Postman Collection

[Download the Online API Postman Collection](pathname:///postman/99digital-online-api.postman_collection.json)

The collection is built from this documentation every time it changes, so it
always has every endpoint, with one sample request per example on the endpoint
pages and the documented responses saved as examples. Download it again to get
the latest version.

## Import it

1. In Postman, select **Import** and choose the downloaded file. You can also
   copy the download link above and paste it under **Import → Link**.
2. Open the collection's **Variables** tab and fill in:
   - `api_access_token` — your access token: in the Online dashboard,
     **Profile settings → Access Token**.
   - `account_id` — the number after `/app/accounts/` in your dashboard URL.
   - `base_url` — change it only if your account runs on its own Online
     domain.
3. Send **Conversations → Conversation Counts** to check the token, then open
   any folder and press **Send**.

## IDs in the requests

The paths use variables — `{{contact_id}}`, `{{conversation_id}}`,
`{{team_id}}` and so on — which start empty. Fill them in with IDs from your
account. The create requests store the new ID for you: after **Create
Contact**, `contact_id` is set; after **Add Conversation**, `conversation_id`;
and so on.

:::warning

The sample bodies use example IDs of inboxes, agents, teams and
conversations. Replace them with your own before you send a request that
changes data — the requests run against your live account.

:::

## Webhooks

**Webhooks → Webhook Events** holds a sample of every payload Online sends to
a [webhook](https://docs.99digital.co.il/online-api/webhooks/webhook-events). Set `webhook_url` to your
endpoint to see how it handles them.
