checkSubscription

fun AccountActivity.checkSubscription(envName: String, vararg options: Option): EmptyApiAction

Provides a way to determine if a webhook configuration is subscribed to the provided user’s events. If the provided user context has an active subscription with provided application, returns 204 OK. If the response code is not 204, then the user does not have an active subscription. See HTTP Response code and error messages below for details.

Twitter API reference

Receiver

AccountActivity endpoint instance.

Return

EmptyApiAction.

Parameters

envName

Environment name.

options

Optional. Custom parameters of this request.