API reference
Get webhook
GET
https://api.tradesync.com/webhooks/{webhook_id}Return an individual webhook.
Last updated
Path parameters
- webhook_idType: integer
- Webhook id returned by the corresponding list endpoint
Response example
{
"result": "success",
"status": 200,
"data": {
"id": 187,
"created_at": "2025-04-29T08:27:48Z",
"updated_at": "2025-04-29T08:27:48Z",
"url": "https://webhook.site/64e5bcde-bd76-4ad2-9ce0-283d993bb290",
"authentication": "none"
}
}
Response fields
| Field | Type | Description |
|---|---|---|
| id | integer | Resource ID |
| created_at | string | Creation timestamp in UTC |
| updated_at | string | Update timestamp in UTC |
| url | string | Receiving URL |
| authentication | string | none, basic_auth, bearer_token, or api_key |
Authentication fields
Credential fields are included only for the selected authentication type. With none, no credential fields are included.
| Field | Type | Description |
|---|---|---|
| username | string | Included for basic_auth |
| password | string | Included for basic_auth |
| token | string | Included for bearer_token |
| key | string | Included for api_key; header name |
| value | string | Included for api_key; header value |