|
Access the Clockify API with managed OAuth authentication. Track time, manage projects, clients, tasks, tags, and workspaces.
CODEBLOCK0
CODEBLOCK1
Replace {native-api-path} with the actual Clockify API endpoint path. The gateway proxies requests to api.clockify.me and automatically injects your credentials.
All requests require the Maton API key in the Authorization header:
CODEBLOCK2
Environment Variable: Set your API key as MATON_API_KEY:
CODEBLOCK3
Manage your Clockify OAuth connections at https://ctrl.maton.ai.
CODEBLOCK4
CODEBLOCK5
CODEBLOCK6
Response:
CODEBLOCK7
Open the returned url in a browser to complete OAuth authorization.
CODEBLOCK8
If you have multiple Clockify connections, specify which one to use with the Maton-Connection header:
CODEBLOCK9
If omitted, the gateway uses the default (oldest) active connection.
CODEBLOCK10
Response:
CODEBLOCK11
CODEBLOCK12
CODEBLOCK13
CODEBLOCK14
CODEBLOCK15
CODEBLOCK16
CODEBLOCK17
CODEBLOCK18
Response:
CODEBLOCK19
CODEBLOCK20
CODEBLOCK21
Note: You cannot delete active projects. Set archived: true first.
CODEBLOCK22
CODEBLOCK23
CODEBLOCK24
Response:
CODEBLOCK25
CODEBLOCK26
CODEBLOCK27
CODEBLOCK28
CODEBLOCK29
CODEBLOCK30
Response:
CODEBLOCK31
CODEBLOCK32
CODEBLOCK33
CODEBLOCK34
CODEBLOCK35
CODEBLOCK36
Response:
CODEBLOCK37
CODEBLOCK38
CODEBLOCK39
Note: You cannot delete active tasks. Set status: "DONE" first.
CODEBLOCK40
Response:
CODEBLOCK41
CODEBLOCK42
CODEBLOCK43
CODEBLOCK44
CODEBLOCK45
CODEBLOCK46
CODEBLOCK47
CODEBLOCK48
Clockify uses page-based pagination:
CODEBLOCK49
Query Parameters:
page - Page number (1-indexed, default: 1)Response includes a Last-Page header indicating if there are more pages.
CODEBLOCK50
CODEBLOCK51
CODEBLOCK52
2026-02-13T09:00:00Z)PT1H for 1 hour, PT30M for 30 minutes)curl -g when URLs contain brackets to disable glob parsingjq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments| Status | Meaning |
|---|---|
| 400 | Missing Clockify connection or invalid request |
| 401 |
MATON_API_KEY environment variable is set:CODEBLOCK53
CODEBLOCK54
clockify. For example:该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 clockify-1776419977 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 clockify-1776419977 技能
skillhub install clockify-1776419977
文件大小: 4.93 KB | 发布时间: 2026-4-17 19:56