Path parameters
-
id string Required
The unique identifier of the hook.
POST /api/hooks/{id}/test
curl \
-X POST https://[tenant_id].logto.app/api/hooks/{id}/test \
-H "Content-Type: application/json" \
-d '{"events":["PostRegister"],"config":{"url":"string","headers":{"key":"string"},"retries":42.0}}'
Request example
{
"events": [
"PostRegister"
],
"config": {
"url": "string",
"headers": {
"key": "string"
},
"retries": 42.0
}
}