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

# List Mid-call Actions

> Retrieve all Mid-call Actions available in your Famulor account via API. Useful for inventory, debugging and attaching actions to AI voice assistants.

This endpoint allows you to retrieve all Mid-call Actions. Mid-call Actions enable your AI assistants to interact with external APIs during a call.

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be `application/json`
</ParamField>

<ParamField header="Accept" type="string" required>
  Must be `application/json`
</ParamField>

### Response Fields

<ResponseField name="data" type="array">
  Array of Mid-call Actions

  <Expandable title="properties">
    <ResponseField name="id" type="integer">
      The unique identifier of the Mid-call Action
    </ResponseField>

    <ResponseField name="name" type="string">
      The name of the Mid-call Action
    </ResponseField>

    <ResponseField name="description" type="string">
      Detailed explanation of when and how the AI should use this Mid-call Action
    </ResponseField>

    <ResponseField name="type" type="string">
      Mid-call Action type: `http` or `automation`
    </ResponseField>

    <ResponseField name="endpoint" type="string">
      The API endpoint URL that will be called
    </ResponseField>

    <ResponseField name="method" type="string">
      HTTP method (GET, POST, PUT, PATCH, DELETE)
    </ResponseField>

    <ResponseField name="body_format" type="string">
      Request body encoding: `json` or `form`
    </ResponseField>

    <ResponseField name="timeout" type="integer">
      Request timeout in seconds (1-30)
    </ResponseField>

    <ResponseField name="headers" type="array">
      HTTP headers to send with the request

      <Expandable title="header properties">
        <ResponseField name="name" type="string">
          Header name
        </ResponseField>

        <ResponseField name="value" type="string">
          Header value
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="static_fields" type="array">
      Fixed key/value pairs always sent with the request

      <Expandable title="static_fields properties">
        <ResponseField name="key" type="string">
          Field key
        </ResponseField>

        <ResponseField name="value" type="string">
          Field value
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="schema" type="array">
      Parameters that the AI will extract and send to the endpoint

      <Expandable title="schema properties">
        <ResponseField name="name" type="string">
          Parameter name
        </ResponseField>

        <ResponseField name="type" type="string">
          Parameter type (string, number, float, boolean)
        </ResponseField>

        <ResponseField name="description" type="string">
          Description to help AI understand how to extract this parameter
        </ResponseField>

        <ResponseField name="required" type="boolean">
          Whether the AI must collect this parameter
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ISO 8601 timestamp when the Mid-call Action was created
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      ISO 8601 timestamp when the Mid-call Action was last updated
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Response theme={null}
  {
    "data": [
      {
        "id": 1,
        "name": "get_weather",
        "description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
        "type": "http",
        "endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
        "method": "GET",
        "body_format": "json",
        "timeout": 10,
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          },
          {
            "name": "Authorization",
            "value": "Bearer sk_..."
          }
        ],
        "static_fields": [],
        "schema": [
          {
            "name": "city",
            "type": "string",
            "description": "The city name to get weather for",
            "required": true
          },
          {
            "name": "days",
            "type": "number",
            "description": "Number of forecast days",
            "required": false
          }
        ],
        "created_at": "2025-10-10T12:00:00.000000Z",
        "updated_at": "2025-10-10T12:00:00.000000Z"
      },
      {
        "id": 2,
        "name": "send_notification",
        "description": "Use this tool to send a notification to the customer. Call this when customer requests updates.",
        "type": "http",
        "endpoint": "https://api.yourcompany.com/notifications/send",
        "method": "POST",
        "body_format": "json",
        "timeout": 15,
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "static_fields": [
          {
            "key": "caller",
            "value": "{{customer_phone}}"
          }
        ],
        "schema": [
          {
            "name": "message",
            "type": "string",
            "description": "The notification message to send",
            "required": true
          },
          {
            "name": "send_sms",
            "type": "boolean",
            "description": "Whether to also send SMS notification",
            "required": false
          }
        ],
        "created_at": "2025-10-09T14:30:00.000000Z",
        "updated_at": "2025-10-10T09:15:00.000000Z"
      }
    ]
  }
  ```
</ResponseExample>

### Assigning Mid-call Actions to Assistants

To use these Mid-call Actions with assistants, see:

* **[Create Assistant](/en/api-reference/assistants/create)** — Attach Mid-call Actions using the `tool_ids` parameter
* **[Update Assistant](/en/api-reference/assistants/update)** — Manage Mid-call Action assignments using the `tool_ids` parameter

<Tip>
  Need a whole toolset instead of building HTTP actions one by one? Connect an external **MCP server** — tools are discovered automatically. See [MCP Servers](/en/platform/mcp-servers).
</Tip>
