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

# Add Action to Recall

> Adds an action to an existing recall. A closing action closes the recall.

Actions are added asynchronously: a valid request returns immediately, and a `recall_action.created` or `recall_action.failed` webhook is sent when processing completes.

Adding recall actions is only supported for ModMed EMA.


## OpenAPI

````yaml POST /recalls/{id}/actions
openapi: 3.0.0
info:
  title: Cobalt API
  version: 1.0.1
  description: API for interacting with Cobalt's EHR integration services
servers:
  - url: https://api.usecobalt.com/v1
security:
  - ClientCredentials: []
    ClientSecret: []
    AccessToken: []
paths:
  /recalls/{id}/actions:
    post:
      tags:
        - Recalls
      summary: Add an action to a recall
      description: >-
        Appends an action (and optional note) to an existing recall. A closing
        action closes the recall.
      operationId: logRecallAction
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - action_taken
              properties:
                action_taken:
                  type: string
                  x-supported-emrs:
                    - ModmedEMA
                  description: >-
                    Exact activity type label to log (e.g. "Phone Call", "Closed
                    - Other"). A "Closed - *" type closes the recall.
                  example: Phone Call
                  x-required-for-emrs:
                    - ModmedEMA
                note:
                  type: string
                  x-supported-emrs:
                    - ModmedEMA
                  description: Optional activity note (max 255 characters).
                callback_urls:
                  type: array
                  items:
                    type: string
                  x-supported-emrs:
                    - ModmedEMA
                  description: URLs to receive the completion webhook for this action.
      responses:
        '200':
          description: Recall action queued for processing
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  recall_id:
                    type: string
                  job_id:
                    type: integer
                required:
                  - success
                  - message
                  - recall_id
                  - job_id
        '400':
          description: Bad request — missing or invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  message:
                    type: string
                required:
                  - success
                  - message
        '401':
          description: Unauthorized — missing or invalid credentials
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  message:
                    type: string
                required:
                  - success
                  - message
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  message:
                    type: string
                required:
                  - success
                  - message
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  message:
                    type: string
                required:
                  - success
                  - message
components:
  securitySchemes:
    ClientCredentials:
      type: apiKey
      in: header
      name: client_id
    ClientSecret:
      type: apiKey
      in: header
      name: client_secret
    AccessToken:
      type: apiKey
      in: header
      name: access_token

````