> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log an activity

> Saves an activity from notes or a transcript (201): a note on the account's timeline, linked to its participants, with `insights` (the reading POST /v1/activities/manual/process returned, as reviewed) as its AI fields and `fields` as its custom values, filed on `date`. The notes are indexed for search. Each text of `insights` takes at most 10000 characters and each list 50 items. A custom value the field refuses, a key that is not the Manual activity type's, or a mandatory field left out is a 422, and nothing is saved. `custom_fields_saved` is false when the activity was saved but its custom values were not. As the app's Add Activity sheet does, in two steps: POST /v1/activities/manual/process has the AI read the notes and returns its reading, saving nothing; POST /v1/activities/manual saves the activity with the reading as reviewed. It is logged by whoever created the API key, who must be a current member (else a 422), on an account in their book when their role sees only a book (else a 403), whatever kind of key it is. `participant_ids` are people in the workspace (an unknown id is a 422) and the account must exist (else a 404). A workspace reads or saves a few notes at a time on each server; past that, a 429 with Retry-After.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/activities/manual
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/activities/manual:
    post:
      tags:
        - activities
      summary: Log an activity
      description: >-
        Saves an activity from notes or a transcript (201): a note on the
        account's timeline, linked to its participants, with `insights` (the
        reading POST /v1/activities/manual/process returned, as reviewed) as its
        AI fields and `fields` as its custom values, filed on `date`. The notes
        are indexed for search. Each text of `insights` takes at most 10000
        characters and each list 50 items. A custom value the field refuses, a
        key that is not the Manual activity type's, or a mandatory field left
        out is a 422, and nothing is saved. `custom_fields_saved` is false when
        the activity was saved but its custom values were not. As the app's Add
        Activity sheet does, in two steps: POST /v1/activities/manual/process
        has the AI read the notes and returns its reading, saving nothing; POST
        /v1/activities/manual saves the activity with the reading as reviewed.
        It is logged by whoever created the API key, who must be a current
        member (else a 422), on an account in their book when their role sees
        only a book (else a 403), whatever kind of key it is. `participant_ids`
        are people in the workspace (an unknown id is a 422) and the account
        must exist (else a 404). A workspace reads or saves a few notes at a
        time on each server; past that, a 429 with Retry-After.
      operationId: activities_log_manual
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                account_id:
                  description: The account whose timeline it goes on
                  examples:
                    - 0015g00000AbCdE
                  maxLength: 200
                  minLength: 1
                  title: Account Id
                  type: string
                date:
                  description: When it happened, ISO 8601 (UTC when no offset)
                  examples:
                    - '2026-11-30T15:00:00Z'
                  format: date-time
                  title: Date
                  type: string
                fields:
                  additionalProperties: true
                  description: >-
                    Custom values, keyed by field key: the fields Object Manager
                    maps to the Manual activity type. Each value in the form a
                    read returns it; a mandatory one must be sent
                  examples:
                    - meeting_type__c_: QBR
                  title: Fields
                  type: object
                insights:
                  $ref: '#/components/schemas/ReviewedInsights'
                  description: >-
                    The result of POST /v1/activities/manual/process for these
                    notes, as it came back or as the person changed it (the app
                    lets them change the sentiment, its reason, the one-liner
                    and the key takeaways)
                notes:
                  description: The meeting notes or a transcript, as plain text
                  examples:
                    - >-
                      Casey confirmed the renewal for two years. Open item: SSO
                      before go-live.
                  maxLength: 1000000
                  minLength: 1
                  title: Notes
                  type: string
                participant_ids:
                  description: >-
                    Who took part, at least one: ids of teammates (GET
                    /v1/users) or contacts (GET /v1/contacts)
                  examples:
                    - - p_casey
                      - p_riley
                  items:
                    type: string
                  maxItems: 100
                  minItems: 1
                  title: Participant Ids
                  type: array
                title:
                  description: The activity's title
                  examples:
                    - Renewal call with Acme
                  maxLength: 500
                  minLength: 1
                  title: Title
                  type: string
              required:
                - account_id
                - title
                - notes
                - date
                - participant_ids
                - insights
              type: object
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoggedActivity'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ReviewedInsights:
      additionalProperties: false
      description: '``ManualActivityInsights`` as the person reviewed it.'
      properties:
        sentiment:
          anyOf:
            - enum:
                - negative
                - neutral
                - positive
              type: string
            - type: 'null'
          default: null
          description: positive, neutral or negative; null for none
          examples:
            - positive
          title: Sentiment
        sentiment_reason:
          anyOf:
            - maxLength: 10000
              type: string
            - type: 'null'
          default: null
          description: Why the sentiment is what it is
          examples:
            - Acme agreed to renew.
          title: Sentiment Reason
        summary:
          $ref: '#/components/schemas/ReviewedSummary'
          description: The summary
      title: ReviewedInsights
      type: object
    LoggedActivity:
      properties:
        custom_fields_saved:
          description: >-
            false when the activity was saved but its custom values were not:
            set them in the app, and do not log the activity again
          title: Custom Fields Saved
          type: boolean
        id:
          description: The activity's id at GET /v1/activities/{activity_id}
          examples:
            - 4f9c2d0e8b7a4c1d
          title: Id
          type: string
      required:
        - id
        - custom_fields_saved
      title: LoggedActivity
      type: object
    ReviewedSummary:
      additionalProperties: false
      properties:
        competitors:
          examples:
            - []
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Competitors
          type: array
        detailed_summary:
          examples:
            - - Casey confirmed the renewal.
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Detailed Summary
          type: array
        issues:
          examples:
            - - SSO is not set up
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Issues
          type: array
        key_takeaways:
          examples:
            - - Two-year term
              - 5% uplift
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Key Takeaways
          type: array
        one_liner:
          anyOf:
            - maxLength: 10000
              type: string
            - type: 'null'
          default: null
          description: The executive brief
          examples:
            - Acme renews.
          title: One Liner
        outcomes:
          examples:
            - - Renewal confirmed
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Outcomes
          type: array
        product_adoption_usage:
          examples:
            - []
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Product Adoption Usage
          type: array
        recap:
          description: The conversation, topic by topic
          items:
            $ref: '#/components/schemas/ReviewedRecap'
          maxItems: 50
          title: Recap
          type: array
        relationships:
          examples:
            - - Casey is the champion
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Relationships
          type: array
        renewal_status:
          examples:
            - - Renewing
          items:
            maxLength: 10000
            type: string
          maxItems: 50
          title: Renewal Status
          type: array
        stage:
          anyOf:
            - maxLength: 10000
              type: string
            - type: 'null'
          default: null
          description: The relationship's stage
          examples:
            - Renewal
          title: Stage
      title: ReviewedSummary
      type: object
    ReviewedRecap:
      additionalProperties: false
      properties:
        text:
          description: What was said about it
          examples:
            - Acme accepted the 5% uplift.
          maxLength: 10000
          title: Text
          type: string
        topic:
          description: What a part of the conversation was about
          examples:
            - Pricing
          maxLength: 10000
          title: Topic
          type: string
      required:
        - topic
        - text
      title: ReviewedRecap
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.