# API reference

> Every route of the Naruska CRM API, one page per resource, generated from the OpenAPI document.

Every route of the Naruska CRM API, generated from its OpenAPI document. Your API URL is `https://staging-api.naruskacrm.com`.

Start with the [API overview](/api.md), [Authentication](/api/authentication.md) and [Errors](/errors.md). The fields of the objects that several routes return are on [Objects](/api/reference/objects.md).

| Resource | Routes | What it covers |
| --- | --- | --- |
| [Contacts](/api/reference/contacts.md) | 18 | People, their emails, phones and addresses, merges. |
| [Accounts](/api/reference/accounts.md) | 10 | Organisations (customer companies) and their addresses. |
| [Opportunities](/api/reference/opportunities.md) | 11 | Deals, their stages, contacts and amounts. |
| [Activities](/api/reference/activities.md) | 13 | Tasks, meetings and calls; marking them done. |
| [Notes](/api/reference/notes.md) | 8 | Notes and the records they belong to. |
| [Cases](/api/reference/cases.md) | 8 | Customer questions and problems: open, close, reopen. |
| [Campaigns](/api/reference/campaigns.md) | 10 | Campaigns and their members. |
| [Quotes](/api/reference/quotes.md) | 13 | Quotes, versions and lines; send, accept, reject. |
| [Products](/api/reference/products.md) | 7 | Products and their prices. |
| [Documents](/api/reference/documents.md) | 13 | Files and links on records: upload, download, link. |
| [Records](/api/reference/records.md) | 5 | Timelines, merges and undo across record types. |
| [Lookup](/api/reference/lookup.md) | 14 | Search, lookups by source id, the recycle bin. |
| [Tags](/api/reference/tags.md) | 16 | Tags and tagging records. |
| [Shares](/api/reference/shares.md) | 16 | Sharing records with people and teams. |
| [Affiliations](/api/reference/affiliations.md) | 4 | Links between contacts and accounts. |
| [Saved views](/api/reference/saved-views.md) | 7 | Saved list filters and columns. |
| [Data model](/api/reference/data-model.md) | 11 | Fields, custom fields, pipelines, stages and statuses. |
| [Company](/api/reference/company.md) | 24 | Your company, users, teams and invitations. |
| [Usage](/api/reference/usage.md) | 1 | This month's usage and plan limits. |
| [Credentials](/api/reference/credentials.md) | 12 | Personal access tokens, service accounts and API keys. |
| [OAuth](/api/reference/oauth.md) | 4 | Connected AI tools and the service-account token endpoint. |
| [Webhooks](/api/reference/webhooks.md) | 11 | Webhook endpoints, test events and deliveries. |

The machine-readable document is at `https://staging-api.naruskacrm.com/openapi.json`.
