メインコンテンツへスキップ
GET
Go

承認

Authorization
string
header
必須

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

クエリパラメータ

page
integer

返される結果のページインデックスです。最初のページは 0 です。

必須範囲: x >= 0
per_page
integer

1 ページあたりの結果数です。

必須範囲: 0 <= x <= 100
include_totals
boolean

合計結果数を含むオブジェクト内に結果を返すか(true)、結果の配列を直接返すか(false、デフォルト)を指定します。

enabled
boolean

Hook が有効(true)か無効(false)かで絞り込む省略可能なフィルターです。

fields
string

結果に含めるフィールドのカンマ区切りのリストです。すべてのフィールドを取得するには空のままにします。

triggerId
enum<string>

トリガーに一致する Hooks を取得します トリガーに一致するHookを取得します

利用可能なオプション:
credentials-exchange,
pre-user-registration,
post-user-registration,
post-change-password,
send-phone-message

レスポンス

Hooks を正常に取得しました。

dependencies
object

webtaskサーバーで使用される、このHookの依存関係。

enabled
boolean
デフォルト:true

このHookを実行するか(true)、無視するか(false)を示します。

id
string
デフォルト:00001

この Hook の ID。

name
string
デフォルト:hook

このHookの名前。

script
string
デフォルト:module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };

このHookの実行時に実行されるコード。

triggerId
string

トリガー ID