ProspectAction

A single entry on a prospect's activity timeline. Mirrors the contact/company and project action shapes: a type (note, chat, or audit) with a type-specific details payload. With include_rollups=true, the linked deal room's activity and the underlying contact/company notes are folded in and carry a subject identifying their origin.

  • cursor
    Type: string

    Opaque cursor for pagination.

  • details
    Type: object · ActionDetails nullable

    Type-specific details, discriminated by kind (note, chat, or audit).

    Details for a note action (kind = note).

    • archivedAt
      Type: null | stringFormat: date-time

      When this note was archived (UTC, ISO 8601). Null when active. Populated for archived rows and for superseded predecessors. Only returned when include_archived=true is requested.

    • contentFormat
      Type: null | string

      Rendering format of the note body: markdown for markdown notes; null for plain text.

    • file
      Type: object · FileAttachment nullable

      Attached file information, if any.

    • kind
      enum
      const:  
      note
      values
      • note
    • message
      Type: string

      The note text content.

    • noteType
      Type: null | string

      Activity sub-type: call, meeting, email, news. Null for plain notes and for surfaces that carry no sub-type.

    • supersededByActivityId
      Type: null | string

      Id of the successor note that supersedes this note. Null when this note is the active head of its chain.

    • supersedesActivityId
      Type: null | string

      Id of the predecessor note this note supersedes (this note is the current revision). Null when this note is the original.

  • etag
    Type: null | string

    ETag for optimistic concurrency. Present on the prospect's own note rows — send it as the If-Match header on PATCH /api/v1/projects/{projectId}/prospects/{id}/notes/{noteId}. Null on audit rows and on entries belonging to a related room, contact, or company.

  • event
    Type: null | string

    Stable event name for type=audit rows. Null for notes.

  • id
    Type: string

    Globally-unique, opaque identifier for this action, stable across the timeline. For the prospect's own note rows it is the id accepted by PATCH /api/v1/projects/{projectId}/prospects/{id}/notes/{noteId}. Treat it as an opaque string.

  • subject
    Type: object · ActionSubject nullable

    The deal room, contact, or company this entry belongs to. Present only when include_rollups=true; null for the prospect's own notes and events.

    • id
      Type: string

      Identifier of the subject entity (e.g. the prospect or room id).

    • name
      Type: null | string

      Human-readable label for the subject, when available.

    • type
      Type: string

      What this action is about: project, prospect, room, contact, or company.

  • timestampUtc
    Type: stringFormat: date-time

    When this action occurred (UTC).

  • type
    Type: string

    Action type: note (a user-authored note) or audit (an immutable event).

  • user
    Type: object · ActionUser nullable

    User who performed this action, when known.

    • id
      Type: string

      User's unique identifier

    • name
      Type: string

      User's display name