id: api-calendly

info:
  name: Calendly API Test
  author: zzeitlin
  severity: info
  reference:
    - https://calendly.stoplight.io/docs/api-docs-v1/b3A6MTg3MDczNg-about-me
  metadata:
    max-request: 1
  tags: token-spray,calendly

self-contained: true

http:
  - method: GET
    path:
      - "https://calendly.com/api/v1/users/me"

    headers:
      X-Token: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"data":'
          - '"id":'
          - '"email":'
        condition: and

# digest: 4a0a00473045022100e831b694f92daa23cba4637646ee6eb40171e699067710e865d8666f3bcaa2e002205a5e6d92632f7ea24402afe34c8d87f6cfede195fe217b87725a477ecdab0819:922c64590222798bb761d5b6d8e72950
