Go
Get a hook
Retrieve a hook by its ID. Accepts a list of fields to include in the result.
GET
Go
Documentation Index
Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the hook to retrieve.
Query Parameters
Comma-separated list of fields to include in the result. Leave empty to retrieve all fields.
Response
Hook successfully retrieved.
Trigger ID
ID of this hook.
Name of this hook.
Whether this hook will be executed (true) or ignored (false).
script
string
default:module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };
Code to be executed when this hook runs.
Dependencies of this hook used by webtask server.