---
title: "List the platform timeline in the back office"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# List the platform timeline in the back office

Path: Nicer API › backoffice

`GET /backoffice/timeline`

URL: `https://api.nicer.travel/backoffice/timeline`

Lists every commercial event of a period across orders, newest first: order actions, payment attempts, payment processor events, provider calls, issued documents, provider records, reservation reads, earnings and external payments, each as an order's timeline has it (GET /backoffice/orders/{orderId}), with the order and agency it belongs to. from and to are UTC days of when the event happened, both included, the last 90 days by default; kind narrows the list to one kind of event, and q searches the order id and the event's title. 100 events a page (limit, at most 500), paged with nextToken. The agency is named by the x-nicer-company header and nothing else: with one named, that agency's events; with none, every agency's. Nicer staff only. Errors: 400 ERROR_INVALID_QUERY for a bad parameter or a from after to; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Query parameters

- `from` (`backoffice.timeline.list.query.from`; string, optional) — The first UTC day of the events, included; 90 days before to by default.
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-08-12"`
- `kind` (`backoffice.timeline.list.query.kind`; string, optional) — Only the events of this kind.
  - one of `"ACTION"`, `"PAYMENT"`, `"PAYMENT_EVENT"`, `"PROVIDER"`, `"FULFILLMENT"`, `"PROVIDER_RECORD"`, `"OBSERVATION"`, `"EARNING"`, `"EXTERNAL_PAYMENT"`
- `limit` (`backoffice.timeline.list.query.limit`; integer, optional) — How many events a page holds, 1 to 500; 100 by default.
  - maximum: `500` · minimum: `1` · default: `100`
- `nextToken` (`backoffice.timeline.list.query.nextToken`; string, optional) — The nextToken of the previous page, to read the next one. Send it with the same filters.
  - minLength: `1`
- `q` (`backoffice.timeline.list.query.q`; string, optional) — Free text, matched case-insensitively anywhere in the order id or the event's title.
  - maxLength: `200` · minLength: `1` · example: `"SABRE TICKET"`
- `to` (`backoffice.timeline.list.query.to`; string, optional) — The last UTC day of the events, included; today by default.
  - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$` · example: `"2026-11-10"`

## Header parameters

- `x-nicer-company` (`backoffice.timeline.list.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one.

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.backoffice.timeline.list();
```

### Nicer CLI

```bash
nicer backoffice timeline list
```

### cURL

```bash
curl --request GET \
  --url https://api.nicer.travel/backoffice/timeline \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/backoffice/timeline';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/backoffice/timeline"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "items": [
    {
      "amountMinor": -9007199254740991,
      "occurredAt": "2019-08-24T14:15:22Z",
      "companyName": "string",
      "currency": "string",
      "detail": "string",
      "kind": "ACTION",
      "orderId": "string",
      "title": "NICER_CHARGE SUCCEEDED"
    }
  ],
  "nextToken": "string"
}
```

- `items` (`backoffice.timeline.list.response.200.items`; array of object, required) — The items of this page.
  - `amountMinor` (`backoffice.timeline.list.response.200.items.amountMinor`; any of, required) — The amount involved, in minor units, for PAYMENT, EARNING and EXTERNAL_PAYMENT entries; null for the others.
    - any of the following: `integer`, `null`
  - `occurredAt` (`backoffice.timeline.list.response.200.items.occurredAt`; string, required) — When it happened: at the processor for a PAYMENT_EVENT, at issue for a FULFILLMENT, when Nicer recorded it for the others.
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
  - `companyName` (`backoffice.timeline.list.response.200.items.companyName`; string, required) — The agency whose books the entry is in.
    - minLength: `1`
  - `currency` (`backoffice.timeline.list.response.200.items.currency`; any of, required) — The currency of amountMinor; null when there is no amount.
    - any of the following: `CurrencyCode`, `null`
  - `detail` (`backoffice.timeline.list.response.200.items.detail`; any of, required) — A second line for the entry, by kind; null when none.
    - any of the following: `string`, `null`
  - `kind` (`backoffice.timeline.list.response.200.items.kind`; string, required) — What happened: ACTION (an order action was accepted; the title is its type), PAYMENT (a payment attempt; the title is its purpose and status, the detail the decline reason), PAYMENT_EVENT (an event from the payment processor; Nicer staff only), PROVIDER (a call to the provider; Nicer staff only), FULFILLMENT (a document was issued; the detail is its number), PROVIDER_RECORD (the provider's data was recorded), OBSERVATION (the reservation monitor read the booking; the detail is its error code), EARNING (an earning was booked; the title is its entry type, kind and beneficiary kind, the detail its status) or EXTERNAL_PAYMENT (a payment recorded outside Nicer; the title is its entry type and method, the detail its note).
    - one of `"ACTION"`, `"PAYMENT"`, `"PAYMENT_EVENT"`, `"PROVIDER"`, `"FULFILLMENT"`, `"PROVIDER_RECORD"`, `"OBSERVATION"`, `"EARNING"`, `"EXTERNAL_PAYMENT"`
  - `orderId` (`backoffice.timeline.list.response.200.items.orderId`; string, required) — The order the entry belongs to.
    - minLength: `1`
  - `title` (`backoffice.timeline.list.response.200.items.title`; string, required) — What happened, in a few words.
    - minLength: `1`
- `nextToken` (`backoffice.timeline.list.response.200.nextToken`; any of, required) — Send it back as nextToken to read the next page; null on the last page.
  - any of the following: `string`, `null`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.timeline.list.response.400.errorCode`; string, required)
- `errorMessage` (`backoffice.timeline.list.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.timeline.list.response.401.errorCode`; string, required)
- `errorMessage` (`backoffice.timeline.list.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.timeline.list.response.403.errorCode`; string, required)
- `errorMessage` (`backoffice.timeline.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/backoffice/backoffice.timeline.list/index.md
