Get a connection's webhook URL
Changed onRetrieves the webhook URL a provider sends this connection's events to, and the state of its signing secret. Use this endpoint while setting up a webhook trigger: paste the URL into the provider's app configuration, and check whether a signing secret is set and whether a rotation is in progress. Pass the connection ID in the path. This endpoint never creates a URL; create one first with CreateTriggerIngressEndpoint. The signing secret itself is never returned. Returns the endpoint ID, the URL, whether a signing secret is set, a masked form of the secret showing at most its last four characters, and the rotation state, including signing_secret_rotation_id to pass to ConfirmTriggerSigningSecretRotation.
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the connection, in this environment. Up to 64 characters.
Response
The connection's webhook URL, its masked signing-secret state, and any rotation in progress
Example response
{
"connection_id": "conn_28128748834787840",
"id": "tie_28128748834787840",
"masked_signing_secret": "************************a4f9",
"signing_secret_configured": true,
"url": "https://acme.scalekit.dev/triggers/v1/kq3T9vX2bL8mN4pR7sW1yZ"
}Changes
- info
endpoint added
- info