id: api-clickup

info:
  name: ClickUp API Test
  author: daffainfo
  severity: info
  description: ClickUp is a robust, cloud-based project management tool for boosting productivity
  reference:
    - https://clickup.com/api
    - https://github.com/daffainfo/all-about-apikey/tree/main/clickup
  metadata:
    max-request: 1
  tags: token-spray,clickup

self-contained: true

http:
  - raw:
      - |
        GET https://api.clickup.com/api/v2/user HTTP/1.1
        Host: api.clickup.com
        Authorization: {{token}}

    matchers:
      - type: word
        part: body
        words:
          - '"id":'
          - '"username":'
          - '"email":'
        condition: and

# digest: 4a0a0047304502207b81cd3bfdce3521aebecfee691dfca17cbc3a58c3ac673cbd13469bf07879d4022100c86c4310b8e946cdf4994f423f14677c61efd5030943c66d8e6e89d649fb0f8e:922c64590222798bb761d5b6d8e72950
