listWebhooks

fun AccountActivity.listWebhooks(vararg options: Option): JsonObjectApiAction<Webhook.List>

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

options

Optional. Custom parameters of this request.


Shorthand property to AccountActivity.listWebhooks.

See also