Hooks
hooks
Methods
Create a new hook.
Delete a hook.
Retrieve all hooks. Accepts a list of fields to include or exclude in the result.
Example: Authorization: Bearer My Bearer Token
Optional filter on whether a hook is enabled (true) or disabled (false).
Comma-separated list of fields to include in the result. Leave empty to retrieve all fields.
Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
Page index of the results to return. First page is 0.
Number of results per page.
Retrieves hooks that match the trigger
Update an existing hook.
Domain types
Secrets
hooks.secrets
Methods
Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
Retrieve a hook's secrets by the ID of the hook.
Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.