Skip to main content
POST
/
aip
/
webhooks
Register AIP webhook
curl --request POST \
  --url https://api.mnemom.ai/v1/aip/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "callback_url": "<string>",
  "secret": "<string>",
  "events": [
    "<string>"
  ]
}
'
{
  "registration_id": "<string>",
  "agent_id": "<string>",
  "callback_url": "<string>",
  "events": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
agent_id
string
required
callback_url
string<uri>
required
secret
string
required
events
string[]
required

Response

Webhook registered

registration_id
string
agent_id
string
callback_url
string
events
string[]
created_at
string<date-time>