GET /openapi/memorylake/admin/v1/webhooks
Permission required:
webhook:managecurl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
object
Show Load More Response Webhook object
Show Load More Response Webhook object
array
List of items in the current page
Show Webhook object
Show Webhook object
boolean
true = every event type is sent, including types added in the future; events is then the selection kept for when this is switched off
integer
When the webhook was added, Unix seconds
string
Description; empty when none was given
array
Selected event types (see List Event Types)
string
Last four characters of the current signing secret. The full secret is returned only by Add Webhook and Rotate Signing Secret.
string
auto_disabled = turned off after every delivery failed for 3 days; enable it after fixing the endpoint. One of:
enabled, disabled, auto_disabled.string
Endpoint URL events are sent to
string
Identifier of the webhook
string
Member who added the webhook
integer
Time of the latest attempt, Unix seconds; absent if nothing was sent yet
boolean
Whether the latest delivery succeeded
integer
Until when the previous secret still signs requests after a rotation, Unix seconds; absent outside that window
integer
When the signing secret was last rotated, Unix seconds; absent if never
string
Token to fetch the next page; absent on the last page
integer
Total number of items matching the filter across all pages; omitted when the count is unavailable
{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"all_events": false,
"created_at": 1760000000,
"description": "Example description",
"events": [
"example"
],
"secret_last4": "example",
"status": "enabled",
"url": "https://example.com/url",
"webhook_id": "b5f1a133e89a12f450352f1f50843c42",
"created_by_member_id": "cb17cae3f79d7fd264472475d7d5d2fe",
"last_delivery_at": 1760000000,
"last_delivery_succeeded": false,
"previous_secret_expires_at": 1760000000,
"secret_rotated_at": 1760000000
}
],
"continuation_token": "eyJvZmZzZXQiOjIwfQ",
"total": 1
}
}
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, disabled or expired |
403 | The key is not allowed to do this |
404 | The resource does not exist |
429 | Too many requests. Wait for the time in Retry-After |
500 | Server-side error |