Permission required:
webhook:managePath Parameters
string
required
Identifier of the webhook
Response
object
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5/test' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"attempts": 1,
"created_at": 1760000000,
"delivery_id": 1,
"event_id": "8085a81b91bad7009b3fd09854461edf",
"event_type": "example",
"status": "pending",
"duration_ms": 1,
"error_kind": "timeout",
"last_attempt_at": 1760000000,
"next_attempt_at": 1760000000,
"status_code": 1
}
}
Queues a webhook.test event to the endpoint, also while the webhook is disabled
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5/test' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"attempts": 1,
"created_at": 1760000000,
"delivery_id": 1,
"event_id": "8085a81b91bad7009b3fd09854461edf",
"event_type": "example",
"status": "pending",
"duration_ms": 1,
"error_kind": "timeout",
"last_attempt_at": 1760000000,
"next_attempt_at": 1760000000,
"status_code": 1
}
}
POST /openapi/memorylake/admin/v1/webhooks/{webhook_id}/test
webhook:managecurl -X POST 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5/test' \
-H 'Authorization: Bearer sk_xxxxxx'
Show Webhook Delivery object
pending, retrying, succeeded, failed, skipped.timeout, connect.{
"success": true,
"message": "Operation completed successfully",
"data": {
"attempts": 1,
"created_at": 1760000000,
"delivery_id": 1,
"event_id": "8085a81b91bad7009b3fd09854461edf",
"event_type": "example",
"status": "pending",
"duration_ms": 1,
"error_kind": "timeout",
"last_attempt_at": 1760000000,
"next_attempt_at": 1760000000,
"status_code": 1
}
}
success: 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 |