Skip to main content
POST
/
{flow_id}
Update flow metadata
curl --request POST \
  --url https://api.kapso.ai/meta/whatsapp/{flow_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "Updated Flow Name",
  "categories": [
    "APPOINTMENT_BOOKING",
    "CUSTOMER_SUPPORT"
  ]
}'
{
  "success": true
}

Authorizations

X-API-Key
string
header
required

Project API key for authentication. This is the recommended authentication method.

Get your API key from the Kapso dashboard under Project Settings > API Keys.

Path Parameters

flow_id
string
required

Flow ID

Body

application/json
name
string

Flow name

categories
enum<string>[]

Flow categories (at least one required if provided)

endpoint_uri
string<uri>

URL of the WhatsApp Flow Endpoint (for Flow JSON 3.0+)

application_id
string

ID of the Meta application connected to the Flow

Response

Flow metadata updated successfully

success
boolean