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: 4a0a00473045022100e42eff0b9b5fb148092f5858378d83d26a31d349d94c97287cac75139f931a9c0220783939ef24cb9eff9173cbca98ef3959a939bdad41845f2930adf96ab0719366:922c64590222798bb761d5b6d8e72950