API reference
Update webhook
PATCH
https://api.tradesync.com/webhooks/{webhook_id}Update selected webhook settings.
Last updated
Path parameters
- webhook_idType: integer
- Webhook id returned by the corresponding list endpoint
Request body
Omitted fields are unchanged. Authentication and the credentials required by that authentication type must be supplied on every update.
- urlType: stringRequired: No
- Receiving URLAccepted values / limits: HTTP or HTTPS URL
- authenticationType: stringRequired: Yes
- Authentication used when delivering webhooksAccepted values / limits: none, basic_auth, bearer_token, api_key
- usernameType: stringRequired: Conditional
- Required if authentication is basic_authAccepted values / limits: —
- passwordType: stringRequired: Conditional
- Required if authentication is basic_authAccepted values / limits: —
- tokenType: stringRequired: Conditional
- Required if authentication is bearer_tokenAccepted values / limits: —
- keyType: stringRequired: Conditional
- Header name; required if authentication is api_keyAccepted values / limits: —
- valueType: stringRequired: Conditional
- Header value; required if authentication is api_keyAccepted values / limits: —
Response example
See response field definitions for field types and conditional fields.
{
"result": "success",
"status": 200,
"data": {
"id": 189,
"created_at": "2025-04-29T08:48:04Z",
"updated_at": "2025-04-29T08:50:39Z",
"url": "http://test123.com",
"authentication": "none"
}
}