[
{
"handle": "time_entries",
"meta": {
"short": "Time Entries",
"description": "Track time entries for projects and tasks."
},
"endpoint": {
"value": "/api/v9/me/time_entries"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the time entry."
}
},
{
"name": "description",
"type": "String",
"selector": [
"description"
],
"meta": {
"description": "Description of the time entry."
}
},
{
"name": "start",
"type": "String",
"selector": [
"start"
],
"meta": {
"description": "Start time of the time entry in ISO 8601 format."
}
},
{
"name": "stop",
"type": "String",
"selector": [
"stop"
],
"meta": {
"description": "Stop time of the time entry in ISO 8601 format."
}
},
{
"name": "duration",
"type": "Integer",
"selector": [
"duration"
],
"meta": {
"description": "Duration of the time entry in seconds."
}
},
{
"name": "pid",
"type": "Integer",
"selector": [
"pid"
],
"meta": {
"description": "Project ID associated with the time entry."
}
},
{
"name": "tid",
"type": "Integer",
"selector": [
"tid"
],
"meta": {
"description": "Task ID associated with the time entry."
}
},
{
"name": "tags_0",
"type": "String",
"selector": [
"tags",
0
],
"meta": {
"description": "First tag associated with the time entry."
},
"multivalue": true
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {
"start_date": "{{start_date}}",
"end_date": "{{end_date}}"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"time_entry\":{\"description\":\"{{description}}\",\"start\":\"{{start}}\",\"duration\":\"{{duration}}\",\"pid\":{{pid}},\"tid\":{{tid}},\"tags\":{{tags}}}}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"time_entry\":{\"description\":\"{{description}}\",\"start\":\"{{start}}\",\"stop\":\"{{stop}}\",\"duration\":\"{{duration}}\",\"pid\":{{pid}},\"tid\":{{tid}},\"tags\":{{tags}}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
},
"webhooks": [
{
"event": "time_entry_created",
"path": "/webhooks/toggl/time_entry_created",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the time entry."
}
},
{
"name": "description",
"type": "String",
"selector": [
"description"
],
"meta": {
"description": "Description of the time entry."
}
},
{
"name": "start",
"type": "String",
"selector": [
"start"
],
"meta": {
"description": "Start time of the time entry in ISO 8601 format."
}
},
{
"name": "stop",
"type": "String",
"selector": [
"stop"
],
"meta": {
"description": "Stop time of the time entry in ISO 8601 format."
}
},
{
"name": "duration",
"type": "Integer",
"selector": [
"duration"
],
"meta": {
"description": "Duration of the time entry in seconds."
}
},
{
"name": "pid",
"type": "Integer",
"selector": [
"pid"
],
"meta": {
"description": "Project ID associated with the time entry."
}
},
{
"name": "tid",
"type": "Integer",
"selector": [
"tid"
],
"meta": {
"description": "Task ID associated with the time entry."
}
},
{
"name": "tags_0",
"type": "String",
"selector": [
"tags",
0
],
"meta": {
"description": "First tag associated with the time entry."
},
"multivalue": true
}
]
},
{
"event": "time_entry_updated",
"path": "/webhooks/toggl/time_entry_updated",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the time entry."
}
},
{
"name": "description",
"type": "String",
"selector": [
"description"
],
"meta": {
"description": "Description of the time entry."
}
},
{
"name": "start",
"type": "String",
"selector": [
"start"
],
"meta": {
"description": "Start time of the time entry in ISO 8601 format."
}
},
{
"name": "stop",
"type": "String",
"selector": [
"stop"
],
"meta": {
"description": "Stop time of the time entry in ISO 8601 format."
}
},
{
"name": "duration",
"type": "Integer",
"selector": [
"duration"
],
"meta": {
"description": "Duration of the time entry in seconds."
}
},
{
"name": "pid",
"type": "Integer",
"selector": [
"pid"
],
"meta": {
"description": "Project ID associated with the time entry."
}
},
{
"name": "tid",
"type": "Integer",
"selector": [
"tid"
],
"meta": {
"description": "Task ID associated with the time entry."
}
},
{
"name": "tags_0",
"type": "String",
"selector": [
"tags",
0
],
"meta": {
"description": "First tag associated with the time entry."
},
"multivalue": true
}
]
},
{
"event": "time_entry_deleted",
"path": "/webhooks/toggl/time_entry_deleted",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the time entry."
}
}
]
}
]
},
{
"handle": "projects",
"meta": {
"short": "Projects",
"description": "Manage projects in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/projects"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the project."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the project."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID associated with the project."
}
},
{
"name": "is_private",
"type": "Boolean",
"selector": [
"is_private"
],
"meta": {
"description": "Indicates if the project is private."
}
},
{
"name": "active",
"type": "Boolean",
"selector": [
"active"
],
"meta": {
"description": "Indicates if the project is active."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"project\":{\"name\":\"{{name}}\",\"workspace_id\":{{workspace_id}},\"is_private\":{{is_private}},\"active\":{{active}}}}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"project\":{\"name\":\"{{name}}\",\"is_private\":{{is_private}},\"active\":{{active}}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
},
"webhooks": [
{
"event": "project_created",
"path": "/webhooks/toggl/project_created",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the project."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the project."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID associated with the project."
}
},
{
"name": "is_private",
"type": "Boolean",
"selector": [
"is_private"
],
"meta": {
"description": "Indicates if the project is private."
}
},
{
"name": "active",
"type": "Boolean",
"selector": [
"active"
],
"meta": {
"description": "Indicates if the project is active."
}
}
]
},
{
"event": "project_updated",
"path": "/webhooks/toggl/project_updated",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the project."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the project."
}
},
{
"name": "is_private",
"type": "Boolean",
"selector": [
"is_private"
],
"meta": {
"description": "Indicates if the project is private."
}
},
{
"name": "active",
"type": "Boolean",
"selector": [
"active"
],
"meta": {
"description": "Indicates if the project is active."
}
}
]
},
{
"event": "project_deleted",
"path": "/webhooks/toggl/project_deleted",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the project."
}
}
]
}
]
},
{
"handle": "workspaces",
"meta": {
"short": "Workspaces",
"description": "Manage workspaces in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the workspace."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the workspace."
}
},
{
"name": "premium",
"type": "Boolean",
"selector": [
"premium"
],
"meta": {
"description": "Indicates if the workspace is premium."
}
},
{
"name": "admin",
"type": "Boolean",
"selector": [
"admin"
],
"meta": {
"description": "Indicates if the user is an admin of the workspace."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
},
"webhooks": [
{
"event": "workspace_created",
"path": "/webhooks/toggl/workspace_created",
"payload": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the workspace."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the workspace."
}
},
{
"name": "premium",
"type": "Boolean",
"selector": [
"premium"
],
"meta": {
"description": "Indicates if the workspace is premium."
}
},
{
"name": "admin",
"type": "Boolean",
"selector": [
"admin"
],
"meta": {
"description": "Indicates if the user is an admin of the workspace."
}
}
]
}
]
},
{
"handle": "clients",
"meta": {
"short": "Clients",
"description": "Manage clients in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/clients"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the client."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the client."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID."
}
},
{
"name": "notes",
"type": "String",
"selector": [
"notes"
],
"meta": {
"description": "Notes for the client."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"client\":{\"name\":\"{{name}}\",\"notes\":\"{{notes}}\"}}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"client\":{\"name\":\"{{name}}\",\"notes\":\"{{notes}}\"}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "tasks",
"meta": {
"short": "Tasks",
"description": "Manage tasks in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/projects/{{project_id}}/tasks"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the task."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the task."
}
},
{
"name": "project_id",
"type": "Integer",
"selector": [
"project_id"
],
"meta": {
"description": "Project ID."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID."
}
},
{
"name": "active",
"type": "Boolean",
"selector": [
"active"
],
"meta": {
"description": "Is active."
}
},
{
"name": "estimated_seconds",
"type": "Integer",
"selector": [
"estimated_seconds"
],
"meta": {
"description": "Estimated seconds."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"name\":\"{{name}}\",\"active\":{{active}},\"estimated_seconds\":{{estimated_seconds}}}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"name\":\"{{name}}\",\"active\":{{active}},\"estimated_seconds\":{{estimated_seconds}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "tags",
"meta": {
"short": "Tags",
"description": "Manage tags in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/tags"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the tag."
}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {
"description": "Name of the tag."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"name\":\"{{name}}\"}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"name\":\"{{name}}\"}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "project_users",
"meta": {
"short": "Project Users",
"description": "Manage project users in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/projects/{{project_id}}/project_users"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the project user."
}
},
{
"name": "project_id",
"type": "Integer",
"selector": [
"project_id"
],
"meta": {
"description": "Project ID."
}
},
{
"name": "user_id",
"type": "Integer",
"selector": [
"user_id"
],
"meta": {
"description": "User ID."
}
},
{
"name": "rate",
"type": "Float",
"selector": [
"rate"
],
"meta": {
"description": "Hourly rate."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"user_id\":{{user_id}},\"rate\":{{rate}}}"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"rate\":{{rate}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "workspace_users",
"meta": {
"short": "Workspace Users",
"description": "Manage workspace users in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/workspace_users"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the workspace user."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID."
}
},
{
"name": "user_id",
"type": "Integer",
"selector": [
"user_id"
],
"meta": {
"description": "User ID."
}
},
{
"name": "admin",
"type": "Boolean",
"selector": [
"admin"
],
"meta": {
"description": "Is admin."
}
},
{
"name": "active",
"type": "Boolean",
"selector": [
"active"
],
"meta": {
"description": "Is active."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
},
"update": {
"method": "PUT",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"admin\":{{admin}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "user_invitations",
"meta": {
"short": "User Invitations",
"description": "Manage user invitations in Toggl Track."
},
"endpoint": {
"value": "/api/v9/workspaces/{{workspace_id}}/invitations"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the invitation."
}
},
{
"name": "email",
"type": "String",
"selector": [
"email"
],
"meta": {
"description": "Email address."
}
},
{
"name": "workspace_id",
"type": "Integer",
"selector": [
"workspace_id"
],
"meta": {
"description": "Workspace ID."
}
},
{
"name": "admin",
"type": "Boolean",
"selector": [
"admin"
],
"meta": {
"description": "Is admin."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"create": {
"method": "POST",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"email\":\"{{email}}\",\"admin\":{{admin}}}"
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}"
},
"headers": {
"Content-Type": "application/json"
}
}
}
},
{
"handle": "users",
"meta": {
"short": "Users (Me)",
"description": "Manage user profile in Toggl Track."
},
"endpoint": {
"value": "/api/v9/me"
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {
"description": "Unique identifier for the user."
}
},
{
"name": "email",
"type": "String",
"selector": [
"email"
],
"meta": {
"description": "Email address."
}
},
{
"name": "fullname",
"type": "String",
"selector": [
"fullname"
],
"meta": {
"description": "Full name."
}
},
{
"name": "timezone",
"type": "String",
"selector": [
"timezone"
],
"meta": {
"description": "Timezone."
}
}
],
"operations": {
"read": {
"method": "GET",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
}
},
"update": {
"method": "PUT",
"path": {
"value": ""
},
"headers": {
"Content-Type": "application/json"
},
"bodyTemplate": {
"value": "{\"fullname\":\"{{fullname}}\",\"email\":\"{{email}}\",\"timezone\":\"{{timezone}}\"}"
}
}
}
}
]