GET /openapi/memorylake/admin/v1/webhooks/{webhook_id}
Permission required:
webhook:managePath Parameters
string
required
Identifier of the webhook
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5' \
-H 'Authorization: Bearer sk_xxxxxx'
Response
object
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
{
"success": true,
"message": "Operation completed successfully",
"data": {
"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
}
}
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 |
422 | The body or a parameter failed validation |
429 | Too many requests. Wait for the time in Retry-After |
500 | Server-side error |