返回顶部
c

clockify时钟化

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
651
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

clockify

Clockify

Access the Clockify API with managed OAuth authentication. Track time, manage projects, clients, tasks, tags, and workspaces.

Quick Start

CODEBLOCK0

Base URL

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.

Authentication

All requests require the Maton API key in the Authorization header:

CODEBLOCK2

Environment Variable: Set your API key as MATON_API_KEY:

CODEBLOCK3

Getting Your API Key

  1. 1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Clockify OAuth connections at https://ctrl.maton.ai.

List Connections

CODEBLOCK4

Create Connection

CODEBLOCK5

Get Connection

CODEBLOCK6

Response:
CODEBLOCK7

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

CODEBLOCK8

Specifying Connection

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.

API Reference

User Operations

Get Current User

CODEBLOCK10

Response:
CODEBLOCK11

Workspace Operations

List Workspaces

CODEBLOCK12

Get Workspace

CODEBLOCK13

Create Workspace

CODEBLOCK14

List Workspace Users

CODEBLOCK15

Project Operations

List Projects

CODEBLOCK16

Get Project

CODEBLOCK17

Create Project

CODEBLOCK18

Response:
CODEBLOCK19

Update Project

CODEBLOCK20

Delete Project

CODEBLOCK21

Note: You cannot delete active projects. Set archived: true first.

Client Operations

List Clients

CODEBLOCK22

Get Client

CODEBLOCK23

Create Client

CODEBLOCK24

Response:
CODEBLOCK25

Update Client

CODEBLOCK26

Delete Client

CODEBLOCK27

Tag Operations

List Tags

CODEBLOCK28

Get Tag

CODEBLOCK29

Create Tag

CODEBLOCK30

Response:
CODEBLOCK31

Update Tag

CODEBLOCK32

Delete Tag

CODEBLOCK33

Task Operations

List Tasks on Project

CODEBLOCK34

Get Task

CODEBLOCK35

Create Task

CODEBLOCK36

Response:
CODEBLOCK37

Update Task

CODEBLOCK38

Delete Task

CODEBLOCK39

Note: You cannot delete active tasks. Set status: "DONE" first.

Time Entry Operations

Get User's Time Entries

CODEBLOCK40

Response:
CODEBLOCK41

Create Time Entry

CODEBLOCK42

Create Time Entry for Another User

CODEBLOCK43

Get Time Entry

CODEBLOCK44

Update Time Entry

CODEBLOCK45

Delete Time Entry

CODEBLOCK46

Stop Running Timer

CODEBLOCK47

Get In-Progress Time Entries

CODEBLOCK48

Pagination

Clockify uses page-based pagination:

CODEBLOCK49

Query Parameters:

  • - page - Page number (1-indexed, default: 1)
  • INLINECODE9 - Items per page (default varies by endpoint)

Response includes a Last-Page header indicating if there are more pages.

Code Examples

JavaScript

CODEBLOCK50

Python

CODEBLOCK51

Create Time Entry (Python)

CODEBLOCK52

Notes

  • - All IDs are string identifiers
  • Timestamps must be in ISO 8601 format with UTC timezone (e.g., 2026-02-13T09:00:00Z)
  • Duration format uses ISO 8601 duration (e.g., PT1H for 1 hour, PT30M for 30 minutes)
  • Cannot delete active projects or tasks - must archive them first
  • Rate limit: 50 requests per second per workspace
  • IMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Error Handling

StatusMeaning
400Missing Clockify connection or invalid request
401
Invalid or missing Maton API key | | 403 | Insufficient permissions | | 404 | Resource not found | | 429 | Rate limited (50 req/sec per workspace) | | 4xx/5xx | Passthrough error from Clockify API |

Troubleshooting: API Key Issues

  1. 1. Check that the MATON_API_KEY environment variable is set:

CODEBLOCK53

  1. 2. Verify the API key is valid by listing connections:

CODEBLOCK54

Troubleshooting: Invalid App Name

  1. 1. Ensure your URL path starts with clockify. For example:
  • - Correct: INLINECODE19
  • Incorrect: INLINECODE20

Resources

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clockify-1776419977 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clockify-1776419977 技能

通过命令行安装

skillhub install clockify-1776419977

下载

⬇ 下载 clockify v1.0.0(免费)

文件大小: 4.93 KB | 发布时间: 2026-4-17 19:56

v1.0.0 最新 2026-4-17 19:56
Initial release: integrates Clockify API with managed OAuth.

- Track time, manage projects, clients, tasks, tags, and workspaces via Clockify.
- Uses Maton API gateway for secure token management.
- Includes detailed usage instructions for user, project, workspace, client, tag, and task operations.
- Provides examples for authenticating, making API requests, and managing OAuth connections.
- Supports specifying connections when multiple Clockify accounts are linked.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部