Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Path Parameters

project_id
string
required

Unique identifier of the project.

Body

application/json
name
string
required

Name of the webhook

url
string
required

URL endpoint for the webhook.

event_types
enum<string>[]
required

List of event types to subscribe to. Required: omitting this field does not fall back to a usable default.

Available options:
memory_add,
memory_update,
memory_delete,
memory_categorize,
ingest_job_completed,
ingest_job_partially_completed,
ingest_job_failed,
ingest_job_cancelled
is_active
boolean

Whether the webhook is active

project_id
string

Unique identifier of the project.

Response

Webhook created successfully

webhook_id
string
name
string
url
string
event_types
string[]
owner
string

Username of the webhook's owner.

is_active
boolean
project
string
created_at
string<date-time>
updated_at
string<date-time>