Create Hook
Request Body
Defines hook's area of usage
Available Values: sms
link-account
pre-register
post-register
pre-login
post-login
pre-mfa
pre-access-token
pre-id-token
pre-fc-import
post-fc-import
pre-fc-export
ciba-auth-prompt
ciba-validate-r-c
ciba-validate-u-c
Response Body Schema
contentstringRequired
Your hook code written in javascript.
created_atstringRequired
Creation date in the ISO 8601 format according to universal time.
descriptionstringRequired
Additional information for the hook
enabledbooleanRequired
Whether the hook is enabled or not.
idstringRequired
Unique identifier of entity
namestringRequired
Hook name
orderintegerRequired
Execution order of the hook. It applies to hook types. Lower ordered hooks executed first.
typestringRequired
Defines hook's area of usage
Available Values: sms
link-account
pre-register
post-register
pre-login
post-login
pre-mfa
pre-access-token
pre-id-token
pre-fc-import
post-fc-import
pre-fc-export
ciba-auth-prompt
ciba-validate-r-c
ciba-validate-u-c
updated_atstring
Update date in the ISO 8601 format according to universal time.