Skip to main content
GET
/
whatsapp
/
flows
/
{flow_id}
/
versions
List flow versions
curl --request GET \
  --url https://api.kapso.ai/platform/v1/whatsapp/flows/{flow_id}/versions \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "version_label": "<string>",
      "status": "draft",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "flow_json_sha": "<string>",
      "published_at": "2023-11-07T05:31:56Z",
      "validation_errors": [
        {}
      ]
    }
  ],
  "meta": {
    "page": 2,
    "per_page": 2,
    "total_pages": 1,
    "total_count": 1
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

flow_id
string<uuid>
required

Query Parameters

per_page
integer
default:20
Required range: x >= 1
page
integer
default:1
Required range: x >= 1

Response

Success

data
object[]
required
meta
object
required