Skip to main content
POST
/
2
/
tweets
/
search
/
webhooks
/
{webhook_id}
Create stream link
curl --request POST \
  --url https://api.x.com/2/tweets/search/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "provisioned": true
  },
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

webhook_id
string
required
Example:

Query Parameters

tweet.fields
string
expansions
string
media.fields
string
poll.fields
string
user.fields
string
place.fields
string

Response

data
object
errors
object[]
Minimum length: 1