---
title: "Get function invocations"
method: GET
path: "/whatsapp/flows/{flow_id}/function_invocations"
tags: ["WhatsApp Flows"]
---

# Get function invocations

`GET /whatsapp/flows/{flow_id}/function_invocations`

Get recent invocations of the data endpoint function.

## Query parameters

- `status` 'success' | 'failed'
- `limit` integer

## Response `200`

Success

- WhatsappFlowFunctionInvocationsResponse
  - `data` object, required
    - `function_id` string, uuid, required
    - `function_name` string, required
    - `invocations` WhatsappFlowFunctionInvocation[], required
      - `id` string, uuid
      - `status_code` integer
      - `duration_ms` number, nullable
      - `request_body` object, nullable
      - `response_body` object, nullable
      - `error_message` string, nullable
      - `cf_ray` string, nullable
      - `created_at` string, date-time

## Other responses

- `401` — Missing or invalid API key
- `404` — Resource not found
- `422` — No data endpoint configured

---

[API](https://skmtc.net/kapso/apis/kapso-platform-api.md) · [All operations](https://skmtc.net/kapso/apis/kapso-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kapso/kapso-platform-api/revisions/18ff5548a33f/schema)
