33 lines
747 B
YAML
33 lines
747 B
YAML
id: api-clockify
|
|
|
|
info:
|
|
name: Clockify API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Clockify's REST-based API can be used to push/pull data to/from it & integrate it with other systems
|
|
reference:
|
|
- https://clockify.me/developers-api
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/clockify
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,clockify
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET https://api.clockify.me/api/v1/user HTTP/1.1
|
|
Host: api.clockify.me
|
|
X-Api-Key: {{token}}
|
|
Content-Type: application/json
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"email":'
|
|
- '"name":'
|
|
condition: and
|