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: 490a0046304402203673c9ac6cc3cb808f6296618e11ad55f3edfd9ec8a0ea674afd376f30de7a3c022071bb5a8b9c6995b9cfcb02d6c779a21308639b9c942455df27e59a1e4020a4b9:922c64590222798bb761d5b6d8e72950