Create a webhook URL Beta
This endpoint is in beta. Its request and response may change.
Creates the webhook URL the app sends this connection's events to. Register the URL in your app's settings at the provider, then set the signing secret. Only a connection whose app has a webhook trigger can have one. If the connection already has a URL, it's returned unchanged, so retrying is safe. Keep the URL private.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
connection_idstringrequiredscalekit_client.actions.triggers.create_ingress_endpoint
Create a webhook URL, or return the existing one.
scalekit_client.actions.triggers.create_ingress_endpoint( connection_id: str, connected_account_id: str | None = None,) -> TriggerIngressEndpointParameters
connection_idstrrequiredconn_...).connected_account_idstr | Noneca_...), for a trigger whose AvailableTrigger.ingress_per_account is True. Leave it out to act on the connection's URL. The server answers an account that is not on this connection as not found.Returns TriggerIngressEndpoint: The URL to paste into the provider's app configuration.
From scalekit-sdk-python 2.26.0.
Response 200
connection_idstringidstringmasked_signing_secretstringprevious_signing_secret_expires_atstringrotation_in_progressbooleansigning_secret_configuredbooleansigning_secret_rotation_idstringurlstringErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request, nothing created - connection_id is not a valid connection ID; the connection's provider publishes no webhook trigger, so it has no use for a webhook URL (error_code TRIGGER_INGRESS_NOT_APPLICABLE); or the provider's webhook trigger definitions are temporarily unavailable (error_code TRIGGER_INGRESS_DEFINITIONS_UNAVAILABLE)404Not found - the connection does not exist in this environment, or Triggers isn't turned on for your environment500Internal error - the webhook URL could not be created or read back; retry the request