listWebhooksByEnvName

fun AccountActivity.listWebhooksByEnvName(envName: String, vararg options: Option): JsonArrayApiAction<Webhook.Model>

Returns all environments, webhook URLs and their statuses for the authenticating app. Currently, only one webhook URL can be registered to each environment. We mark a URL as invalid if it fails the daily validation check. In order to re-enable the URL, call the update endpoint. Alternatively, this endpoint can be used with an environment name to only return webhook URLS for the given environment: GET account_activity/all/:env_name/webhooks (see second example)

Twitter API reference

Receiver

AccountActivity endpoint instance.

Return

JsonObjectApiAction for Webhook.List model.

Parameters

envName

Environment name.

options

Optional. Custom parameters of this request.