register Webhook
fun AccountActivity.registerWebhook( envName: String, url: String, vararg options: Option): JsonObjectApiAction<Webhook.Model>
Content copied to clipboard
Registers a webhook URL for all event types. The URL will be validated via CRC request before saving. In case the validation failed, returns comprehensive error message to the requester.
Receiver
AccountActivity endpoint instance.
Return
JsonObjectApiAction for Webhook.Model model.
Parameters
env Name
Environment name.
url
Encoded URL for the callback endpoint.
options
Optional. Custom parameters of this request.