Get recent logs for a hook
Get recent logs that match the given query for the specified hook with pagination.
Path parameters
-
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 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": "string",
"key": "string",
"payload": {
"key": "string",
"result": "Success",
"error": {},
"ip": "string",
"userAgent": "string",
"userId": "string",
"applicationId": "string",
"sessionId": "string",
"params": {}
},
"createdAt": 42.0
}
]