subscribe

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

Subscribes the provided application to all events for the provided environment for all message types. After activation, all events for the requesting user will be sent to the application’s webhook via POST request. Subscriptions are limited to a maximum of 15 unique users per application in the free (sandbox) tier.

Twitter API reference

Receiver

AccountActivity endpoint instance.

Return

EmptyApiAction.

Parameters

envName

Environment name.

options

Optional. Custom parameters of this request.