मुख्य सामग्री पर जाएं
GET
/
2
/
account_activity
/
webhooks
/
{webhook_id}
/
subscriptions
/
all
/
list
सदस्यताएँ प्राप्त करें
curl --request GET \
  --url https://api.x.com/2/account_activity/webhooks/{webhook_id}/subscriptions/all/list \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

प्राधिकरण

Authorization
string
header
आवश्यक

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

पथ पैरामीटर

webhook_id
string
आवश्यक

वह वेबहुक ID जिसके लिए सदस्यताएँ प्राप्त की जानी हैं। इस webhook कॉन्फ़िगरेशन का अद्वितीय पहचानकर्ता।

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

"1146654567674912769"

प्रतिक्रिया

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

data
object

निर्दिष्ट webhook के लिए सक्रिय सदस्यताओं की सूची

errors
object[]
Minimum array length: 1

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