メインコンテンツへスキップ
POST
着信拒否する

承認

Authorization
string
header
必須

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

ヘッダー

X-Device-Id
string

マルチデバイスサポート用のデバイス識別子 複数のデバイスが登録されている場合に必要です。 1つのデバイスのみ登録されている場合は、デフォルトとして使用されます。 device_idクエリパラメータとして提供することもできます。

例:

"my-device-id"

ボディ

application/json
caller_jid
string
必須

JID of the caller (from webhook payload.from)

例:

"628987654321@s.whatsapp.net"

call_id
string
必須

一意の呼び出し識別子 (webhook payload.call_id から)

例:

"ABC123DEF456"

レスポンス

通話が正常に拒否されました

code
string
例:

"SUCCESS"

message
string
例:

"Success"

results
string
例:

null