मुख्य सामग्री पर जाएं
POST
/
2
/
tweets
/
search
/
webhooks
/
{webhook_id}
स्ट्रीम लिंक बनाएँ
curl --request POST \
  --url https://api.x.com/2/tweets/search/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "provisioned": true
  },
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://generaltranslation.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

प्राधिकरण

Authorization
string
header
आवश्यक

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

पथ पैरामीटर

webhook_id
string
आवश्यक

आपके FilteredStream ruleset से लिंक करने के लिए webhook ID। इस webhook कॉन्फ़िगरेशन का अद्वितीय पहचानकर्ता।

Pattern: ^[0-9]{1,19}$
उदाहरण:

"1146654567674912769"

क्वेरी पैरामीटर

tweet.fields
string

दिखाने के लिए Tweet फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

expansions
string

विस्तार करने के लिए फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

media.fields
string

दिखाने के लिए Media फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

poll.fields
string

दिखाने के लिए Poll फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

user.fields
string

दिखाने के लिए User फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

place.fields
string

दिखाने के लिए Place फ़ील्ड्स की अल्पविराम से अलग की गई सूची।

प्रतिक्रिया

अनुरोध सफल रहा।

data
object
errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) में परिभाषित एक HTTP Problem Details ऑब्जेक्ट।