Skip to main content
POST
/
whatsapp
/
flows
/
{flow_id}
/
data_endpoint
/
register
Register data endpoint with Meta
curl --request POST \
  --url https://api.kapso.ai/platform/v1/whatsapp/flows/{flow_id}/data_endpoint/register \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "function_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "function_name": "<string>",
    "status": "draft",
    "endpoint_url": "<string>",
    "last_deployed_at": "2023-11-07T05:31:56Z",
    "code": "<string>",
    "flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "flow_data_endpoint_function_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "flow_has_encryption": true
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

flow_id
string<uuid>
required

Response

Registered

data
object
required