Webhooks V2
Authorizations
Responses
200
List of V2 webhook subscriptions
idinteger · int64Optional
callbackUrlstringOptional
activebooleanOptional
callbackAuthTypestringOptionalExample:
The authentication type configured for this subscription. Credential values are never returned.
BASICcreatedAtstring · date-timeOptional
updatedAtstring · date-timeOptional
401
Unauthorized
get/v2/webhooks
GET /v2/webhooks HTTP/1.1
Host: connect2.tsanet.org
Accept: */*
[
{
"id": 1,
"callbackUrl": "text",
"eventTypes": [
"org.tsanet.connect.collaboration-request.created"
],
"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
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/v2/webhooks
POST /v2/webhooks HTTP/1.1
Host: connect2.tsanet.org
Content-Type: application/json
Accept: */*
Content-Length: 302
{
"callbackUrl": "https://api.example.com/webhooks/tsanet",
"eventTypes": [
"org.tsanet.connect.collaboration-request.created",
"org.tsanet.connect.collaboration-request.note.created"
],
"callbackAuth": {
"type": "NONE",
"username": "text",
"password": "text",
"token": "text",
"headerName": "text",
"headerValue": "text"
}
}{
"id": 1,
"callbackUrl": "text",
"eventTypes": [
"org.tsanet.connect.collaboration-request.created"
],
"active": true,
"secret": "text",
"callbackAuthType": "BASIC",
"createdAt": "2026-01-01T00:00:00.000Z"
}Last updated