Skip to main content

Events

GET Retrieves existing events for the requested subscription ID.​

https://api.track.toggl.com/webhooks/api/v1/subscriptions/{workspace_id}/{subscription_id}/events

Retrieves existing events for the requested subscription ID.

curl  https://api.track.toggl.com/webhooks/api/v1/subscriptions/{workspace_id}/{subscription_id}/events \
-H "Content-Type: application/json"

Parameters​

Path​

nametyperequireddescription
workspace_idintegertrueNumeric ID of the workspace
subscription_idintegertrueNumeric ID of the subscription

Query​

nametyperequireddescription
offsetintegerfalseNumeric offset to retrieve further available events pages

Response​

200​

nametypedescription
eventsArray of
nametypedescription
created_atstringTime of creation
creator_idintegerID of the Toggl Track user who performed the request for this event
event_idintegerA unique identifier for this event
failed_delivery_attemptsintegerNumber of failed delivery attempts, if any
last_delivery_attemptstringTime of last delivery attempt, if any
last_delivery_errorstringLast received error when attempting to deliver this event, if any
metadatastringA map of useful contextual information for this event
payloadstringThe data of the modified entity
subscription_idintegerThe ID of the subscription related to this event
timestampstringTimestamp when event was sent to the subscriber
url_callbackstringURL endpoint where event was sent
Paginated events in this response
totalintegerTotal number of responses

403​

User not found/accessible for workspace

404​

subscription {subscription_id} for workspace {workspace_id} was not found

500​

Internal Server Error
© 2024 Toggl. All rights reserved.