Webhooks
POST
/webhooks/organizations/{organizationId}/app-portal-accessAuthorizationBearer <token>
API Key access
In: header
Path Parameters
organizationId*string
Header Parameters
X-Daytona-Organization-ID?string
Use with JWT to specify the organization ID
Response Body
application/json
curl -X POST "https://example.com/webhooks/organizations/string/app-portal-access"{ "token": "appsk_...", "url": "https://app.svix.com/app_1234567890"}GET
/webhooks/organizations/{organizationId}/initialization-statusAuthorizationBearer <token>
API Key access
In: header
Path Parameters
organizationId*string
Header Parameters
X-Daytona-Organization-ID?string
Use with JWT to specify the organization ID
Response Body
application/json
curl -X GET "https://example.com/webhooks/organizations/string/initialization-status"{ "organizationId": "123e4567-e89b-12d3-a456-426614174000", "svixApplicationId": "app_1234567890", "lastError": "Failed to create Svix application", "retryCount": 3, "createdAt": "2023-01-01T00:00:00.000Z", "updatedAt": "2023-01-01T00:00:00.000Z"}POST
/webhooks/organizations/{organizationId}/initializeAuthorizationBearer <token>
API Key access
In: header
Path Parameters
organizationId*string
Organization ID
Header Parameters
X-Daytona-Organization-ID?string
Use with JWT to specify the organization ID
Response Body
application/json
curl -X POST "https://example.com/webhooks/organizations/string/initialize"{ "organizationId": "123e4567-e89b-12d3-a456-426614174000", "svixApplicationId": "app_1234567890", "lastError": "Failed to create Svix application", "retryCount": 3, "createdAt": "2023-01-01T00:00:00.000Z", "updatedAt": "2023-01-01T00:00:00.000Z"}POST
/webhooks/organizations/{organizationId}/refresh-endpointsAuthorizationBearer <token>
API Key access
In: header
Path Parameters
organizationId*string
Header Parameters
X-Daytona-Organization-ID?string
Use with JWT to specify the organization ID
Response Body
curl -X POST "https://example.com/webhooks/organizations/string/refresh-endpoints"Empty