Skip to main content

Prerequisites

Before continuing, you should have already completed the following for this connector:
1

Configure the Connector

Enable the connector and set up its connector profile in your project. See Managing Connectors.
https://stackone-logos.com/api/toggle/filled/png

Connector Profile

Toggl - API Token
2

Link an Account

Connect an account using StackOne Hub or Auth Link.
https://stackone-logos.com/api/toggle/filled/png

Link Account

Toggl - API Token

How webhooks are set up

StackOne creates a Toggl Track Webhooks subscription for you on connect — there is nothing to configure in Toggl and no URL to paste.

1

Connect with an account API token

Connect the account with a Toggl API token that can access the workspace you want events from. StackOne subscribes the account’s default workspace.

2

Let StackOne provision and validate the subscription

On connect, StackOne creates one webhook subscription on the default workspace with a wildcard filter covering every entity and action, then triggers Toggl’s PING validation and echoes the validation code automatically so the subscription becomes validated and enabled. Toggl enforces tight per-workspace limits (the Free plan allows 1 webhook and 3 event filters), so StackOne uses a single wildcard subscription to stay within the cap. Only the events you enable in StackOne are dispatched.

Available webhook events

The events below can be enabled for this connection. Each delivered payload carries the entity in metadata.model and the action in metadata.action; the emitted event type is <entity>.<action>.

1

Review client events

Fired for clients.

  • Client Created (client.created) — Fired when a client is created in the workspace.
  • Client Updated (client.updated) — Fired when a client is updated.
  • Client Deleted (client.deleted) — Fired when a client is deleted.
2

Review project events

Fired for projects.

  • Project Created (project.created) — Fired when a project is created.
  • Project Updated (project.updated) — Fired when a project is updated.
  • Project Deleted (project.deleted) — Fired when a project is deleted.
3

Review project group events

Fired for project groups.

  • Project Group Created (project_group.created) — Fired when a project group is created.
  • Project Group Updated (project_group.updated) — Fired when a project group is updated.
  • Project Group Deleted (project_group.deleted) — Fired when a project group is deleted.
4

Review project user events

Fired for project memberships.

  • Project User Created (project_user.created) — Fired when a user is added to a project.
  • Project User Updated (project_user.updated) — Fired when a project membership is updated.
  • Project User Deleted (project_user.deleted) — Fired when a user is removed from a project.
5

Review tag events

Fired for tags.

  • Tag Created (tag.created) — Fired when a tag is created.
  • Tag Updated (tag.updated) — Fired when a tag is updated.
  • Tag Deleted (tag.deleted) — Fired when a tag is deleted.
6

Review task events

Fired for tasks.

  • Task Created (task.created) — Fired when a task is created.
  • Task Updated (task.updated) — Fired when a task is updated.
  • Task Deleted (task.deleted) — Fired when a task is deleted.
7

Review time entry events

Fired for time entries.

  • Time Entry Created (time_entry.created) — Fired when a time entry is created.
  • Time Entry Updated (time_entry.updated) — Fired when a time entry is updated.
  • Time Entry Deleted (time_entry.deleted) — Fired when a time entry is deleted.
8

Review timesheet events

Fired for timesheets.

  • Timesheet Created (timesheet.created) — Fired when a timesheet is created.
  • Timesheet Updated (timesheet.updated) — Fired when a timesheet is updated.
  • Timesheet Deleted (timesheet.deleted) — Fired when a timesheet is deleted.
9

Review workspace user events

Fired for workspace memberships.

  • Workspace User Created (workspace_user.created) — Fired when a user is added to the workspace.
  • Workspace User Updated (workspace_user.updated) — Fired when a workspace membership is updated.
  • Workspace User Deleted (workspace_user.deleted) — Fired when a user is removed from the workspace.
10

Review workspace events

Fired for the workspace itself.

  • Workspace Updated (workspace.updated) — Fired when workspace settings are updated.

Delivery format

How Toggl delivers events to StackOne.

1

Inspect event payloads

Toggl sends each event as an HTTP POST with a JSON body containing metadata (with model set to the entity and action set to created, updated, or deleted), payload (the full entity object, whose id is used as the event id), and created_at. Toggl sends one event per request.

2

Handle validation pings

Toggl validates the callback URL by sending a PING containing a validation_code. StackOne echoes it automatically to validate the subscription — no action is needed from you.

3

Note signed deliveries

Toggl signs each delivery with an HMAC of the payload using the subscription secret StackOne sets at creation. StackOne relies on the unguessable callback URL as the security gate.

Verify

Your Connector should now be able to receive and process events. Try triggering an event and you should see an Event appear in the Connector logs.