# Obtain access token
Source: https://docs.routera.io/api-reference/auth/oauth2-token
POST /oauth2/token
POST /oauth2/token — OAuth 2.0 client credentials
## Endpoint
```http theme={null}
POST https://api.routera.io/oauth2/token
```
**Route:** `/oauth2/token`\
**Content-Type:** `application/x-www-form-urlencoded`
This endpoint does **not** return a refresh token. When `expires_in` elapses, call this endpoint again with the same client credentials.
## Request body
All parameters are sent as **form fields** (`application/x-www-form-urlencoded`). `client_id`, `client_secret`, and `scope` are **required**.
| Parameter | Required | Description |
| --------------- | -------- | --------------------------------------- |
| `grant_type` | Yes | Must be `client_credentials` |
| `client_id` | Yes | Your API client id |
| `client_secret` | Yes | Your API client secret |
| `scope` | Yes | Space-separated permissions (see below) |
### Scopes
Request only the permissions you need, separated by spaces:
| Scope | Access |
| -------------------- | ------ |
| `routera-api/read` | Read |
| `routera-api/create` | Create |
| `routera-api/update` | Update |
| `routera-api/delete` | Delete |
### Example
```bash theme={null}
curl -X POST 'https://api.routera.io/oauth2/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&scope=routera-api/read routera-api/create routera-api/update routera-api/delete'
```
### Alternative: HTTP Basic
You may also send credentials in the `Authorization` header instead of the form body:
```http theme={null}
Authorization: Basic base64(client_id:client_secret)
```
When using Basic auth, the body still requires `grant_type=client_credentials` and `scope`.
## Response
**200** — Token issued
```json theme={null}
{
"access_token": "eyJraWQiOi...",
"expires_in": 3600,
"token_type": "Bearer"
}
```
Use `access_token` on subsequent requests:
```http theme={null}
Authorization: Bearer eyJraWQiOi...
```
## Errors
| Status | When |
| ------ | -------------------------------------- |
| `400` | Missing or invalid `grant_type` |
| `401` | Invalid `client_id` or `client_secret` |
Error responses follow the standard OAuth 2.0 format (`error`, `error_description`).
## Next step
After obtaining a token, see [API introduction](/api-reference/introduction) for object routes and response format.
# Dispatch router
Source: https://docs.routera.io/api-reference/dispatch/router
POST /dispatch/router
POST /dispatch/router — assign an object using router rules
## Endpoint
```http theme={null}
POST https://api.routera.io/dispatch/router
```
**Route:** `/dispatch/router`\
**Authentication:** Bearer JWT
Runs router assignment logic for a given object: evaluates triggers, availability, distribution model, and assigns an owner when rules match.
## Request body
| Field | Required | Description |
| ----------- | -------- | ----------------- |
| `router_id` | Yes | Router to execute |
| `object_id` | Yes | Object to assign |
```json theme={null}
{
"router_id": "router-uuid",
"object_id": "object-uuid"
}
```
## Responses
**200 — Assignment succeeded**
| Field | Description |
| ------------------- | --------------------------------------- |
| `message` | Human-readable outcome |
| `success` | `true` when the object was assigned |
| `user` | Email of the assigned owner |
| `field_name` | Display name of the owner field updated |
| `owner_assigned_at` | Assignment timestamp (RFC 2822 UTC) |
```json theme={null}
{
"message": "The object was successfully assigned",
"success": true,
"user": "jane@example.com",
"field_name": "contact_owner",
"owner_assigned_at": "Thu, 12 Jun 2025 14:30:00 GMT"
}
```
When the router has a HubSpot integration and sync fails after a successful Routera assignment, the response is still **200** with `success: true` plus:
| Field | Description |
| --------------------- | ------------------------- |
| `hubspot_sync_failed` | `true` |
| `hubspot_error` | HubSpot sync error detail |
**200 — Other outcomes** (no assignment; response has `message` only, no `error` flag)
| `message` |
| -------------------------------------------------------------- |
| `Trigger did not match` |
| `Router not found` |
| `Object not found` |
| `The router is unpublished` |
| `The router has no settings` |
| `Account not found` |
| `Account is not active` |
| `Assignment limit reached` |
| `The router can not overwrite` |
| `There are no users available and the backup user is disabled` |
**400** — Invalid JSON or missing required fields
```json theme={null}
{
"message": "Invalid event: require router_id and object_id",
"error": true
}
```
**500** — Processing error
```json theme={null}
{
"message": "",
"error": true
}
```
This endpoint can also be invoked asynchronously via SQS with the same `router_id` and `object_id` fields in the message body.
# API introduction
Source: https://docs.routera.io/api-reference/introduction
Routera v2 REST API — authentication, base URL, and object response format
## Base URL
```
https://api.routera.io
```
All paths in this reference are relative to that base URL.
## Authentication
Integrations authenticate using the OAuth 2.0 **client credentials** grant.
### 1. Obtain an access token
`POST /oauth2/token` exchanges `client_id` and `client_secret` for a JWT. See [Obtain access token](/api-reference/auth/oauth2-token) for the full request format.
```http theme={null}
POST https://api.routera.io/oauth2/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&scope=routera-api/read routera-api/create routera-api/update routera-api/delete
```
The response includes `access_token`, `expires_in`, and `token_type` (`Bearer`). There is no refresh token — request a new access token when it expires.
### 2. Call the API
Every other route requires the access token:
```http theme={null}
Authorization: Bearer
```
The JWT must include a valid account context (set automatically for integrations linked to your account). Requests without it receive `401` with:
```json theme={null}
{ "message": "Unauthorized: missing account context", "error": true }
```
## Routes
### Authentication
| Route | HTTP |
| --------------- | ---- |
| `/oauth2/token` | POST |
### Objects API
| Route | HTTP |
| ------------------------------------------------------------------------------------------- | ------------------ |
| `/contacts`, `/companies`, `/deals`, `/tickets` | GET, POST |
| `/contacts/{contactId}`, `/companies/{companyId}`, `/deals/{dealId}`, `/tickets/{ticketId}` | GET, PATCH, DELETE |
### Users API
| Route | HTTP |
| ----------------- | ---------- |
| `/users` | GET |
| `/users/{userId}` | GET, PATCH |
### Routers API
| Route | HTTP |
| --------------------- | ---- |
| `/routers` | GET |
| `/routers/{routerId}` | GET |
### Dispatch
| Route | HTTP |
| ------------------ | ---- |
| `/dispatch/router` | POST |
## Object types
The object type is inferred from the path segment:
| Path segment | Object type | Default response fields |
| ------------ | ----------- | ------------------------------------------------------------------------------------------- |
| `/contacts` | contacts | `id`, `first_name`, `last_name`, `email`, `contact_owner`, `external_id`, `archived` |
| `/companies` | companies | `id`, `company_name`, `description`, `industry`, `company_owner`, `external_id`, `archived` |
| `/deals` | deals | `id`, `deal_name`, `pipeline`, `deal_stage`, `deal_owner`, `external_id`, `archived` |
| `/tickets` | tickets | `id`, `ticket_name`, `pipeline`, `ticket_owner`, `external_id`, `archived` |
Every response also includes `created_at` and `updated_at` (ISO 8601 UTC). When an object is archived, `archived_by` is added automatically.
## Response format
All object endpoints return a **flat** JSON object. Custom field values appear at the top level next to `id` and `external_id` (there is no nested `fields` object).
### Archived objects
| State | `archived` | `archived_by` |
| -------- | -------------------- | ---------------------------------- |
| Active | `false` | omitted |
| Archived | ISO timestamp string | user or API client id who archived |
`DELETE` archives the object; the record is retained with `archived` set to a timestamp.
### Default properties
When the `properties` query parameter is omitted, each type returns its default field set from the table above, plus `created_at` and `updated_at`. Use `?properties=phone` to request **additional** fields beyond the defaults (not a replacement list). Invalid or disallowed property names return `400`.
Supported on `GET` list, `GET` by id, and `PATCH` update responses.
### List pagination
`GET` on a collection returns:
```json theme={null}
{
"data": [ /* objects */ ],
"pagination": { "limit": 10, "offset": 0, "count": 1 }
}
```
Query parameters: `limit` (default 10, max 100), `offset` (default 0), `archived=true` to include archived rows.
## Write requests
`POST` (create) and `PATCH` (update) use the same JSON shape: a top-level `fields` object whose keys are field **internal names**.
```json theme={null}
{
"fields": {
"external_id": "ext-001",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com"
}
}
```
On **create**, send the fields you want to set. On **update**, send only the fields you want to change.
`POST` responds with **201** and the created object.
### System-managed fields
These fields **cannot** be sent in `body.fields`. Attempts return **400** (for example `Field cannot be set: record_id`):
| Field | When set automatically |
| -------------------------- | ------------------------------------------------------------------------- |
| `record_id` | Database on create — not set by the Objects API |
| `create_date` | POST create |
| `last_modified_date` | Every POST create and PATCH update |
| `*_owner_assigned_date` | When an owner field is included in the request |
| `created_at`, `updated_at` | Object-table timestamps; always in responses, never writable via `fields` |
These fields remain readable via `?properties=` on GET and PATCH responses.
### Field validation
Validation is **atomic**: if any field in `body.fields` fails, the entire create or update is rejected with **400** and nothing is written.
| `field_type_id` | Accepted input | Stored value |
| --------------- | ---------------------------------------------------- | -------------------------------------------------------------------------- |
| `string` | String (or coercible) | String (`email` lowercased; `website_url` stored as canonical host/domain) |
| `number` | Finite number | String |
| `bool` | `true`, `false`, `"true"`, `"false"` | `"true"` or `"false"` |
| `datetime` | ISO 8601, RFC 2822, or numeric timestamp | ISO 8601 UTC string |
| `enumeration` | `internal_name` or display `name` (case-insensitive) | `internal_name` from DB field values |
| `user` | User UUID or email | Email string |
Enumeration allowed values come from the database (`field.values` for that field), including options added in the app — not a fixed list in code.
### Required fields (POST create only)
| Object type | Requirement |
| ----------- | -------------------------------------------------- |
| `contacts` | At least one of `email`, `first_name`, `last_name` |
| `companies` | At least one of `company_name`, `website_url` |
| `deals` | `deal_name`, `deal_stage`, `pipeline` |
| `tickets` | `ticket_name`, `ticket_stage`, `pipeline` |
`PATCH` does not require these fields, but every key in `fields` must exist on the object type and pass type validation.
### Duplicate prevention (POST / PATCH)
POST and PATCH reject duplicate **active** records (non-archived) within the same account and object type. Conflicts return **409** with `field` indicating which key collided.
| Object type | Unique keys checked (when present in `body.fields` or as `external_id`) |
| ----------- | ----------------------------------------------------------------------- |
| `contacts` | `email`, `external_id` |
| `companies` | `website_url`, `external_id` |
| `deals` | `external_id` |
| `tickets` | `external_id` |
Deals and tickets have no other business unique keys; duplicate `deal_name` / `ticket_name` values are allowed unless `external_id` is provided.
Example responses:
```json theme={null}
{
"message": "A contact with this email already exists",
"error": true,
"field": "email"
}
```
```json theme={null}
{
"message": "A deal with this external_id already exists",
"error": true,
"field": "external_id"
}
```
* Re-sending the same POST body with the same key does not create a second record.
* `website_url` variants such as `https://www.foo.com` and `foo.com` are treated as the same company.
* Archived records are ignored; a new active record may reuse a key from an archived one.
* Concurrent requests with the same key may still race without a database unique constraint (application-level check only).
## Routers
`GET /routers` returns a paginated list of routers for the authenticated account. `GET /routers/{routerId}` returns a single router with flattened settings, users, and teams. See [List routers](/api-reference/routers/list) and [Get router](/api-reference/routers/get).
## Users
`GET /users` returns a paginated list of account members. `GET /users/{userId}` returns a single member. `PATCH /users/{userId}` updates writable fields (flat body, not `{ fields }`). See [List users](/api-reference/users/list), [Get user](/api-reference/users/get), and [Update user](/api-reference/users/update).
## Dispatch
`POST /dispatch/router` runs router assignment for an object. The body must include `router_id` and `object_id`. See [Dispatch router](/api-reference/dispatch/router).
## Related guides
Product overview for records and fields in Routera.
# Create company
Source: https://docs.routera.io/api-reference/objects/companies-create
POST /companies
POST /companies — create a new object
## Endpoint
```http theme={null}
POST https://api.routera.io/companies
```
**Route:** `/companies`\
**Authentication:** Bearer JWT
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Include every field you want to set on the new record.
```json theme={null}
{
"fields": {
"external_id": "ext-001",
"company_name": "Acme Corp",
"description": "Example company",
"industry": "Technology"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
**Required on create:** At least one of `company_name` or `website_url`. See [API introduction](/api-reference/introduction) for field types and validation rules.
## Default response fields
**201** returns a flat object with these properties:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `company_name` | Custom or system field (flat on the object) |
| `description` | Custom or system field (flat on the object) |
| `industry` | Custom or system field (flat on the object) |
| `company_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"company_name": "Acme Corp",
"description": "Example company",
"industry": "Technology",
"company_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------ |
| `400` | Invalid JSON body, unknown field name, validation failure, or forbidden system field |
| `401` | Missing account context |
| `409` | Duplicate active record (`email`, `website_url`, or `external_id`) |
| `500` | Internal server error |
# Archive company
Source: https://docs.routera.io/api-reference/objects/companies-delete
DELETE /companies/{companyId}
DELETE /companies/{companyId} — archive an object
## Endpoint
```http theme={null}
DELETE https://api.routera.io/companies/{id}
```
**Route:** `/companies/{companyId}`\
**Authentication:** Bearer JWT
**Path parameter:** `companyId` — object ID
`DELETE` archives the object. The record is kept and `archived` is set to an ISO timestamp.
## Response fields after archive
The **200** response uses default properties plus `archived_by`:
| Property | Description |
| --------------- | --------------------------------------------------------------------------------------- |
| `id` | Internal object ID |
| `company_name` | Custom or system field (flat on the object) |
| `description` | Custom or system field (flat on the object) |
| `industry` | Custom or system field (flat on the object) |
| `company_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
| `archived_by` | User or API client ID who archived the object (only when archived; added automatically) |
| Field | Value when archived |
| ------------- | ---------------------------------------------------- |
| `archived` | ISO timestamp (no longer `false`) |
| `archived_by` | ID of the user or API client who archived the object |
`created_at` and `updated_at` are always included in every response.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": "2026-05-28T12:00:00.000Z",
"company_name": "Acme Corp",
"description": "Example company",
"industry": "Technology",
"company_owner": "jane@example.com",
"archived_by": "user-uuid"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------ |
| `400` | Missing `companyId` in path |
| `401` | Missing account context |
| `404` | Object not found or already archived |
# Get company by ID
Source: https://docs.routera.io/api-reference/objects/companies-get
GET /companies/{companyId}
GET /companies/{companyId} — retrieve one object
## Endpoint
```http theme={null}
GET https://api.routera.io/companies/{id}
```
**Route:** `/companies/{companyId}`\
**Authentication:** Bearer JWT
**Path parameter:** `companyId` — object ID
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
## Default response fields
When `properties` is omitted:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `company_name` | Custom or system field (flat on the object) |
| `description` | Custom or system field (flat on the object) |
| `industry` | Custom or system field (flat on the object) |
| `company_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
**200**
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"company_name": "Acme Corp",
"description": "Example company",
"industry": "Technology",
"company_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | --------------------------------------------------- |
| `400` | Missing `companyId` in path or invalid `properties` |
| `401` | Missing account context |
| `404` | Object not found |
# List companies
Source: https://docs.routera.io/api-reference/objects/companies-list
GET /companies
GET /companies — paginated list with optional property filter
## Endpoint
```http theme={null}
GET https://api.routera.io/companies
```
**Route:** `/companies`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
| `archived` | boolean | `false` | Set to `true` to include archived objects |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Default response fields
When `properties` is omitted, each item in `data` includes:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `company_name` | Custom or system field (flat on the object) |
| `description` | Custom or system field (flat on the object) |
| `industry` | Custom or system field (flat on the object) |
| `company_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"company_name": "Acme Corp",
"description": "Example company",
"industry": "Technology",
"company_owner": "jane@example.com"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
## Errors
| Status | When |
| ------ | ---------------------------------------------------------------- |
| `400` | Invalid `properties` query (empty list or invalid property name) |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
```json theme={null}
{ "message": "Invalid property name: example", "error": true }
```
# Update company
Source: https://docs.routera.io/api-reference/objects/companies-update
PATCH /companies/{companyId}
PATCH /companies/{companyId} — update fields on an active object
## Endpoint
```http theme={null}
PATCH https://api.routera.io/companies/{id}
```
**Route:** `/companies/{companyId}`\
**Authentication:** Bearer JWT
**Path parameter:** `companyId` — object ID
## Query parameters
Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`.
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Only include keys you want to change. Omitted fields keep their current values.
```json theme={null}
{
"fields": {
"company_name": "Acme Corp"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
## Default response fields
**200** returns the updated object using the default property set:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `company_name` | Custom or system field (flat on the object) |
| `description` | Custom or system field (flat on the object) |
| `industry` | Custom or system field (flat on the object) |
| `company_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------------------------ |
| `400` | Missing `companyId`, invalid `properties`, invalid JSON, validation failure, or forbidden system field |
| `401` | Missing account context |
| `404` | Object not found |
| `409` | Object is archived — cannot update |
| `409` | Duplicate active record (unique key collision) |
```json theme={null}
{ "message": "Cannot update an archived object", "error": true }
```
# Create contact
Source: https://docs.routera.io/api-reference/objects/contacts-create
POST /contacts
POST /contacts — create a new object
## Endpoint
```http theme={null}
POST https://api.routera.io/contacts
```
**Route:** `/contacts`\
**Authentication:** Bearer JWT
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Include every field you want to set on the new record.
```json theme={null}
{
"fields": {
"external_id": "ext-001",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
**Required on create:** At least one of `email`, `first_name`, or `last_name`. See [API introduction](/api-reference/introduction) for field types and validation rules.
## Default response fields
**201** returns a flat object with these properties:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `first_name` | First name |
| `last_name` | Last name |
| `email` | User email (read-only) |
| `contact_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"contact_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------ |
| `400` | Invalid JSON body, unknown field name, validation failure, or forbidden system field |
| `401` | Missing account context |
| `409` | Duplicate active record (`email`, `website_url`, or `external_id`) |
| `500` | Internal server error |
# Archive contact
Source: https://docs.routera.io/api-reference/objects/contacts-delete
DELETE /contacts/{contactId}
DELETE /contacts/{contactId} — archive an object
## Endpoint
```http theme={null}
DELETE https://api.routera.io/contacts/{id}
```
**Route:** `/contacts/{contactId}`\
**Authentication:** Bearer JWT
**Path parameter:** `contactId` — object ID
`DELETE` archives the object. The record is kept and `archived` is set to an ISO timestamp.
## Response fields after archive
The **200** response uses default properties plus `archived_by`:
| Property | Description |
| --------------- | --------------------------------------------------------------------------------------- |
| `id` | Internal object ID |
| `first_name` | First name |
| `last_name` | Last name |
| `email` | User email (read-only) |
| `contact_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
| `archived_by` | User or API client ID who archived the object (only when archived; added automatically) |
| Field | Value when archived |
| ------------- | ---------------------------------------------------- |
| `archived` | ISO timestamp (no longer `false`) |
| `archived_by` | ID of the user or API client who archived the object |
`created_at` and `updated_at` are always included in every response.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": "2026-05-28T12:00:00.000Z",
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"contact_owner": "jane@example.com",
"archived_by": "user-uuid"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------ |
| `400` | Missing `contactId` in path |
| `401` | Missing account context |
| `404` | Object not found or already archived |
# Get contact by ID
Source: https://docs.routera.io/api-reference/objects/contacts-get
GET /contacts/{contactId}
GET /contacts/{contactId} — retrieve one object
## Endpoint
```http theme={null}
GET https://api.routera.io/contacts/{id}
```
**Route:** `/contacts/{contactId}`\
**Authentication:** Bearer JWT
**Path parameter:** `contactId` — object ID
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
## Default response fields
When `properties` is omitted:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `first_name` | First name |
| `last_name` | Last name |
| `email` | User email (read-only) |
| `contact_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
**200**
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"contact_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | --------------------------------------------------- |
| `400` | Missing `contactId` in path or invalid `properties` |
| `401` | Missing account context |
| `404` | Object not found |
# List contacts
Source: https://docs.routera.io/api-reference/objects/contacts-list
GET /contacts
GET /contacts — paginated list with optional property filter
## Endpoint
```http theme={null}
GET https://api.routera.io/contacts
```
**Route:** `/contacts`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
| `archived` | boolean | `false` | Set to `true` to include archived objects |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Default response fields
When `properties` is omitted, each item in `data` includes:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `first_name` | First name |
| `last_name` | Last name |
| `email` | User email (read-only) |
| `contact_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"contact_owner": "jane@example.com"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
## Errors
| Status | When |
| ------ | ---------------------------------------------------------------- |
| `400` | Invalid `properties` query (empty list or invalid property name) |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
```json theme={null}
{ "message": "Invalid property name: example", "error": true }
```
# Update contact
Source: https://docs.routera.io/api-reference/objects/contacts-update
PATCH /contacts/{contactId}
PATCH /contacts/{contactId} — update fields on an active object
## Endpoint
```http theme={null}
PATCH https://api.routera.io/contacts/{id}
```
**Route:** `/contacts/{contactId}`\
**Authentication:** Bearer JWT
**Path parameter:** `contactId` — object ID
## Query parameters
Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`.
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Only include keys you want to change. Omitted fields keep their current values.
```json theme={null}
{
"fields": {
"first_name": "Ada"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
## Default response fields
**200** returns the updated object using the default property set:
| Property | Description |
| --------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `first_name` | First name |
| `last_name` | Last name |
| `email` | User email (read-only) |
| `contact_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------------------------ |
| `400` | Missing `contactId`, invalid `properties`, invalid JSON, validation failure, or forbidden system field |
| `401` | Missing account context |
| `404` | Object not found |
| `409` | Object is archived — cannot update |
| `409` | Duplicate active record (unique key collision) |
```json theme={null}
{ "message": "Cannot update an archived object", "error": true }
```
# Create deal
Source: https://docs.routera.io/api-reference/objects/deals-create
POST /deals
POST /deals — create a new object
## Endpoint
```http theme={null}
POST https://api.routera.io/deals
```
**Route:** `/deals`\
**Authentication:** Bearer JWT
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Include every field you want to set on the new record.
```json theme={null}
{
"fields": {
"external_id": "ext-001",
"deal_name": "Enterprise plan",
"pipeline": "default",
"deal_stage": "qualified"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
**Required on create:** `deal_name`, `deal_stage`, and `pipeline`. See [API introduction](/api-reference/introduction) for field types and validation rules.
## Default response fields
**201** returns a flat object with these properties:
| Property | Description |
| ------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `deal_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `deal_stage` | Custom or system field (flat on the object) |
| `deal_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"deal_name": "Enterprise plan",
"pipeline": "default",
"deal_stage": "qualified",
"deal_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------ |
| `400` | Invalid JSON body, unknown field name, validation failure, or forbidden system field |
| `401` | Missing account context |
| `409` | Duplicate active record (`email`, `website_url`, or `external_id`) |
| `500` | Internal server error |
# Archive deal
Source: https://docs.routera.io/api-reference/objects/deals-delete
DELETE /deals/{dealId}
DELETE /deals/{dealId} — archive an object
## Endpoint
```http theme={null}
DELETE https://api.routera.io/deals/{id}
```
**Route:** `/deals/{dealId}`\
**Authentication:** Bearer JWT
**Path parameter:** `dealId` — object ID
`DELETE` archives the object. The record is kept and `archived` is set to an ISO timestamp.
## Response fields after archive
The **200** response uses default properties plus `archived_by`:
| Property | Description |
| ------------- | --------------------------------------------------------------------------------------- |
| `id` | Internal object ID |
| `deal_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `deal_stage` | Custom or system field (flat on the object) |
| `deal_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
| `archived_by` | User or API client ID who archived the object (only when archived; added automatically) |
| Field | Value when archived |
| ------------- | ---------------------------------------------------- |
| `archived` | ISO timestamp (no longer `false`) |
| `archived_by` | ID of the user or API client who archived the object |
`created_at` and `updated_at` are always included in every response.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": "2026-05-28T12:00:00.000Z",
"deal_name": "Enterprise plan",
"pipeline": "default",
"deal_stage": "qualified",
"deal_owner": "jane@example.com",
"archived_by": "user-uuid"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------ |
| `400` | Missing `dealId` in path |
| `401` | Missing account context |
| `404` | Object not found or already archived |
# Get deal by ID
Source: https://docs.routera.io/api-reference/objects/deals-get
GET /deals/{dealId}
GET /deals/{dealId} — retrieve one object
## Endpoint
```http theme={null}
GET https://api.routera.io/deals/{id}
```
**Route:** `/deals/{dealId}`\
**Authentication:** Bearer JWT
**Path parameter:** `dealId` — object ID
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
## Default response fields
When `properties` is omitted:
| Property | Description |
| ------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `deal_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `deal_stage` | Custom or system field (flat on the object) |
| `deal_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
**200**
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"deal_name": "Enterprise plan",
"pipeline": "default",
"deal_stage": "qualified",
"deal_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------ |
| `400` | Missing `dealId` in path or invalid `properties` |
| `401` | Missing account context |
| `404` | Object not found |
# List deals
Source: https://docs.routera.io/api-reference/objects/deals-list
GET /deals
GET /deals — paginated list with optional property filter
## Endpoint
```http theme={null}
GET https://api.routera.io/deals
```
**Route:** `/deals`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
| `archived` | boolean | `false` | Set to `true` to include archived objects |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Default response fields
When `properties` is omitted, each item in `data` includes:
| Property | Description |
| ------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `deal_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `deal_stage` | Custom or system field (flat on the object) |
| `deal_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"deal_name": "Enterprise plan",
"pipeline": "default",
"deal_stage": "qualified",
"deal_owner": "jane@example.com"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
## Errors
| Status | When |
| ------ | ---------------------------------------------------------------- |
| `400` | Invalid `properties` query (empty list or invalid property name) |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
```json theme={null}
{ "message": "Invalid property name: example", "error": true }
```
# Update deal
Source: https://docs.routera.io/api-reference/objects/deals-update
PATCH /deals/{dealId}
PATCH /deals/{dealId} — update fields on an active object
## Endpoint
```http theme={null}
PATCH https://api.routera.io/deals/{id}
```
**Route:** `/deals/{dealId}`\
**Authentication:** Bearer JWT
**Path parameter:** `dealId` — object ID
## Query parameters
Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`.
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Only include keys you want to change. Omitted fields keep their current values.
```json theme={null}
{
"fields": {
"deal_name": "Enterprise plan"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
## Default response fields
**200** returns the updated object using the default property set:
| Property | Description |
| ------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `deal_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `deal_stage` | Custom or system field (flat on the object) |
| `deal_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Errors
| Status | When |
| ------ | --------------------------------------------------------------------------------------------------- |
| `400` | Missing `dealId`, invalid `properties`, invalid JSON, validation failure, or forbidden system field |
| `401` | Missing account context |
| `404` | Object not found |
| `409` | Object is archived — cannot update |
| `409` | Duplicate active record (unique key collision) |
```json theme={null}
{ "message": "Cannot update an archived object", "error": true }
```
# Create ticket
Source: https://docs.routera.io/api-reference/objects/tickets-create
POST /tickets
POST /tickets — create a new object
## Endpoint
```http theme={null}
POST https://api.routera.io/tickets
```
**Route:** `/tickets`\
**Authentication:** Bearer JWT
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Include every field you want to set on the new record.
```json theme={null}
{
"fields": {
"external_id": "ext-001",
"ticket_name": "Support request",
"pipeline": "default",
"ticket_stage": "new"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
**Required on create:** `ticket_name`, `ticket_stage`, and `pipeline`. See [API introduction](/api-reference/introduction) for field types and validation rules.
## Default response fields
**201** returns a flat object with these properties:
| Property | Description |
| -------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `ticket_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `ticket_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"ticket_name": "Support request",
"pipeline": "default",
"ticket_stage": "new",
"ticket_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------ |
| `400` | Invalid JSON body, unknown field name, validation failure, or forbidden system field |
| `401` | Missing account context |
| `409` | Duplicate active record (`email`, `website_url`, or `external_id`) |
| `500` | Internal server error |
# Archive ticket
Source: https://docs.routera.io/api-reference/objects/tickets-delete
DELETE /tickets/{ticketId}
DELETE /tickets/{ticketId} — archive an object
## Endpoint
```http theme={null}
DELETE https://api.routera.io/tickets/{id}
```
**Route:** `/tickets/{ticketId}`\
**Authentication:** Bearer JWT
**Path parameter:** `ticketId` — object ID
`DELETE` archives the object. The record is kept and `archived` is set to an ISO timestamp.
## Response fields after archive
The **200** response uses default properties plus `archived_by`:
| Property | Description |
| -------------- | --------------------------------------------------------------------------------------- |
| `id` | Internal object ID |
| `ticket_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `ticket_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
| `archived_by` | User or API client ID who archived the object (only when archived; added automatically) |
| Field | Value when archived |
| ------------- | ---------------------------------------------------- |
| `archived` | ISO timestamp (no longer `false`) |
| `archived_by` | ID of the user or API client who archived the object |
`created_at` and `updated_at` are always included in every response.
## Response example
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": "2026-05-28T12:00:00.000Z",
"ticket_name": "Support request",
"pipeline": "default",
"ticket_stage": "new",
"ticket_owner": "jane@example.com",
"archived_by": "user-uuid"
}
```
## Errors
| Status | When |
| ------ | ------------------------------------ |
| `400` | Missing `ticketId` in path |
| `401` | Missing account context |
| `404` | Object not found or already archived |
# Get ticket by ID
Source: https://docs.routera.io/api-reference/objects/tickets-get
GET /tickets/{ticketId}
GET /tickets/{ticketId} — retrieve one object
## Endpoint
```http theme={null}
GET https://api.routera.io/tickets/{id}
```
**Route:** `/tickets/{ticketId}`\
**Authentication:** Bearer JWT
**Path parameter:** `ticketId` — object ID
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
## Default response fields
When `properties` is omitted:
| Property | Description |
| -------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `ticket_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `ticket_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response example
**200**
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"ticket_name": "Support request",
"pipeline": "default",
"ticket_stage": "new",
"ticket_owner": "jane@example.com"
}
```
## Errors
| Status | When |
| ------ | -------------------------------------------------- |
| `400` | Missing `ticketId` in path or invalid `properties` |
| `401` | Missing account context |
| `404` | Object not found |
# List tickets
Source: https://docs.routera.io/api-reference/objects/tickets-list
GET /tickets
GET /tickets — paginated list with optional property filter
## Endpoint
```http theme={null}
GET https://api.routera.io/tickets
```
**Route:** `/tickets`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ------------ | ------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `properties` | string | *(defaults below)* | Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`. |
| `archived` | boolean | `false` | Set to `true` to include archived objects |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Default response fields
When `properties` is omitted, each item in `data` includes:
| Property | Description |
| -------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `ticket_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `ticket_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": "ext-001",
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"archived": false,
"ticket_name": "Support request",
"pipeline": "default",
"ticket_stage": "new",
"ticket_owner": "jane@example.com"
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
## Errors
| Status | When |
| ------ | ---------------------------------------------------------------- |
| `400` | Invalid `properties` query (empty list or invalid property name) |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
```json theme={null}
{ "message": "Invalid property name: example", "error": true }
```
# Update ticket
Source: https://docs.routera.io/api-reference/objects/tickets-update
PATCH /tickets/{ticketId}
PATCH /tickets/{ticketId} — update fields on an active object
## Endpoint
```http theme={null}
PATCH https://api.routera.io/tickets/{id}
```
**Route:** `/tickets/{ticketId}`\
**Authentication:** Bearer JWT
**Path parameter:** `ticketId` — object ID
## Query parameters
Comma-separated list of **additional** property names to include alongside the default set for this object type (e.g. `?properties=phone`). Names already in the default set are not duplicated. Invalid or disallowed property names return `400`.
## Request body
The body is a JSON object with a single `fields` property. Each key inside `fields` is a field **internal\_name** (the same names returned in GET responses, not nested under `fields` in the response).
Only include keys you want to change. Omitted fields keep their current values.
```json theme={null}
{
"fields": {
"ticket_name": "Support request"
}
}
```
| Key | Description |
| -------------------- | -------------------------------------------------------------- |
| `fields` | Required. Map of `internal_name` → value for this object type. |
| `fields.external_id` | Optional. External identifier for sync with outside systems. |
Custom fields configured in your account use the same key names inside `fields`.
## Default response fields
**200** returns the updated object using the default property set:
| Property | Description |
| -------------- | ------------------------------------------------ |
| `id` | Internal object ID |
| `ticket_name` | Custom or system field (flat on the object) |
| `pipeline` | Custom or system field (flat on the object) |
| `ticket_owner` | Assigned owner email |
| `external_id` | External identifier (nullable) |
| `archived` | `false` when active; ISO timestamp when archived |
`created_at` and `updated_at` are always included in every response (ISO 8601 UTC), even when not listed above. When an object is **archived**, `archived_by` is also included automatically.
## Errors
| Status | When |
| ------ | ----------------------------------------------------------------------------------------------------- |
| `400` | Missing `ticketId`, invalid `properties`, invalid JSON, validation failure, or forbidden system field |
| `401` | Missing account context |
| `404` | Object not found |
| `409` | Object is archived — cannot update |
| `409` | Duplicate active record (unique key collision) |
```json theme={null}
{ "message": "Cannot update an archived object", "error": true }
```
# Get router
Source: https://docs.routera.io/api-reference/routers/get
GET /routers/{routerId}
GET /routers/{routerId} — retrieve a single router
## Endpoint
```http theme={null}
GET https://api.routera.io/routers/{routerId}
```
**Route:** `/routers/{routerId}`\
**Authentication:** Bearer JWT
## Path parameters
| Parameter | Required | Description |
| ---------- | -------- | ----------- |
| `routerId` | Yes | Router UUID |
## Response
**200** — Router object (same shape as list items)
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Contact Router",
"object_type": "contacts",
"has_integration": true,
"is_published": true,
"archived": false,
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"settings": {
"overwrite": true,
"owner_field": "contact_owner",
"distribution_model": "round robin",
"default_user": "developer@test.com",
"disable_default_assignment": false,
"ignore_working_hours": true,
"account_matching": true,
"trigger": {
"groups": [
{
"conditions": []
}
]
}
},
"users": [
{
"email": "user@example.com"
}
],
"teams": [
{
"name": "Sales Team"
}
]
}
```
### Settings mapping
| Setting key | API value |
| ---------------------------- | ------------------------------------------- |
| `overwrite` | boolean |
| `owner_field` | field internal name string |
| `distribution_model` | `"round robin"` or `"percentage"` |
| `default_user` | backup user email |
| `disable_default_assignment` | boolean |
| `ignore_working_hours` | boolean |
| `account_matching` | boolean |
| `rotation_type` | string |
| `trigger` | JSON object (only setting returned as JSON) |
## Errors
| Status | When |
| ------ | ------------------------------------------ |
| `400` | Invalid or missing `routerId` (not a UUID) |
| `401` | Missing or invalid account context in JWT |
| `404` | Router not found for this account |
| `500` | Internal server error |
# List routers
Source: https://docs.routera.io/api-reference/routers/list
GET /routers
GET /routers — paginated list of account routers
## Endpoint
```http theme={null}
GET https://api.routera.io/routers
```
**Route:** `/routers`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ---------- | ------- | ------- | ----------------------------------------- |
| `archived` | boolean | `false` | Set to `true` to include archived routers |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Response fields
Each item in `data` includes:
| Property | Description |
| -------------------------- | ----------------------------------------------------- |
| `id` | Router ID |
| `name` | Router display name |
| `object_type` | Target object type internal name (e.g. `contacts`) |
| `has_integration` | Whether the router uses a CRM integration |
| `is_published` | Whether the router is published |
| `settings` | Flattened configuration (primitives except `trigger`) |
| `users` | Rotation users (`email` only) |
| `teams` | Rotation teams (`name` only) |
| `archived` | `false` or ISO timestamp when archived |
| `created_at`, `updated_at` | Router timestamps (ISO 8601 UTC) |
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Contact Router",
"object_type": "contacts",
"has_integration": true,
"is_published": true,
"archived": false,
"created_at": "2026-05-01T10:00:00.000Z",
"updated_at": "2026-05-28T12:00:00.000Z",
"settings": {
"overwrite": true,
"owner_field": "contact_owner",
"distribution_model": "round robin",
"default_user": "developer@test.com",
"disable_default_assignment": false,
"ignore_working_hours": true,
"account_matching": true,
"trigger": {
"groups": [
{
"conditions": []
}
]
}
},
"users": [
{
"email": "user@example.com"
}
],
"teams": [
{
"name": "Sales Team"
}
]
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
## Errors
| Status | When |
| ------ | --------------------------------------------------------- |
| `400` | Invalid list path (e.g. `/routers/{id}` on list endpoint) |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
# Get user
Source: https://docs.routera.io/api-reference/users/get
GET /users/{userId}
GET /users/{userId} — retrieve a single account member
## Endpoint
```http theme={null}
GET https://api.routera.io/users/{userId}
```
**Route:** `/users/{userId}`\
**Authentication:** Bearer JWT
## Path parameters
| Parameter | Required | Description |
| --------- | -------- | -------------- |
| `userId` | Yes | User ID (UUID) |
Returns archived members as well (no `deleted_at` filter on get).
## Response
**200** — User object directly (not wrapped in `data`)
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"full_name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"role": "Administrator",
"external_id": null,
"phone": null,
"office_status": true,
"working_hours": [
{
"days": "Mon - Fri",
"start_date": "09:00",
"end_date": "17:00"
},
{
"days": "saturday",
"start_date": "10:00",
"end_date": "14:00"
}
],
"out_office_dates": [
{
"start_date": "2026-04-02T12:00:00.000Z",
"end_date": "2026-04-03T12:00:00.000Z",
"created_by": "user@example.com"
}
],
"time_zone": "America/New_York",
"calendars": {
"outlook": "user@example.com"
},
"capacity": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Leads",
"current_capacity": 2,
"max_capacity": 10,
"assignment_type": "user"
}
],
"can_receive_notifications": true,
"notification_preferences": [
"billing",
"routing",
"system"
],
"archived": false
}
```
### Archived state
| State | `archived` | `archived_by` |
| ------------------------------------------- | ------------------ | -------------------- |
| Active | `false` | omitted |
| Archived (soft-deleted on `member_account`) | ISO 8601 timestamp | user id who archived |
## Errors
| Status | When |
| ------ | ----------------------------------------- |
| `400` | Invalid or missing `userId` (not a UUID) |
| `401` | Missing or invalid account context in JWT |
| `404` | Member not found for this account |
| `500` | Internal server error |
# List users
Source: https://docs.routera.io/api-reference/users/list
GET /users
GET /users — paginated list of account members
## Endpoint
```http theme={null}
GET https://api.routera.io/users
```
**Route:** `/users`\
**Authentication:** Bearer JWT
## Query parameters
| Parameter | Type | Default | Description |
| ---------- | ------- | ------- | --------------------------------------------- |
| `archived` | boolean | `false` | Set to `true` to include soft-deleted members |
| `limit` | integer | `10` | Maximum number of results (10–100) |
| `offset` | integer | `0` | Pagination offset |
## Response fields
Each item in `data` includes:
| Property | Description |
| -------------------------------------- | ------------------------------------------------------------------------------------------------- |
| `id` | User ID (UUID) |
| `email` | User email (read-only) |
| `full_name`, `first_name`, `last_name` | Display and name fields |
| `role` | Role display name (read-only; change via `role_id` on PATCH) |
| `external_id` | External identifier (nullable) |
| `phone` | Phone number |
| `office_status` | Whether the member is in office (boolean) |
| `working_hours` | Array of `{ days, start_date, end_date }` (`days` e.g. `Mon - Fri` or `monday`; times as `HH:mm`) |
| `out_office_dates` | Out-of-office ranges (`start_date`, `end_date`, optional `created_by`) |
| `time_zone` | IANA time zone (e.g. `America/New_York`) |
| `calendars` | Active calendar configs keyed by provider to email (read-only) |
| `capacity` | Capacity assignments (`id`, `name`, `current_capacity`, `max_capacity`, `assignment_type`) |
| `can_receive_notifications` | Whether the member can receive notifications |
| `notification_preferences` | Notification preference categories |
| `archived` | `false` when active; ISO timestamp when archived |
| `archived_by` | Present when archived |
## Response
**200** — Paginated list
```json theme={null}
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"full_name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"role": "Administrator",
"external_id": null,
"phone": null,
"office_status": true,
"working_hours": [
{
"days": "Mon - Fri",
"start_date": "09:00",
"end_date": "17:00"
},
{
"days": "saturday",
"start_date": "10:00",
"end_date": "14:00"
}
],
"out_office_dates": [
{
"start_date": "2026-04-02T12:00:00.000Z",
"end_date": "2026-04-03T12:00:00.000Z",
"created_by": "user@example.com"
}
],
"time_zone": "America/New_York",
"calendars": {
"outlook": "user@example.com"
},
"capacity": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Leads",
"current_capacity": 2,
"max_capacity": 10,
"assignment_type": "user"
}
],
"can_receive_notifications": true,
"notification_preferences": [
"billing",
"routing",
"system"
],
"archived": false
}
],
"pagination": {
"limit": 10,
"offset": 0,
"count": 1
}
}
```
`pagination.count` is the number of items in this page (not the total account member count).
## Errors
| Status | When |
| ------ | ----------------------------------------- |
| `400` | Invalid list path or query parameters |
| `401` | Missing or invalid account context in JWT |
| `500` | Internal server error |
# Update user
Source: https://docs.routera.io/api-reference/users/update
PATCH /users/{userId}
PATCH /users/{userId} — update writable member fields
## Endpoint
```http theme={null}
PATCH https://api.routera.io/users/{userId}
```
**Route:** `/users/{userId}`\
**Authentication:** Bearer JWT
Partial update with a **flat** JSON body (not `{ fields: { ... } }`). At least one writable field is required.
## Path parameters
| Parameter | Required | Description |
| --------- | -------- | -------------- |
| `userId` | Yes | User ID (UUID) |
## Request body
| Field | Description |
| --------------------------- | ----------------------------------------------------------------------------------------------------- |
| `full_name` | Display name |
| `first_name` | First name |
| `last_name` | Last name |
| `phone` | Phone number |
| `office_status` | Whether the member is in office (boolean) |
| `time_zone` | IANA time zone (e.g. `America/New_York`) |
| `external_id` | External identifier |
| `working_hours` | Array of `{ days, start_date, end_date }` (`days` e.g. `Mon - Fri` or `monday`; times as `HH:mm`) |
| `out_office_dates` | Array of `{ start_date, end_date }` (ISO date or timestamp); extra keys like `created_by` are ignored |
| `capacity` | Capacity configuration |
| `can_receive_notifications` | Whether the member can receive notifications |
| `notification_preferences` | Notification preference categories |
| `role_id` | Role UUID that belongs to the authenticated account |
### Read-only (rejected if present)
`id`, `email`, `calendars`, `archived`, `archived_by`
Unknown or read-only keys return **400**.
```json theme={null}
{
"full_name": "Jane Doe",
"phone": "+15551234567",
"office_status": true,
"time_zone": "America/New_York",
"working_hours": [
{
"days": "Mon - Fri",
"start_date": "09:00",
"end_date": "17:00"
}
],
"out_office_dates": [
{
"start_date": "2026-09-10T00:00:00.000Z",
"end_date": "2026-09-12T23:59:59.000Z"
}
],
"role_id": "770e8400-e29b-41d4-a716-446655440002"
}
```
## Response
**200** — Updated user object (same shape as get)
```json theme={null}
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "user@example.com",
"full_name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"role": "Administrator",
"external_id": null,
"phone": null,
"office_status": true,
"working_hours": [
{
"days": "Mon - Fri",
"start_date": "09:00",
"end_date": "17:00"
},
{
"days": "saturday",
"start_date": "10:00",
"end_date": "14:00"
}
],
"out_office_dates": [
{
"start_date": "2026-04-02T12:00:00.000Z",
"end_date": "2026-04-03T12:00:00.000Z",
"created_by": "user@example.com"
}
],
"time_zone": "America/New_York",
"calendars": {
"outlook": "user@example.com"
},
"capacity": [
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Leads",
"current_capacity": 2,
"max_capacity": 10,
"assignment_type": "user"
}
],
"can_receive_notifications": true,
"notification_preferences": [
"billing",
"routing",
"system"
],
"archived": false
}
```
## Errors
| Status | When |
| ------ | ------------------------------------------------------------------------------------------------------------- |
| `400` | Invalid path/id, JSON body, unknown/read-only fields, or invalid `role_id` / `time_zone` / `out_office_dates` |
| `401` | Missing or invalid account context in JWT |
| `404` | Member not found for this account |
| `409` | Cannot update an archived user |
| `500` | Internal server error |
# Phone numbers
Source: https://docs.routera.io/kb/create-phone-number
Purchase numbers, attach voice agents, and enable Branded Call for better outbound deliverability.
Phone numbers connect your [voice agents](/kb/create-voice-agent) to real inbound and outbound calls. After you buy a number, configure which agents answer calls in each direction and optionally enable **Branded Call** so recipients see your business name on outbound calls—improving answer rates and trust.
## Purchase a phone number
1. Open **Voice Agents** → **Phone Numbers** in the sidebar.
2. Click **Add Phone Number**.
3. Optionally enter a three-digit **area code**, then click **Next** to search (leave blank to browse all available numbers).
4. Select a number from the list to purchase it.
Numbers include a recurring monthly charge (billed through your workspace subscription). After purchase, open the number from the list to finish setup.
***
## Configure voice agents
Click the phone number in the list to open **Configure phone number**.
1. **Inbound voice agent** — handles incoming calls to this number.
2. **Outbound voice agent** — handles calls placed from this number (including **Make outbound call** tests).
3. Click **Save**.
You can use the same agent for both directions or assign different agents. Only **published**, active voice agents appear in the dropdowns.
If you select **Calls only** under **Usage**, the number is reserved for in-app calls only and will not be linked to voice agents. You can assign it to an account member so they can use it as their caller ID when placing calls from Routera.
The list shows a status indicator when both inbound and outbound agents are set. Publish your agents in [Create voice agents](/kb/create-voice-agent) before attaching them here.
***
## Branded Call (call deliverability)
**Branded Call** registers your business with the carrier so **outbound** calls can display your company name instead of an unknown number. That helps answer rates and reduces the chance calls are ignored or flagged as spam.
On the phone number configuration page, under **Add-ons**:
1. Click **Enable** on **Branded Call** (\$150 one-time setup fee; charged when you submit).
2. Complete the three-step profile:
* **General information** — legal business name, profile friendly name, country, and business address.
* **Business Information** — business type, industry, registration ID, website, and regions of operation.
* **Point of Contact** — authorized contact for verification.
3. Submit the profile. Status appears on the card:
* **In review** — carrier is verifying your information.
* **Approved** — branding can be used on outbound calls from this number.
* **Rejected** — update details or contact support; use **View** to review what was submitted.
Branded Call requires billing on file (Stripe customer on the workspace). Use exact legal business details that match your registration documents. After submission, the form is read-only via **View** while the profile is processed.
Branded Call applies to **outbound** identity on this number. Inbound callers still see your number as usual; pairing with a clear **global prompt** and compliant calling practices improves overall deliverability.
***
## Test your setup
**Inbound** — Call the phone number from another line. The selected **inbound** voice agent should answer.
**Outbound** — On the configuration page, click **Make outbound call**, enter or select a destination number (or pick a contact with a phone on file), and place a test call. The **outbound** voice agent runs the conversation.
Finish [Create voice agents](/kb/create-voice-agent) (global prompt, tools, publish) before attaching agents. Enable **Branded Call** when you are making outbound calls to customers who do not already have your number saved.
# Managing records
Source: https://docs.routera.io/kb/create-records
Create, edit, filter, and customize record lists in Routera.
Records are organized by object type (for example **Contacts**, **Companies**, **Deals**, and **Tickets**). Open the type you need from **Records** in the sidebar.
## Create a record
1. Go to **Records** and select the object type.
2. Click **Create** followed by the object name (for example **Create contact**).
3. Complete the form in the drawer. Required fields depend on your object type and field configuration in **Settings** → **Data Fields**.
4. Click **Save**.
## Edit records (bulk)
1. On the same list, select one or more records using the checkboxes.
2. Click **Edit**.
3. Choose the **property to update**, enter or select the new value, and click **Update**.
Open a single record from the list to view or change it on the detail page.
## Customize columns
Click **Edit columns** to choose which fields appear in the table and adjust column order.
## Filter the list
1. Click **Filters**, then add a filter and pick a field.
2. Choose an operator and value (for example equals, contains, is known).
3. Combine filters with **AND** or **OR** as needed. Use **Reset** to clear all filters.
**AND** returns records that match every condition in a group. **OR** returns records that match any condition—useful when you want results from multiple values on the same field (for example country is United States or Canada).
Many records sync from your CRM after [HubSpot integration](/kb/integrate-hubspot). You can still create and edit records in Routera when your role has permission.
# Creating roles
Source: https://docs.routera.io/kb/create-roles
Create custom roles and control access to records, routers, and settings.
## Default roles
Every workspace includes two built-in roles:
* **Administrator** — full access to records, routers, and settings.
* **User** — access scoped to their profile (availability, working hours, calendars) and assigned work.
Default roles cannot be edited or deleted.
## Create a custom role
1. Open **Settings** → **Roles**.
2. Click **Create role**. Routera opens the new role so you can configure it.
3. Rename the role if needed, then set permissions on the **Records**, **Router**, and **Settings** tabs.
4. Click **Save** when you are finished.
On each tab, permissions use **Read**, **Create**, **Edit**, and **Delete** where they apply. Settings permissions map to each settings area (for example **Users** and **Teams** under the users section).
## Assign a role to a user
Choose the role when you [invite a user](/kb/inviting-users), or update an existing member’s role from **Settings** → **Users**.
Start with the minimum permissions someone needs—you can always grant more later.
# Create voice agents
Source: https://docs.routera.io/kb/create-voice-agent
Configure voice agents, global prompts with dynamic fields and tools, and go live on phone numbers.
Voice agents automate inbound and outbound calls for qualification, scheduling, support, and follow-up. Each agent has four tabs: **Agent Settings** (voice, LLM, and **global prompt**), **Transcription Settings**, **Tools**, and **Test**.
## Create a voice agent
1. Open **Voice Agents** in the sidebar.
2. Click **Create Voice Agent**.
3. Configure each tab, then **Save**. Use **Publish** when the agent is ready to take calls (**Unpublish** pauses live use without deleting the agent).
Use the in-app **Help** option (bottom right) for the tutorial video and guided tour.
***
## Agent Settings
### Voice and language
1. Select **language**.
2. Choose a **voice** (Google or ElevenLabs) and use the play button to preview.
3. For **ElevenLabs** voices, open the gear icon next to the voice selector to pick a model (for example `flash_v2`, `flash_v2_5`, `turbo_v2`, `turbo_v2_5`). Lower-latency models can improve real-time conversations.
4. Select the primary **LLM model** (and optional backup model). Open the gear icons to tune temperature and related settings when available.
### Who speaks first
* **Customer** — the caller speaks first (typical for inbound).
* **Agent** — the agent opens with a **Welcome greeting** you write in the editor. You can use **Insert Field** and **Default Values** on the greeting the same way as the global prompt.
Optional: enable **Interruption sensitivity** so the caller can interrupt the agent, then choose **Low**, **Medium**, or **High**.
***
## Global prompt
The **global prompt** is the main instruction set for your agent on every call. It defines tone, goals, what to ask, when to transfer, and how to use enabled tools. Routera ships a default prompt you can edit or replace.
Treat the global prompt as the single source of truth for agent behavior—voice and LLM settings support it, but the prompt drives what the agent actually does.
### Write and refine the prompt
* Edit directly in the prompt editor.
* Click **AI Assistant** for help expanding or restructuring your instructions.
* Click **Save** on the agent after changes (the prompt is stored with the rest of Agent Settings).
### Insert dynamic fields
Dynamic fields inject **live contact data** into the prompt at call time (and in **Test** when you pick a contact).
1. Click **Insert Field** above the global prompt.
2. Choose a field (contact fields from Routera, plus built-ins such as **Current Date and Time**).
3. Routera inserts a token like `{{email}}` or `{{first_name}}` in the editor (shown as a chip in the UI).
On a call, each `{{field_name}}` is replaced with that contact’s value. If the field is empty or the caller is unknown, Routera uses fallbacks from **Default Values** (see below).
Example instruction line in your prompt:
```text theme={null}
The caller's name is {{first_name}} {{last_name}}. Their company is {{company_name}}. Email on file: {{email}}.
```
Map HubSpot properties to Routera fields under **Settings** → **Integrations** → HubSpot (gear icon) so CRM data fills the same tokens on synced contacts. See [Integrate HubSpot](/kb/integrate-hubspot).
### Insert tools into the global prompt
**Tools** are actions the agent can take during a call (transfer, end call, update a contact, assign an owner, and more). Enabling a tool on the **Tools** tab is not enough—the model also needs to know **when** and **how** to use it. That guidance belongs in the **global prompt**.
**Workflow:**
1. Open the **Tools** tab and turn on the tools this agent should use. Configure any required settings (gear icon), then save.
2. Return to **Agent Settings** → **Global prompt**.
3. Click **Insert Tool**. The menu lists only **enabled** tools for this agent.
4. Select a tool. Routera inserts the tool’s internal name into the prompt (as a chip, not `{{braces}}`).
5. In the surrounding text, tell the agent when to invoke that tool.
Example:
```text theme={null}
If the caller asks for a human or you cannot resolve their issue, use transfer_to_number.
If they ask to be removed from calling lists, use do_not_call.
When you have confirmed their email, use update_contact to save it.
```
| Control | Purpose |
| ------------------ | ---------------------------------------------------------------- |
| **Insert Field** | Contact (and built-in) data → `{{internal_name}}` |
| **Insert Tool** | Enabled tools → tool `internal_name` (reference in instructions) |
| **Default Values** | Fallback text when a `{{field}}` is missing on the contact |
| **AI Assistant** | Generate or improve prompt copy |
If **Insert Tool** says no tools are available, enable tools on the **Tools** tab first, then return to the global prompt.
### Default Values for variables
Click **Default Values** above the global prompt when your text includes `{{fields}}`. Set what the agent should assume when:
* No matching contact exists in Routera, or
* A field on the contact is empty.
Tool names and built-in variables are managed separately; this dialog is for **field** placeholders. An amber badge on **Default Values** means some field tokens still need a fallback.
***
## Transcription Settings
Choose how speech-to-text runs for the agent:
* **Optimize for Speed** — lower latency, faster turn-taking.
* **Optimize for Quality** — more accurate transcription when clarity matters more than speed.
***
## Tools
On the **Tools** tab, enable capabilities for this agent. Each tool has a short description; some open a **settings** drawer when enabled (transfer numbers, router for assign owner, fields to update on a contact, and so on).
Common system tools include:
* **End call** — end the conversation when criteria in your global prompt are met.
* **Transfer to number** — transfer to a configured number with optional pre-transfer and whisper messages (supports **Insert Field** in those messages).
* **Do not call (DNC)** — honor explicit opt-out from future calls.
* **Assign owner to contact** — run a published router to assign an owner during the call.
* **Update contact** — write extracted values back to contact fields you configure.
* **Check calendar availability** — calendar-related flows tied to a published router.
Enable a tool, complete its settings if prompted, then document its use in the **global prompt** via **Insert Tool** and plain-language rules.
***
## Test
Use the **Test** tab to chat with the agent using your current global prompt, tools, and LLM settings:
1. Optionally look up or select a **contact** so `{{field}}` tokens resolve to real values.
2. Send messages and confirm tone, tool behavior, and field context before going live.
***
## Go live
1. **Save**, then **Publish** the voice agent.
2. Attach the agent to a **phone number** so inbound and outbound calls use it.
For purchasing a number and linking an agent, see [Create a phone number](/kb/create-phone-number).
Configure **Tools** first, then build the **global prompt** with **Insert Field** and **Insert Tool**, set **Default Values**, and run **Test** with a real contact before publishing.
# Creating capacities
Source: https://docs.routera.io/kb/creating-capacities
Set limits on how many records users or teams can own, based on field values.
Capacities help you cap workload by tracking how many records match criteria on a data field—for example, open deals in a given stage. You define the capacity once, then assign **max** limits to users or teams.
## Create a capacity
1. Open **Settings** → **Users** → **Capacities**.
2. Click **Create Capacity**.
3. Enter a **name**, choose an **object type** and **enumeration field** (each field can only be used once).
4. Enable the field values that should count toward the limit.
5. Optionally turn on **reset counters monthly**, then click **Create Capacity**.
If HubSpot is connected and the field is not mapped, you will see a warning. Map the field under **Settings** → **Integrations** so values stay in sync—see [Integrate HubSpot](/kb/integrate-hubspot).
## Assign users and teams
1. Expand a capacity card on the **Capacities** page.
2. Open the **Users** or **Teams** tab.
3. Click **Add User** or **Add Team**, choose who to assign, set **Max**, and save.
4. Use **Current** and the progress indicator to see usage (green below 70%, yellow 70–89%, red 90%+).
## Edit or delete
* **Assignment** — use edit or delete on a row in the **Users** or **Teams** tab to change **Max** or remove someone.
* **Capacity settings** — use the settings control on the capacity card to change the name or which field values count.
* **Delete capacity** — removes the capacity and all assignments.
Use the **Filter** at the top of the list to narrow by object type when you have many capacities.
Configure fields under **Settings** → **Data Fields** before creating capacities, and add [users](/kb/inviting-users) or [teams](/kb/creating-teams) you plan to assign.
# Forms
Source: https://docs.routera.io/kb/creating-forms
Build lead-capture forms, route submissions, and offer meeting or callback booking after submit.
Forms let you capture leads with a branded builder, optionally assign them through a [router](/kb/creating-routers), and choose what happens after submit—thank-you only, [schedule a meeting](/kb/scheduling-meetings), request a callback, or let the visitor choose.
Form builder and meeting scheduling are available on paid plans. On a free workspace, Routera prompts you to upgrade when you open Forms.
## Create a form
1. Open **Forms** in the sidebar.
2. Click **Create Form**.
3. Routera opens the form editor for the new form.
***
## Build the form
In the editor you can:
1. Edit the form **name**.
2. Add and arrange **fields** and text blocks on the canvas.
3. Adjust **design** (logo, colors, layout).
4. Customize the **success** (thank-you) page.
5. Use live **preview** to switch between the form, post-submit steps (meeting or callback), and the success page.
Save your changes before sharing the form.
***
## Lead routing and after submit
Open form **Settings** in the editor.
### Lead routing
When **After submit** is set to **Success message only**, you can optionally assign submissions through a router so the right teammate owns the lead.
### After submit
Choose one option:
| Option | What the visitor sees |
| ------------------------ | ------------------------------------------ |
| **Success message only** | Thank-you page right after submit |
| **Schedule a meeting** | Book a time, then thank-you |
| **Request a callback** | Pick a call time, then thank-you |
| **Let visitor choose** | Choose meeting or callback, then thank-you |
For **Schedule a meeting** or **Let visitor choose**, select a **router** whose members’ calendars power availability. Members need a [connected calendar](/kb/integrating-cals). Configure meeting rules such as duration, timezone, notice, and buffer as needed.
For **Request a callback** or **Let visitor choose**, select a **voice agent** that places the callback, and set delay options.
See [Scheduling meetings](/kb/scheduling-meetings) for booking from contacts and emailed time offers, in addition to form post-submit flows.
***
## Share and embed
1. In the form editor, open **Share** / **Embed**.
2. Copy the public link, or copy the embed snippet for your website.
3. Visitors open the public form (share URL or embed) to submit.
After submit, the visitor follows your **After submit** flow, then sees the thank-you page you designed.
# Creating routers
Source: https://docs.routera.io/kb/creating-routers
Build and publish routers to assign record owners—starting with Routera-only routing.
Routers assign owners to records: who is in the rotation, how work is split (round robin or percentage), and what happens when someone is unavailable. **Most teams should start with Routera only**—routing and enrollment stay entirely in Routera, with no HubSpot workflow required.
If you need assignments to sync with HubSpot and run from HubSpot workflows, use **HubSpot CRM** mode instead. See [HubSpot CRM routers](#hubspot-crm-routers) below.
## Before you start
* **[Users](/kb/inviting-users)** in the workspace.
* **[Teams](/kb/creating-teams)** (optional) to rotate by team instead of picking users individually.
* **[User availability](/kb/user-availability)** so overwrite rules and backup routing respect schedules.
For [HubSpot CRM routers](#hubspot-crm-routers), you also need an active [HubSpot integration](/kb/integrate-hubspot) and users linked to HubSpot.
## Open the router editor
1. In the sidebar, open **Routers**.
2. Click **Create Router** (or open an existing draft from the list to keep editing).
Draft routers stay unpublished until you **Publish**. You can **Save** anytime without going live.
## Choose how the router runs
On a new router, select **Routera only** unless you specifically need HubSpot to trigger assignments:
| Mode | Best for | Tabs you will configure |
| ------------------------------ | ---------------------------------------------------------------------- | -------------------------------------------------- |
| **Routera only** (recommended) | Routing and enrollment inside Routera | Configuration → Enrollment Trigger → Users → Model |
| **HubSpot CRM** | Owners and workflows in HubSpot; **Assign with Routera** in a workflow | Configuration → Users → Model → Account Matching |
***
## Routera-only routers
This is the default path: configure the router in Routera, define who gets enrolled, publish, and assignments run from Routera data.
### Configuration
Rename the router at the top of the page, then on the **Configuration** tab set:
1. **Routera object** — Contacts, Companies, Deals, or Tickets.
2. **Owner property** — the user field Routera updates when it assigns (for example Contact Owner).
3. **Overwrite options**:
* **Never overwrite** — keep the current owner if one exists.
* **Overwrite only if current user is not available** — reassign when the current owner is out of office or outside working hours.
* **Always overwrite** — assign a new owner every time the router runs.
### Enrollment Trigger
On **Enrollment Trigger**, define which records enter this router when it is published:
* Conditions in one group use **And** (all must match).
* Separate groups use **Or** (any group can match).
* For each condition, pick a **Field**, **Operator** (equal, contains, is known, etc.), and **Value** as needed.
Click **Add condition** to start a group, add more conditions in the same group for **And** rules, or **Add OR group** for alternate criteria.
At least one complete trigger group is **required** before you can publish a Routera-only router. Select the **Routera object** on Configuration first—field choices depend on it.
### Users
On the **Users** tab:
1. Choose **Select users manually** or **Select a team**.
2. Check the users or teams to include. Team selection uses **team members** (not managers) for the rotation.
3. Set a **Backup user** (or enable **Disable backup user** so no owner is assigned when everyone is unavailable).
4. Optionally enable **Ignore working hours when all users are unavailable** so the router can still assign when the whole group is outside working hours.
All workspace members can be included.
### Model
On the **Model** tab, pick how records are distributed:
**Round Robin** — Each user receives roughly the same number of records over time. Drag rows to set assignment order.
**Percentage** — Set each user’s share of assignments. The total must equal **100%**; Routera shows an error until it does.
Click **View queue** on either model to preview how the next records would be assigned.
### Save, publish, and route existing records
1. Click **Save & Publish** on a new router, or **Save** then **Publish** on a draft.
2. On first publish, you may see **Route existing leads?**
* **No, new records only** — only records that match after publish are enrolled going forward.
* **Yes, include existing** — Routera also processes records that already match your trigger (can take several minutes on large sets).
Use **Unpublish** on a live router to stop new assignments without deleting configuration.
***
## HubSpot CRM routers
Use this path when records are coming from HubSpot and enrollment happens through a **HubSpot workflow** (not Routera enrollment triggers).
**HubSpot CRM** requires an active HubSpot connection. If it is missing or inactive, Routera prompts you to open **Settings** → **Integrations** before continuing.
### HubSpot configuration
On the **Configuration** tab set:
1. **HubSpot object** — Contact, Company, Deal, or Ticket (aligned with your Routera object type).
2. **Owner property** — the HubSpot owner field Routera updates when it assigns.
3. **Overwrite options** — same three choices as in the Routera-only **Configuration** section above.
### Users and Model
Configure **Users** and **Model** the same way as in the Routera-only sections above. For CRM routers, only users linked to HubSpot appear in the user list.
### Account Matching
On the **Account Matching** tab (optional):
1. Turn on **Enable account matching**.
2. Choose **which HubSpot object** to pull an owner from (for example Company when the router targets Contacts).
3. Choose **which record** to use if several exist: most recently updated, most recently created, or first created.
Example: a contact router can inherit the **company owner** when the contact has no owner.
### Save, publish, and connect HubSpot
1. Click **Save & Publish** on a new router, or **Save** then **Publish** on a draft.
2. In HubSpot, create a workflow for the **same object type** as the router.
3. Add an enrollment trigger (or skip trigger and set eligible records), then add **Assign with Routera**.
4. Select this router and publish the workflow.
HubSpot sends eligible records to Routera; Routera applies your users, model, overwrite rules, and account matching, then writes the owner back to HubSpot.
***
## Quick reference
| Topic | Routera only | HubSpot CRM |
| --------------------------------- | -------------------------------- | ------------------------------------------ |
| What starts assignment | **Enrollment Trigger** + publish | HubSpot workflow + **Assign with Routera** |
| User list | All workspace members | HubSpot-linked users |
| Account matching | Not used | Available |
| Owner written to | Routera owner field | HubSpot owner property |
| Existing records on first publish | **Route existing leads?** modal | Controlled in HubSpot enrollment |
Start with **Routera only** and a small user group, publish, and test one matching record before scaling. If you adopt HubSpot CRM mode later, duplicate the router logic and add the workflow step in HubSpot.
# Creating teams
Source: https://docs.routera.io/kb/creating-teams
Group users into teams for routing and easier management.
Teams are optional but useful: assign a **team** on a router instead of individual users, and update membership in one place when people join or leave.
## Create a team
1. Open **Settings** → **Users** → **Teams**.
2. Click **Create team**.
3. Enter a **team name**, select **team managers** and **team members**, then click **Create team**.
**Team managers** can manage members’ availability and working hours. **Team members** receive assignments. A user cannot be both manager and member on the same team—adding them as a manager removes them from members, and vice versa.
## Edit a team
1. On the **Teams** tab, click the team name.
2. Use **Add Managers** or open the **Members** tab and click **Add Users** to add people.
3. Select users in the sidebar and confirm. Click **Back** to return to the teams list.
## Delete a team
1. On the **Teams** tab, select the team in the list.
2. Delete the team and confirm in the dialog.
Invite users to the workspace first if they are not listed yet. See [Inviting users](/kb/inviting-users).
# Integrate HubSpot
Source: https://docs.routera.io/kb/integrate-hubspot
Connect HubSpot, map fields, and use CRM data in routing, capacities, and voice agents.
Connect HubSpot so Routera can sync records, write owner assignments back to HubSpot, and align field values between systems. After connection, map fields under **Settings** → **Integrations**, then use **HubSpot CRM** routers and HubSpot workflows as described in [Creating routers](/kb/creating-routers).
## Connect HubSpot
1. Open **Settings** → **Integrations**.
2. On the **HubSpot** card, click **Connect**.
3. In HubSpot, choose the portal and click **Choose Account**.
4. Review the requested permissions, then click **Connect app**.
5. When connection succeeds, the card shows **Portal ID** and **Disconnect**. Routera matches workspace members to HubSpot owners by **email** when possible.
An admin with permission to manage integrations should complete OAuth. If you start a **HubSpot CRM** router without a connection, Routera prompts you to open **Settings** → **Integrations**.
To remove the integration, click **Disconnect** on the HubSpot card and confirm. This affects HubSpot workflows that use **Assign with Routera**.
***
## Field mappings
Field mappings tell Routera which Routera fields correspond to which HubSpot properties for each object type. They keep synced data aligned and are required for some features (for example enumeration fields used in [Creating capacities](/kb/creating-capacities)).
### Open the mapping modal
1. Go to **Settings** → **Integrations**.
2. On the connected **HubSpot** card, click the **gear** button (top right).
3. The **HubSpot Field Mapping** modal opens.
### Map fields
1. Select **Routera Object Type** and **HubSpot Object Type** (for example Routera **Deal** with HubSpot **Deal**).
2. Under **Field Mappings**, click **Add Mapping**.
3. Choose **Routera Field** and **HubSpot Field**. HubSpot options are filtered to types compatible with the Routera field.
4. Repeat for each field that should stay in sync.
5. Click **Save Mappings**.
**Compatible types:**
| Routera field type | HubSpot property types |
| --------------------------- | ---------------------------------------- |
| Single-line text (`string`) | `string` |
| Number | `number` |
| Date (`datetime`) | `date`, `datetime` |
| Dropdown (`enumeration`) | `enumeration` (and related select types) |
| User | `enumeration` (owner-style fields) |
### Match dropdown options
When you map a **Dropdown** or **User** field to a HubSpot enumeration, expand **Match Dropdown Options**:
1. Map each **Routera Option** to a **HubSpot Option** (progress shows as `3 / 5`, and so on).
2. Unmapped Routera values are highlighted until you assign a HubSpot option.
3. Each HubSpot option can map to only one Routera value.
4. Save only after every Routera option is mapped.
Routera may auto-suggest matches from similar labels or internal names. Clear a row mapping with the **X** on a matched option.
### Edit or remove mappings
* Reopen the modal with the **gear** button, select the same object types, and your saved mappings load.
* Remove a row with the **trash** icon on the right.
* Click **Save Mappings** after changes.
***
## What HubSpot enables
| Feature | How HubSpot is used |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| **[Creating routers](/kb/creating-routers)** (HubSpot CRM mode) | Records enroll via HubSpot workflow **Assign with Routera**; owners update in HubSpot |
| **[Creating capacities](/kb/creating-capacities)** | Enumeration fields should be mapped so counts stay accurate across systems |
| **[Managing data fields](/kb/managing-fields)** | **User** fields can create matching owner fields in HubSpot when connected |
| **[Create voice agents](/kb/create-voice-agent)** | Mapped contact fields supply `{{internal_name}}` tokens on synced records |
| **[Inviting users](/kb/inviting-users#import-users-from-hubspot)** | Import HubSpot owners as workspace users with a chosen role |
Map owner-related and stage or status fields you rely on in routing before publishing CRM routers or capacities. Test with one record after saving mappings. After connecting HubSpot, you can also [import users from HubSpot](/kb/inviting-users#import-users-from-hubspot) under **Settings** → **Users**.
# Integrate calendars
Source: https://docs.routera.io/kb/integrating-cals
Connect Google Calendar or Microsoft Outlook so busy events update your availability for routing.
Connecting a calendar is optional but recommended. Routera reads busy events from your calendar and combines them with [working hours and out-of-office](/kb/user-availability) settings, so routers and assignments respect when you are actually free.
Each user connects their own calendar under **Settings** → **Profile** → **Calendar**.
You can connect **one** calendar provider at a time (Google **or** Outlook). To switch, **Delete** the current connection, then connect the other provider. **Microsoft 365** Outlook calendars are supported for Outlook; personal Microsoft accounts may not work.
## Connect a calendar
1. Open **Settings** → **Profile** → **Calendar**.
2. If nothing is connected yet, click **Connect Calendar**.
3. In the **Connect calendar** modal, choose **Google Calendar** or **Microsoft Outlook Calendar**.
4. Sign in when prompted and approve access:
* **Google** — use **Continue** in the Google account popup.
* **Outlook** — use **Accept** on the Microsoft consent screen (you are redirected back to Routera when finished).
5. When connection succeeds, a card appears for your provider with a short description of how events affect availability.
***
## Google Calendar availability settings
Google Calendar includes extra options for which events count as busy:
1. On the **Google Calendar** card, click the **settings** (gear) icon.
2. In **Availability settings**, choose one option:
* **All events should be considered for my availability** — any busy event on your calendar blocks assignment time.
* **Only read "All Day" events** — timed events during the day do not change availability; all-day busy events still do.
3. Click **Save**.
Outlook uses the same busy-event sync behavior without this extra scope setting.
***
## Disconnect or change provider
1. On the connected calendar card, click **Delete**.
2. Confirm in the dialog (**Continue**).
3. Connect again with **Connect Calendar** if you want the same or a different provider.
***
## How calendars affect routing
Routera treats you as unavailable when:
* Your **Availability** toggle is off, or you are outside **working hours**, or an **out-of-office** period is active (see [User availability](/kb/user-availability)).
* Your connected calendar has a **busy** event during that time (according to the Google settings above, if applicable).
Routers that use **Overwrite only if current user is not available** rely on this combined picture. Connect your calendar before going live on rotation so assignments match real availability.
Set **Working Hours** and connect a calendar for each rep who receives routed records. Managers can edit another user’s schedule under **Settings** → **Users** → **Working Hours** / **Out of Office Dates**, but each user connects their own calendar on **Profile** → **Calendar**. The same calendar connection powers [meeting scheduling](/kb/scheduling-meetings) on forms and contact records.
# Get Started with Routera
Source: https://docs.routera.io/kb/introduction
Set up your workspace, routing, and voice—aligned with the in-app Get Started checklist
Routera helps teams route CRM records, keep ownership aligned, and run voice agents on live data. Workspace administrators can use the **Get Started** checklist in the app to work through setup in order.
The steps below follow the same three sections as that checklist—**Workspace basics**, **Records and routing**, and **Voice agents and phone numbers**.
## Workspace basics
Set up your team, customize how records are stored, and connect your CRM before you route work.
Invite colleagues in **Settings → Users**, then set working hours, time zones, and out-of-office so routing and assignments respect when people are available.
* [Invite users](/kb/inviting-users)
* [User availability](/kb/user-availability)
Customize properties on your objects so teams capture the right data for routing, reporting, and integrations. Open **Settings → Fields** to add or edit fields beyond the defaults.
Connect HubSpot so Routera can sync records, align ownership, and use live CRM data in routing and voice flows. Open **Settings → Integrations** and connect HubSpot.
[Integrate HubSpot](/kb/integrate-hubspot)
## Records and routing
Create a router, publish it when configuration is ready, and let matching records receive owners automatically.
Routers define how records move through your team. Create one from **Routers** to connect routing rules to your records.
[Creating routers](/kb/creating-routers)
When a router is configured, open it and use **Publish** to go live. Published routers can distribute matching records and update ownership.
After a router is published, new and matching records can receive owners automatically so nothing sits unassigned. Open **Records → Contacts** (or your record types) to confirm assignments are flowing.
## Voice agents and phone numbers
When you are ready for the phone channel, stand up voice agents, attach numbers, test flows, and review calls.
Voice agents place and receive calls using your scripts, data, and handoff rules.
[Create a voice agent](/kb/create-voice-agent)
Provision numbers for inbound and outbound calling in **Phone numbers**. Numbers attach to agents and your workspace so callers reach the right experience.
Run test calls from the voice agent builder to validate prompts, transfers, and data lookups before going live with customers.
Use **Call activity** to QA conversations, confirm transfers, and coach the team with real examples from production traffic.
## Go deeper
Use these guides when you want to refine setup beyond the checklist.
Distribution models and how records get assigned
Working hours, time zones, and out-of-office
Prompts, testing, and going live on the phone channel
Add colleagues and manage workspace access
Sync records and keep ownership aligned
Google or Outlook calendars for scheduling
# Inviting users
Source: https://docs.routera.io/kb/inviting-users
Add colleagues to your Routera workspace from Settings.
## Invite a user
1. Open **Settings** → **Users**.
2. Click **Add user**.
3. Enter their name, email, and **role**, then click **Create user**.
They receive an email invitation to join the workspace.
Every workspace includes **Administrator** and **User** by default. **Administrator** can manage settings and setup; **User** has access scoped to their profile and assigned work.
## Custom roles (optional)
For more granular access than **Administrator** or **User**, [create a custom role](/kb/create-roles) in **Settings** → **Roles**, then select it in the **Role** dropdown when you invite someone. You can change a user’s role later from **Settings** → **Users**.
You can also invite people during initial sign-up, or skip and add them here later.
***
## Import users from HubSpot
If [HubSpot is connected](/kb/integrate-hubspot), you can add HubSpot owners as workspace users in bulk.
1. Open **Settings** → **Users**.
2. Click **Import from HubSpot**.
3. In **Import users from HubSpot**, choose the **Role** to apply to imported users.
4. Select the HubSpot users (owners) to add.
5. Confirm the import. Seat limits apply—if you exceed remaining seats, upgrade or reduce the selection.
HubSpot must already be connected under **Settings** → **Integrations**. Routera matches and lists HubSpot owners so you can add them with the role you choose.
# Making calls
Source: https://docs.routera.io/kb/making-calls
Assign phone numbers to users, place outbound calls from contacts, and review Call History.
Workspace members can place outbound calls from Routera when a phone number is assigned to them. Purchase and configure numbers under [Phone numbers](/kb/create-phone-number); use this guide for personal calling, assignment, and call history.
***
## Assign a number for outbound calls
Numbers used for in-app calling are typically set to **Calls only** usage and assigned to a member:
1. Open **Voice Agents** → **Phone Numbers**, then open a number.
2. Under **Usage**, select **Calls only** (or keep agents if you also use voice agents on that number).
3. Assign the number to an account **member** so they can use it as caller ID.
4. Click **Save**.
You can also manage assignments from **Settings** → **Calling** (“Assign Routera numbers to users for outbound calls”).
For better outbound answer rates, enable **Branded Call** on the number so recipients see your business name. See [Phone numbers](/kb/create-phone-number#branded-call-call-deliverability).
***
## Call from a contact
1. Open a **Contact** that has a phone number on file.
2. Click **Call** (permission and available minutes may apply).
3. Complete the call from the call popup using your assigned number.
Calling may be restricted by plan or permissions; Routera shows an upgrade or access message when needed.
***
## Call History
1. Open **Call History** under **Voice** in the sidebar.
2. Review past calls in the activity table (including details such as transcription when available).
To test a voice agent on a number (not a personal user call), use **Make outbound call** on the phone number configuration page—covered in [Phone numbers](/kb/create-phone-number#test-your-setup).
# Managing data fields
Source: https://docs.routera.io/kb/managing-fields
Create and configure custom fields for Contacts, Companies, Deals, and Tickets.
Data fields define what you store on each object type. Routera includes standard fields per type; you can add custom fields for routing, reporting, and integrations.
**Object types:** Contacts, Companies, Deals, Tickets
**Field types:** Single-line text, Number, Single checkbox, Dropdown, Date, User
If HubSpot is connected, creating a **User** field also creates an owner field in HubSpot. See [Integrate HubSpot](/kb/integrate-hubspot).
## Create a field
1. Open **Settings** → **Data Fields** on the **All fields** tab.
2. Choose an **object type**, then click **Create Field**.
3. Enter a **field label** and confirm the **internal name** (auto-generated from the label; you can adjust it).
4. Select a **field type**. For **Dropdown**, add at least one option with a label and internal name.
5. Click **Create field**.
## Edit a field
1. On **Data Fields**, select the object type.
2. Click the field name to open its details.
3. Update the label, options (for dropdowns), or other settings, then click **Update field**.
Default system fields may have limited editing.
## Delete a field
1. Select the object type and select the field in the list.
2. Delete the field and confirm.
Removing a field affects records and any routers or capacities that reference it.
## Record create / edit forms
Field definitions live under **All fields**; the **Forms** tab controls the drawer people see when they [create or update a record](/kb/create-records) from the records list—not which columns appear in the table (use **Edit columns** on the records page for that).
1. Open **Settings** → **Data Fields** and switch to the **Forms** tab.
2. Select an **object type** (Contacts, Companies, Deals, or Tickets).
3. For each eligible field, configure:
* **Create** — show on the new-record drawer.
* **Update** — show when editing an existing record.
* **Required** — must be filled before save.
* **Min length** / **Max length** — optional, for single-line text fields only.
4. Drag the handle on a row to change field order in the drawer.
5. Click **Save form settings**.
A field can be on the form for create only, update only, or both. Rows marked **Hidden from form** stay in your data model but do not appear in the drawer until you enable **Create** or **Update**.
System fields such as record ID and audit dates are not configurable here. Supported types for the drawer match what you can add as fields: text, number, date, dropdown, user, and checkbox.
Changes apply per object type. After you add a new custom field under **All fields**, return to **Forms** if you want it on the create or edit drawer.
Custom fields also appear in filters, routers, and capacities once defined. See [Managing records](/kb/create-records) for day-to-day record work.
# Navigation settings
Source: https://docs.routera.io/kb/navigation-settings
Control which main sidebar pages each user or team can see.
Admins can hide or show main sidebar pages per **user** or **team**. Footer items—**Alerts**, **Settings**, and **Profile**—always stay available for everyone.
## Configure sidebar visibility
1. Open **Settings** → **Navigation**.
2. Choose **User** or **Team**, then select the person or team.
3. Check or uncheck the pages they should see in the main sidebar.
4. Click **Save**.
Controllable areas include:
| Section | Pages |
| --------------- | ------------------------------------------------- |
| **CRM** | Contacts, Companies, Deals, Tickets, Shared Inbox |
| **Routers** | Routers |
| **Forms** | Forms |
| **Voice** | Phone Numbers, Voice Agents, Call History |
| **Get started** | Get started |
Unchecked pages are hidden from that user or team’s sidebar. A **user** override takes priority over team settings when both apply.
Only users with permission to edit navigation settings can change these controls. Changes apply after save; the sidebar updates for affected members.
# Scheduling meetings
Source: https://docs.routera.io/kb/scheduling-meetings
Book meetings from forms, contact records, or emailed available times links.
Routera can offer meeting booking after a [form](/kb/creating-forms) submit, from a contact record, or by sending available times in email. Availability comes from each host’s [connected calendar](/kb/integrating-cals) and schedule settings.
Meeting scheduling is available on paid plans (same upgrade path as Form builder). Hosts need a calendar connected under **Settings** → **Profile** → **Calendar**.
***
## From a form (after submit)
1. Open the form editor → **Settings**.
2. Under **After submit**, choose **Schedule a meeting** or **Let visitor choose**.
3. Select a **router** whose members’ calendars power slots, and configure meeting rules (duration, timezone, notice, buffer, window).
4. Save and share the form.
Visitors who submit see the meeting step, pick a slot, then the thank-you page.
***
## From a contact record
1. Open a **Contact** record.
2. Click **Schedule meeting**.
3. Choose the **host**, **duration**, and **timezone**.
4. Pick an available slot and confirm.
The booking uses the host’s calendar availability.
***
## Offer available times in email
1. Compose an email from a contact (or related engagement flow).
2. Insert **available times** for the recipient.
3. Send the email. The recipient opens the public booking link and confirms a slot.
Connect calendars for every host who appears in form routers or contact scheduling. See [Integrate calendars](/kb/integrating-cals) if busy times are missing or incorrect.
# Shared Inbox
Source: https://docs.routera.io/kb/shared-inbox
Set up team inboxes, connect email or SMS channels, and triage conversations together.
Shared Inbox gives your team one place to manage customer email and SMS. Create inboxes in Settings, connect channels, add members, then work conversations from the CRM sidebar.
An older **Inbox** page may still appear in some workspaces. Use **Shared Inbox** under CRM instead—the legacy inbox is deprecated and points you to the new experience.
## Create a shared inbox
1. Open **Settings** → **Shared Inboxes**.
2. Click **Create shared inbox** (or **Create inbox**).
3. Enter a name and create the inbox.
***
## Connect channels
On the inbox card under **Connected channels**:
1. Click **Connect one** (or connect another channel).
2. In the connect modal, choose **Gmail** or **Microsoft Outlook**.
3. Complete OAuth for that channel.
You can connect more than one channel to the same shared inbox. Archive an inbox when you no longer need it; connected channels are disconnected.
***
## Add members
1. Open the shared inbox from **Settings** → **Shared Inboxes**.
2. Manage **members** so the right people can view and reply.
3. Save access changes.
***
## Work conversations
1. Open **Shared Inbox** under **CRM** in the sidebar.
2. Pick an inbox if you have more than one.
3. Filter by assignee, date, priority, category, sender, channel (email / SMS), or open vs closed status. Use search when needed.
4. Open a conversation to read the thread (email HTML or SMS).
5. Reply from the composer (attachments and mentions supported where available).
6. **Assign** a teammate, associate or open the **contact** side panel, then **close** the conversation when done.
Notification preferences under **Settings** → **Notifications** include Shared Inbox email and mention alerts so teammates stay on top of new messages.
# Updating routers
Source: https://docs.routera.io/kb/updating-router
Edit, publish, unpublish, or delete routers in Routera.
Editing a router uses the same editor as [Creating routers](/kb/creating-routers). You can change configuration, users, model, and mode-specific tabs (**Enrollment Trigger** or **Account Matching**) anytime; **Save** keeps a draft, **Publish** applies changes to live routing.
## Edit a router
1. Open **Routers** in the sidebar.
2. Click the router name (or use **Edit** on the row) to open the editor.
3. Update tabs as needed. See [Creating routers](/kb/creating-routers) for what each tab controls.
4. Click **Save** to store changes without affecting live behavior on a published router.
5. If the router is unpublished, click **Publish** when you are ready to go live. If it is already published, saved changes apply to the next assignments Routera processes.
### Publish and unpublish
| Action | When to use |
| ------------- | ------------------------------------------------------------------------------------ |
| **Publish** | Turn on or restore live assignments for this router. |
| **Unpublish** | Stop new assignments; configuration is kept so you can edit and publish again later. |
You cannot switch between **Routera only** and **HubSpot CRM** after creation. Create a new router if you need a different mode.
For **Routera only** routers, changing **Enrollment Trigger** after publish affects which records enroll going forward. For **HubSpot CRM**, enrollment scope is controlled in your HubSpot workflow as well as Routera settings.
## Delete a router
1. On the **Routers** list, select the router with its checkbox.
2. Click **Delete** and confirm.
Deleting a router cannot be undone. Remove or update any HubSpot workflows that reference it before you delete a CRM router.
# Upgrade your plan
Source: https://docs.routera.io/kb/upgrade-plan
Choose a paid plan, add a payment method, and manage billing in Settings.
Upgrading unlocks higher assignment limits, more seats, and paid features such as phone numbers and branded calling. Billing is managed per workspace under **Settings** → **Billing**.
You need permission to update **Billing** in your role. If you do not see these options, ask a workspace admin.
## Choose a plan
1. Open **Settings** → **Billing**.
2. Open the **Plans** tab (or click **Upgrade now** on the **Billing** tab when you are on a free or trial plan).
3. Switch between **Monthly billing** and **Annual billing** (**Save 30%** on annual).
4. Compare plan cards (assignments per month, routers, records).
5. On the plan you want, click **Upgrade** (your current plan shows **Current plan** and cannot be selected again).
6. In the **Update Plan** dialog, review **Current Plan**, **New Plan**, seat count, and **Total Amount**.
7. Click **Confirm & Update Plan**.
If a payment method is already on file, the plan updates and you return to **Billing** with a success message. If not, Routera sends you to **Stripe Checkout** to add one first; after checkout completes, the upgrade finishes automatically.
***
## Add or change payment method
On the **Billing** tab, use the **Payment Method** card:
| State | Action |
| ---------------------- | ----------------------------------------------------- |
| Free or trial, no card | **Upgrade now** — opens **Plans** to pick a paid plan |
| Paid plan, no card | **Add Payment Method** |
| Card on file | **Edit Card** |
Both **Add Payment Method** and **Edit Card** open **Stripe Checkout** in setup mode. Enter your details there (card or bank, depending on what Stripe offers for your region), then complete checkout. You are returned to **Settings** → **Billing** and the card appears as brand, last four digits, expiry, and billing email.
***
## Usage and add-ons
On the **Billing** tab you can also see:
* **Users** and **Assignments** usage versus your plan limits.
* Options to add **seats** or **assignment** capacity when you are near a limit (charges apply per your subscription).
Some add-ons (for example [Branded Call](/kb/create-phone-number)) require billing on file before you can complete purchase.
Pick **Annual billing** if you want the advertised savings. After upgrading, confirm **Payment Method** is set before buying phone numbers or other paid add-ons.
# User availability
Source: https://docs.routera.io/kb/user-availability
Set working hours and out-of-office periods so routing assigns records at the right times.
Availability controls when someone can receive assignments. Routera uses the **Availability** toggle, **timezone**, **working hours**, and any **out-of-office** periods together.
## Your working hours
1. Open **Settings** → **Profile** → **Working Hours**.
2. Turn **Availability** on or off, set your **timezone**, and add blocks with **+ Add Hours** (day or day range, start time, end time).
3. Click **Save**.
When **Availability** is on, assignments can occur only during your working hours (in your timezone). When it is off, you will not receive new assignments regardless of the schedule.
## Out of office
1. Open **Settings** → **Profile** → **Out of Office Dates**.
2. Select a date range and optional start/end times, then click **Add period**.
3. Edit or delete existing periods in the list below.
You will not receive assignments while an out-of-office period is active.
## Another user's availability
Administrators and team managers can update someone else's schedule:
1. Open **Settings** → **Users** and click the user.
2. Use the **Working Hours** or **Out of Office Dates** tab.
3. Make changes and click **Save** (working hours) or **Add period** / **Update period** (out of office) as needed.
Set availability before you publish routers so distribution respects when reps are actually reachable. See [Creating teams](/kb/creating-teams) for how managers can manage member schedules.