Skip to main content
POST
/
whatsapp
/
flows
/
{flow_id}
/
setup_encryption
Setup encryption
curl --request POST \
  --url https://api.kapso.ai/platform/v1/whatsapp/flows/{flow_id}/setup_encryption \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "phone_number_id": "<string>"
}
'
{
  "data": {
    "status": "success",
    "message": "<string>",
    "flows_encryption_configured": true
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

flow_id
string<uuid>
required

Body

application/json
phone_number_id
string

Override phone number (optional)

Response

Encryption configured

data
object
required