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

{
"events": {
"description": "Paginated events in this response",
"items": [
{
"created_at": {
"description": "Time of creation",
"type": "string"
},
"creator_id": {
"description": "ID of the Toggl Track user who performed the request for this event",
"type": "integer"
},
"event_id": {
"description": "A unique identifier for this event",
"type": "integer"
},
"failed_delivery_attempts": {
"description": "Number of failed delivery attempts, if any",
"type": "integer"
},
"last_delivery_attempt": {
"description": "Time of last delivery attempt, if any",
"type": "string"
},
"last_delivery_error": {
"description": "Last received error when attempting to deliver this event, if any",
"type": "string"
},
"metadata": {
"description": "A map of useful contextual information for this event",
"type": "string"
},
"payload": {
"description": "The data of the modified entity",
"type": "string"
},
"subscription_id": {
"description": "The ID of the subscription related to this event",
"type": "integer"
}
}
]
},
"total": {
"description": "Total number of responses",
"type": "integer"
}
}
© 2022 Toggl. All rights reserved.