メインコンテンツへスキップ
POST
サブスクリプションを作成

承認

Authorization
string
header
必須

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

Scopes

dm.read

Read all your Direct Messages.

dm.write

Send and manage your Direct Messages.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

パスパラメータ

webhook_id
string
必須

サブスクリプションを照会するウェブフック ID。 この Webhook 構成の一意の識別子。

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

"1146654567674912769"

ボディ

application/json

The body is of type object.

レスポンス

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

data
object
errors
object[]
Minimum array length: 1

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