Webhooks
AuthorizationBearer <token>API Key access
organizationId*stringX-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
App Portal access generated successfully
application/json- response
token*stringThe authentication token for the Svix consumer app portal
url*stringThe URL to the webhook app portal
curl -X POST 'http://localhost:3000/webhooks/organizations/string/app-portal-access'{ "url": "https://app.svix.com/app_1234567890", "token": "appsk_..."}AuthorizationBearer <token>API Key access
organizationId*stringX-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
Webhook initialization status
application/json- response
organizationId*stringOrganization ID
svixApplicationId*|The ID of the Svix application
lastError*|The error reason for the last initialization attempt
retryCount*numberThe number of times the initialization has been attempted
createdAt*stringWhen the webhook initialization was created
updatedAt*stringWhen the webhook initialization was last updated
curl -X GET 'http://localhost:3000/webhooks/organizations/string/initialization-status'{ "organizationId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2023-01-01T00:00:00.000Z", "lastError": "Failed to create Svix application", "retryCount": 3, "svixApplicationId": "app_1234567890", "updatedAt": "2023-01-01T00:00:00.000Z"}AuthorizationBearer <token>API Key access
organizationId*stringOrganization ID
X-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
Webhooks initialized successfully
application/json- response
organizationId*stringOrganization ID
svixApplicationId*|The ID of the Svix application
lastError*|The error reason for the last initialization attempt
retryCount*numberThe number of times the initialization has been attempted
createdAt*stringWhen the webhook initialization was created
updatedAt*stringWhen the webhook initialization was last updated
curl -X POST 'http://localhost:3000/webhooks/organizations/string/initialize'{ "organizationId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2023-01-01T00:00:00.000Z", "lastError": "Failed to create Svix application", "retryCount": 3, "svixApplicationId": "app_1234567890", "updatedAt": "2023-01-01T00:00:00.000Z"}AuthorizationBearer <token>API Key access
organizationId*stringX-Daytona-Organization-ID?stringUse with JWT to specify the organization ID
Endpoint flag refreshed
curl -X POST 'http://localhost:3000/webhooks/organizations/string/refresh-endpoints'