curl -X GET "https://api.whatabot.app/api/v1/flows?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Flow",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"workspace": {
"id": "660e8400-e29b-41d4-a716-446655440000",
"name": "My Workspace"
}
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}
Flows
List Flows
List all flows with pagination and filtering.
GET
/
v1
/
flows
curl -X GET "https://api.whatabot.app/api/v1/flows?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Flow",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"workspace": {
"id": "660e8400-e29b-41d4-a716-446655440000",
"name": "My Workspace"
}
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}
Retrieve a paginated list of flows. You can filter by workspace and date range.
string
required
Your API key (prefixed with
wh_).integer
default:"0"
Page number (zero-based).
integer
default:"10"
Number of items per page (1-100).
string
Column name to order results by.
string
default:"ASC"
Sort direction.
ASC or DESC.string
Filter by workspace UUID.
string
Filter by workspace name.
string
Filter by date range. One of
today, last7days, last15days, last30days.curl -X GET "https://api.whatabot.app/api/v1/flows?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Flow",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"workspace": {
"id": "660e8400-e29b-41d4-a716-446655440000",
"name": "My Workspace"
}
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}