32 lines
746 B
YAML
32 lines
746 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
|
|
tags: token-spray,clockify
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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
|