Skip to main content
patch/v2/contexts/{type}/{id}
Request example
Response
patch/v2/contexts/{type}/{id}

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

idstringrequired#
Context ID
typestringrequired#
Context type

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
dataobjectrequired#
Custom data to associate with this context. Replaces existing data.
Example:
bridgeUrlstring#
Optional bridge URL override for agent connect. When an inbound agent turn resolves this context, its bridge call is routed here instead of the agent default bridge URL. Must be a publicly reachable URL. Pass null to clear an existing override.

Example:"https://tenant-acme.example.com/api/novu"

Responses

application/json
OK
typestringrequired#
Context type (e.g., tenant, app, workspace)
idstringrequired#
Unique identifier for this context
dataobjectrequired#
Custom data associated with this context
bridgeUrlstring#
Bridge URL override for agent connect, if configured on this context
createdAtstringrequired#
Creation timestamp
updatedAtstringrequired#
Last update timestamp