id: api-pendo

info:
  name: Pendo API Test
  author: zzeitlin
  severity: info
  reference:
    - https://help.pendo.io/resources/support-library/api/index.html
  metadata:
    max-request: 1
  tags: token-spray,pendo

self-contained: true

http:
  - method: GET
    path:
      - "https://app.pendo.io/api/v1/feature"

    headers:
      Content-Type: application/json
      X-Pendo-Integration-Key: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"createdByUser":'
          - '"id":'
        condition: and

# digest: 4a0a0047304502203e9dec57e3a3b1893b734cdfbcd61fdf14292922af2216ada184e02677c6edfb022100d63c66571aaf02978d27d4629226be5ac20a3a419cebbd8d5584064961ba2f80:922c64590222798bb761d5b6d8e72950
