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/rotate-secret' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"secret": "example",
"webhook": {
"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
}
}
}
Replaces the signing secret and returns the new one — the only time it is shown
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5/rotate-secret' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"secret": "example",
"webhook": {
"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
}
}
}
POST /openapi/memorylake/admin/v1/webhooks/{webhook_id}/rotate-secret
webhook:managecurl -X POST 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5/rotate-secret' \
-H 'Authorization: Bearer sk_xxxxxx'
Show Webhook With Secret object
Show Webhook object
enabled, disabled, auto_disabled.{
"success": true,
"message": "Operation completed successfully",
"data": {
"secret": "example",
"webhook": {
"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
}
}
}
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 |