Update a webhook endpoint
PATCH
/api/v1/webhooks/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 authorization code flow with PKCE. Audience must be the connect URL.
Scopes:
torqee:webhooks:writetorqee:sessions:reador
AuthorizationBearer token · headerrequiredWorkspace API key issued from the torqee web app. Pass the torqee_-prefixed key as the bearer token. API keys carry the same read scopes as OAuth tokens.
Path parameters
idstringrequiredmin length 1
Request body
requiredapplication/jsonnamestringmin length 1 · max length 100
urlstring<uri>max length 2048
filtersobject[]min items 1 · max items 20
Show propertiesHide properties
Array of
objectOne of:
object
typestringrequiredsessionIdstringmin length 1
object
typestringrequiredsessionIdstringmin length 1
statusstring[]min items 1
enabledbooleanResponses
200
Updated endpoint
idstringrequiredmin length 1
namestringrequiredmin length 1
urlstring<uri>requiredfiltersobject[]requiredmin items 1 · max items 20
Show propertiesHide properties
Array of
objectOne of:
object
typestringrequiredsessionIdstringmin length 1
object
typestringrequiredsessionIdstringmin length 1
statusstring[]min items 1
enabledbooleanrequiredcreatedAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
updatedAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
400
Invalid endpoint or filters
errorstringrequiredAllowed:
invalid_request401
Missing or invalid credentials
errorstringrequiredAllowed:
unauthorized403
Membership revoked or insufficient scope
errorstringrequiredAllowed:
insufficient_scopeforbidden404
Webhook endpoint or workspace not found
errorstringrequiredAllowed:
not_foundworkspace_not_found500
Unexpected server error
errorstringrequiredAllowed:
internal_server_error