# Get a journey

```http
GET https://trydimmi.com/api/v1/series/{series}/enrollments/{enrollment}
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `series:read`.

## Path parameters

- `series` (string, required): Id of the series, starting with srs_, such as srs_01jx2m8k4t. Find it with GET /series.
- `enrollment` (string, required): Id of the journey on a series, starting with sren_, such as sren_01jx2m8k4t. Find it with GET /series/{series}/enrollments.

## Response 200 (OK)

- `data` (object, required)
  - `company_id` (string | null, required): Id of the company traveling the series, such as cmp_..., for a series of companies; null for a series of contacts.
  - `company_name` (string): Name of the company traveling. Only present when journeys are listed with who travels them, and left out when empty.
  - `contact_email` (string): Email of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.
  - `contact_id` (string | null, required): Id of the contact traveling the series, such as ctc_..., for a series of contacts; null for a series of companies.
  - `contact_name` (string): Name of the contact traveling. Only present when journeys are listed with who travels them, and left out when empty.
  - `end_reason` (string | null, required): Why the journey ended, a short lowercase code such as series_stopped or node_removed. Null while it has not ended or when no reason was recorded.
  - `entered_at` (string, required): When the traveler entered the series.
  - `entered_by` (string, required): How the traveler entered: rules, event, manual, api or test.
  - `goal_at` (string | null, required): When the traveler reached the series' goal; null if they have not.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `left_at` (string | null, required): When the journey ended; null while the traveler is still on the series.
  - `node_id` (string, required): Id of the step in the series' definition where the traveler stands now, or stood when the journey ended.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `series_id` (string, required): Id of the series this journey belongs to, such as srs_.... Send it wherever a series is asked for.
  - `series_name` (string): Name of the series. Left out when the response does not fill it in.
  - `status` (string, required): Where the journey stands: active, waiting, finished or exited.
  - `steps` (object[] | null, required): Every step the journey reached, each with the path it left by, what happened and when.
    - `detail` (any, required): Further details of what happened at the step, as a JSON object whose keys depend on the kind of step; empty when there are none.
    - `entered_at` (string, required): When the traveler reached the step.
    - `kind` (string, required): Kind of step, such as entry, email, chat, post, slack, wait, wait_for, condition, split, ai_path, tag, untag, set_attribute, topic, webhook or exit.
    - `left_at` (string | null, required): When the traveler left the step; null while they are still on it.
    - `node_id` (string, required): Id of the step in the series' definition.
    - `outcome` (string | null, required): What happened at the step, as a short code; null when nothing was recorded.
    - `path_id` (string | null, required): Id of the path the traveler left the step by, such as next, failed, matched, timed_out, else, fallback, no_date or a path the step names; null if they have not left by one.
    - `status` (string, required): How the step went: done, waiting, skipped or failed.
  - `test` (boolean, required): True for a test journey, which never counts in the series' report.
  - `wake_at` (string | null, required): When a waiting journey moves on; null when it is not waiting on a time.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/series/{series}/enrollments/{enrollment}' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "company_id": "<string>",
    "company_name": "<string>",
    "contact_email": "<string>",
    "contact_id": "<string>",
    "contact_name": "<string>",
    "end_reason": "<string>",
    "entered_at": "2026-11-01T09:30:00Z",
    "entered_by": "<string>",
    "goal_at": "2026-11-01T09:30:00Z",
    "id": "<string>",
    "left_at": "2026-11-01T09:30:00Z",
    "node_id": "<string>",
    "object": "<string>",
    "series_id": "<string>",
    "series_name": "<string>",
    "status": "<string>",
    "steps": [
      {
        "detail": null,
        "entered_at": "2026-11-01T09:30:00Z",
        "kind": "<string>",
        "left_at": "2026-11-01T09:30:00Z",
        "node_id": "<string>",
        "outcome": "<string>",
        "path_id": "<string>",
        "status": "<string>"
      }
    ],
    "test": true,
    "wake_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
