Sign in

Create inline hook

documented

Creates an inline hook.

POST /api/v1/inlineHooksInline Hooksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$okta_domain}}/api/v1/inlineHooks" \
  -X POST \
  -H "Authorization: SSWS {{OKTA_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "{{$name}}", "type": "{{$hook_type}}", "version": "1.0.0", "channel": {"type": "HTTP", "version": "1.0.0", "config": {"uri": "{{$uri}}", "headers": [{"name": "Content-Type","value": "application/json"}], "method": "POST", "authScheme": {"type": "header","key": "Authorization"}}}}'