Endpoint
Subscribe to MCP Events
Changed onCreate or refresh an MCP Events subscription.
post/api/v1/app/{app_id}/mcp-events/subscribe
Request
- Base URLhttps://api.eu.svix.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring required
The Application's ID or UID.
Example:unique-identifier
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"channels": [
"project_1337"
],
"delivery": {
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
},
"name": "user.signup"
}Response
Example response
{
"endpointId": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"id": "unique-identifier"
}Changes
- info
endpoint added
- info