glamorous-pencil-84842
04/07/2022, 8:07 AMsteep-lamp-91158
ancient-intern-85807
04/07/2022, 10:49 AMfunction(ctx) {
type: 'after_registration',
user_id: ctx.identity.id,
identity: ctx.identity,
flow: ctx.flow,
request: {
url: ctx.request_url,
method: ctx.request_method,
headers: ctx.request_headers,
},
}
you can freely pass the ctx.identity
or other possible variables as well as take a much precise data from those like ctx.identity.id
(don't mind the request
part, I just wanted to see all the possible data that can be passed via webhooks).glamorous-pencil-84842
04/07/2022, 1:56 PM