webhooks

Create a new webhook for a specific project

post/api/v1/webhooks/projects/{project_id}/

Request

  • Base URL
    https://api.mem0.ai
  • URL
    https://api.mem0.ai/api/v1/webhooks/projects/{project_id}/
  • Auth
    API key in header Authorization

Path parameters

project_idstring required

Unique identifier of the project.

Request body

namestring required

Name of the webhook

urlstring required

URL endpoint for the webhook.

event_typesstring[] required

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

is_activeboolean

Whether the webhook is active

project_idstring

Unique identifier of the project.

Response

Webhook created successfully

webhook_idstring
namestring
urlstring
event_typesstring[]
ownerstring

Username of the webhook's owner.

is_activeboolean
projectstring
created_atstring date-time
updated_atstring date-time

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      removed the enum value memory:add of the request property /

    • breaking

      removed the enum value memory:categorize of the request property /

    • breaking

      removed the enum value memory:delete of the request property /

    • breaking

      removed the enum value memory:update of the request property /

    • warning

      removed the optional property from the response with the status

    • info

      added the new ingest_job_cancelled enum value to the request property /

    • info

      added the new ingest_job_completed enum value to the request property /

    • info

      added the new ingest_job_failed enum value to the request property /

    • info

      added the new ingest_job_partially_completed enum value to the request property /

    • info

      added the new memory_add enum value to the request property /

    • info

      added the new memory_categorize enum value to the request property /

    • info

      added the new memory_delete enum value to the request property /

    • info

      added the new memory_update enum value to the request property /

    • info

      added the optional property to the response with the status