---
title: "Register data endpoint with Meta"
method: POST
path: "/whatsapp/flows/{flow_id}/data_endpoint/register"
tags: ["WhatsApp Flows"]
---

# Register data endpoint with Meta

`POST /whatsapp/flows/{flow_id}/data_endpoint/register`

Register the deployed data endpoint URL with Meta. Requires flows encryption to be configured.

## Response `200`

Registered

- WhatsappFlowDataEndpointRegisterResponse
  - `data` object, required
    - `function_id` string, uuid, required
    - `function_name` string, required
    - `endpoint_url` string, uri, nullable
    - `status` 'draft' | 'deployed' | 'error', required
    - `last_deployed_at` string, date-time, nullable
    - `code` string — Function source code
    - `flow_id` string, uuid
    - `flow_data_endpoint_function_id` string, uuid
    - `flow_has_encryption` boolean

## Other responses

- `401` — Missing or invalid API key
- `404` — Resource not found
- `422` — Encryption not configured or other error

---

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