Webhook

Subscribe to events (MCP Events)

Changed on

Creates or refreshes an MCP Events webhook subscription, as the Timesheet MCP server forwards events/subscribe. A subscription is identified by the event, its arguments and the callback URL: the same request again refreshes it and replaces its secret. The callback has to answer a signed verification challenge before the first delivery. Deliveries use Standard Webhooks signatures with the secret the caller supplied, and the subscription lapses at refreshBefore unless refreshed.

post/v1/webhooks/subscribe

Request

  • Base URL
    https://api.timesheet.io
  • URL
    https://api.timesheet.io/v1/webhooks/subscribe
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Request body

namestring
argumentsobject
urlstring
secretstring
ttlMsinteger

Response

Subscription created or refreshed

idstring
refreshBeforestring

Changes