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

# Report an action done with its completion token

> For the agent that did the work: the token in the action's copied prompt reports that one action done (an outreach action: the pitch sent). No API key needed. An agent with an API key uses `POST /v1/actions/{actionId}/completion` instead.



## OpenAPI

````yaml https://api.spreadjam.com/openapi.json post /v1/action-completions/{token}
openapi: 3.0.0
info:
  title: SpreadJam API
  version: 1.0.0
servers:
  - url: https://api.spreadjam.com
security: []
tags:
  - name: Meta
    description: Identity and metadata about the authenticated key.
  - name: Keywords
    description: Keyword and topic visibility rankings.
  - name: API keys
    description: Manage the workspace's API keys.
  - name: Analytics
    description: AI-visibility analytics for the workspace.
  - name: Brand
    description: The workspace's brand profile and competitors.
  - name: Prompts
    description: Tracked GEO prompts and their cap state.
  - name: Visibility runs
    description: Run the AI-visibility scan now.
  - name: Credits
    description: The workspace's credit balance and recent charges.
  - name: Actions
    description: Recommended visibility actions and reporting them done.
  - name: Agent connect
    description: >-
      Sign a human up from an agent with one link, then receive an API key once
      they approve. No API key needed.
  - name: Pricing
    description: >-
      The plans an agent can choose for a human and their monthly prices. No API
      key needed.
  - name: Site changes
    description: >-
      Code changes Jam prepares for page edits and technical fixes: preview,
      open the pull request, discard.
  - name: Research
    description: >-
      The research that writes the Plan: its state, its latest report, and
      running it again.
  - name: Answers
    description: >-
      What each AI platform answered to the tracked prompts, with the sources it
      cited.
  - name: Projects
    description: The workspace's projects and the status of each one.
  - name: Billing
    description: The workspace's plan and the links where a person manages billing.
  - name: Webhooks
    description: >-
      HTTP destinations the workspace notifications are POSTed to, signed with a
      per-webhook secret.
  - name: Notifications
    description: >-
      Which notifications reach which channels (including webhooks), per event
      category.
  - name: Opportunities
    description: >-
      Article opportunities: the article pipeline behind the Plan's `new_page`
      actions, and requests to create content from them.
  - name: Planning
    description: Run automatic content planning now.
  - name: Content
    description: Content items, their drafts, and requests to rewrite them.
  - name: Revisions
    description: A content item's revisions.
  - name: Publishing
    description: Publishing content to destinations, now or on a schedule.
  - name: Deliveries
    description: A content item's delivery history.
  - name: Publications
    description: Where a content item is live.
  - name: Destinations
    description: Where content is published, its publishing policy, and its connection.
paths:
  /v1/action-completions/{token}:
    post:
      tags:
        - Actions
      summary: Report an action done with its completion token
      description: >-
        For the agent that did the work: the token in the action's copied prompt
        reports that one action done (an outreach action: the pitch sent). No
        API key needed. An agent with an API key uses `POST
        /v1/actions/{actionId}/completion` instead.
      operationId: complete_action_with_token
      parameters:
        - schema:
            type: string
            pattern: ^gac_[0-9a-f]{32}$
            example: gac_00000000000000000000000000000000
          required: true
          name: token
          in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionCompletion'
      responses:
        '200':
          description: The action after the report.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - suggested
                      - in_progress
                      - sent
                      - done
                      - verified
                      - unverified
                      - dismissed
                      - superseded
                required:
                  - status
        '400':
          description: The token is not a completion token.
        '402':
          description: 'The workspace''s plan has ended: it is read-only.'
        '404':
          description: No action has this token.
components:
  schemas:
    ActionCompletion:
      type: object
      properties:
        url:
          type: string
          maxLength: 2000
          format: uri
          description: Where the finished work lives.
        note:
          type: string
          maxLength: 2000

````

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