Webhooks V1
Authorizations
Responses
200
List of webhook subscriptions
idinteger · int64Optional
callbackUrlstringOptional
payloadVersionstring · enumOptionalPossible values:
activebooleanOptional
callbackAuthTypestringOptionalExample:
The authentication type configured for this subscription. Credential values are never returned.
BASICcreatedAtstring · date-timeOptional
updatedAtstring · date-timeOptional
401
Unauthorized
get/v1/webhooks
GET /v1/webhooks HTTP/1.1
Host: connect2.tsanet.org
Accept: */*
[
{
"id": 1,
"callbackUrl": "text",
"eventTypes": [
"collaboration-request.created"
],
"payloadVersion": "V1",
"active": true,
"callbackAuthType": "BASIC",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]Authorizations
Body
callbackUrlstring · uriRequiredExample:
The URL to receive webhook events. Must be accessible via HTTPS in production.
https://api.example.com/webhooks/tsanetResponses
200
Webhook subscription created successfully
idinteger · int64Optional
callbackUrlstringOptional
payloadVersionstring · enumOptionalPossible values:
activebooleanOptional
secretstringOptional
HMAC secret for signing webhooks (only returned on creation — use POST /v1/webhooks/{id}/secret to rotate)
callbackAuthTypestringOptionalExample:
The authentication type configured for this subscription. Credential values are never returned.
BASICcreatedAtstring · date-timeOptional
400
Bad request
401
Unauthorized
post/v1/webhooks
POST /v1/webhooks HTTP/1.1
Host: connect2.tsanet.org
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"callbackUrl": "https://api.example.com/webhooks/tsanet",
"eventTypes": [
"collaboration-request.created",
"note.created"
],
"callbackAuth": {
"type": "NONE",
"username": "text",
"password": "text",
"token": "text",
"headerName": "text",
"headerValue": "text"
}
}{
"id": 1,
"callbackUrl": "text",
"eventTypes": [
"collaboration-request.created"
],
"payloadVersion": "V1",
"active": true,
"secret": "text",
"callbackAuthType": "BASIC",
"createdAt": "2026-01-01T00:00:00.000Z"
}Last updated