Skip to main content
GET
/
v1
/
senders
/
{senderId}
/
agent
/
flows
List flows
curl --request GET \
  --url https://api.zavu.dev/v1/senders/{senderId}/agent/flows \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "name": "<string>",
      "trigger": {
        "type": "keyword",
        "keywords": [
          "<string>"
        ],
        "intent": "<string>"
      },
      "steps": [
        {
          "id": "<string>",
          "type": "message",
          "config": {},
          "nextStepId": "<string>"
        }
      ],
      "enabled": true,
      "priority": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

senderId
string
required

Query Parameters

enabled
boolean
limit
integer
default:50
Required range: x <= 100
cursor
string

Response

List of flows.

items
object[]
required
nextCursor
string | null