---
title: "Every interaction in the workspace, newest first"
method: GET
path: "/v1/interactions"
tags: ["interactions"]
---

# Every interaction in the workspace, newest first

`GET /v1/interactions`

## Request

- Base URL: `https://api.indraft.io`
- URL: `https://api.indraft.io/v1/interactions`
- Auth: HTTP bearer

Every interaction in the workspace, newest first, across all records. Use a company's own interactions when you want one account's history rather than the whole workspace's.

## Query parameters

- `limit` integer: How many to return. The page bound is published in the schema call, and asking for more is refused rather than quietly truncated.
- `cursor` string: The opaque marker from the previous page. Store it and hand it back; do not parse it. A cursor is only ever emitted when another row really exists, so a page you were given is never empty.
- `updatedSince` string: Only rows changed after this instant. The incremental read: without it a service syncing a large workspace has to walk all of it every time.
- `lastInteractionBefore` string: Only records whose most recent interaction is older than this, including those with none at all.
- `includeArchived` boolean: Include archived rows. Off by default, because a list is what you are working on and history is somewhere you go deliberately.
- `filter` union: Predicates, all of which must hold, written field:op:value. Only fields an index serves are accepted, and asking for one that is not names the ones that are.
  - string
  - string[]
- `or` union: Alternatives, ORed with each other and ANDed with filter. One level and never a tree: owned by me or owned by nobody is the question people ask, and anything deeper has a cost the caller cannot read off it.
  - string
  - string[]
- `sort` string: A field to order by, with a leading minus for descending. Indexed fields only, for the same reason as filter.

## Response `200`

Success

- object
  - `items` object[], required: This page of results, in the order you asked for.
    - `id` string, required
    - `interactionType` 'email' | 'call' | 'meeting' | 'message' | 'note', required
    - `direction` 'inbound' | 'outbound' | 'internal', required
    - `subject` string, required
    - `summary` string, required
    - `assertionKind` 'observed' | 'inferred' | 'imported' | 'user_supplied', required
    - `occurredAt` string, required
    - `sourceId` string, required
    - `createdByActorId` string, required
    - `actor` object
      - `id` string, required
      - `kind` 'human' | 'agent' | 'api_token' | 'system', required
      - `label` string, required
    - `links` object[], required
      - `objectType` 'company' | 'contact' | 'opportunity', required
      - `objectId` string, required
    - `createdAt` string, required
  - `nextCursor` string, required: Hand this back to get the next page, or null when there is no next page. Null is the end of the list and an empty `items` is not: a cursor is only emitted when another row really exists.
  - `requestId` string, required

## Other responses

- `401`: No credential, or one that has been revoked.
- `403`: Authenticated, and this capability is not held.
- `422`: The request does not satisfy the schema on this page.
- `429`: Infrastructure protection tripped. This is not a product quota.
- `500`: A defect on our side. The hint says so, and carries an incident id.

---

[API](https://skmtc.dev/indraft/apis/indraft-api.md) · [All operations](https://skmtc.dev/indraft/apis/indraft-api/llms.txt) · [OpenAPI document](https://skmtc.dev/indraft/apis/indraft-api/revisions/d9bb05346d66?raw)
