id: api-flowdash

info:
  name: Flowdash API Test
  author: daffainfo
  severity: info
  description: Automate business workflows
  reference:
    - https://docs.flowdash.com/docs/api-introduction
    - https://github.com/daffainfo/all-about-apikey/tree/main/flowdash
  metadata:
    max-request: 1
  tags: token-spray,flowdash

self-contained: true

http:
  - raw:
      - |
        GET https://app.flowdash.com/api/v1/workflows HTTP/1.1
        Host: app.flowdash.com
        Authorization: Bearer {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"id":'
          - '"name":'
        condition: and
# digest: 4a0a00473045022100d62a33816633e4a8d91f3270438821bd17ec219ac1690bc1c45c5174921409ab02206d7469b22176a783690807fe324e295e0dbbf629653636301c1a93e06d464ba9:922c64590222798bb761d5b6d8e72950