Passer au contenu principal
POST
Créer un abonnement

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

dm.read

Read all your Direct Messages.

dm.write

Send and manage your Direct Messages.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

Paramètres de chemin

webhook_id
string
requis

L’id du webhook utilisé pour valider l’abonnement. L’identifiant unique de cette configuration de webhook.

Pattern: ^[0-9]{1,19}$
Exemple:

"1146654567674912769"

Corps

application/json

The body is of type object.

Réponse

La requête a réussi.

data
object
errors
object[]
Minimum array length: 1

Un objet HTTP Problem Details, tel que défini dans la RFC IETF 7807 (https://tools.ietf.org/html/rfc7807).