Skip to main content
POST
Crear suscripción de actividad de X

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
event_type
enum<string>
requerido
Opciones disponibles:
profile.update.bio,
profile.update.profile_picture,
profile.update.banner_picture,
profile.update.screenname,
profile.update.geo,
profile.update.url,
profile.update.verified_badge,
profile.update.affiliate_badge,
news.new,
follow.follow,
follow.unfollow,
chat.received,
chat.sent,
ProfileBioUpdate,
ProfilePictureUpdate,
ProfileBannerPictureUpdate,
ProfileScreennameUpdate,
ProfileGeoUpdate,
ProfileUrlUpdate,
ProfileVerifiedBadgeUpdate,
NewsNew,
FollowFollow,
FollowUnfollow
filter
object
requerido

Una suscripción de XAA.

tag
string
Required string length: 1 - 200
webhook_id
string

El identificador único de esta configuración de webhook.

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

"1146654567674912769"

Respuesta

La solicitud se ha completado correctamente.

data
object
errors
object[]
Minimum array length: 1

Un objeto HTTP Problem Details, tal como se define en el IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).

meta
object