Skip to main content
POST
Create X activity subscription

Authorizations

Authorization
string
header
required

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

Body

application/json
event_type
enum<string>
required

Activity event type in dot notation. chat.conversation_join is a deprecated alias of chat.conversation.join; responses always use the canonical name.

Available options:
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,
profile.update.handle,
news.new,
follow.follow,
follow.unfollow,
spaces.start,
spaces.end,
broadcast.chat,
chat.received,
chat.sent,
chat.conversation.join,
chat.conversation_join,
chat.conversation.member_added,
chat.conversation.member_removed,
chat.conversation.admin_added,
chat.conversation.admin_removed,
chat.update.group_name,
chat.update.restrictions,
dm.sent,
dm.received,
dm.indicate_typing,
dm.read,
post.create,
post.delete,
post.mention.create,
post.reply.create,
post.quote.create,
post.repost.create,
like.create,
mute.mute,
mute.unmute,
block.block,
block.unblock
filter
object
required

Subscription filter.

tag
string

Optional caller-defined tag.

Required string length: 1 - 200
webhook_id
string

Webhook to deliver the subscription events to.

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

Response

The request has succeeded.

data
object
errors
object[]