Get recent logs for a hook
GET
/api/hooks/{id}/recent-logs
Get recent logs that match the given query for the specified hook with pagination.
Path parameters
-
id string Required
The unique identifier of the hook.
GET /api/hooks/{id}/recent-logs
curl \
-X GET https://[tenant_id].logto.app/api/hooks/{id}/recent-logs
Response examples (200)
[
{
"id": "string",
"key": "string",
"payload": {
"key": "string",
"result": "Success",
"error": {
"key": null
},
"ip": "string",
"userAgent": "string",
"userId": "string",
"applicationId": "string",
"sessionId": "string"
},
"createdAt": 42.0
}
]