メインコンテンツへスキップ
GET
/
2
/
account_activity
/
subscriptions
/
count
サブスクリプション数を取得
curl --request GET \
  --url https://api.x.com/2/account_activity/subscriptions/count \
  --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.

レスポンス

リクエストが成功しました。

data
object

全 Webhook にまたがる有効なサブスクリプション数

errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) で定義された HTTP Problem Details オブジェクト。