Retrieve a context
Retrieve a specific context by its type and id. **type** and **id** are required fields, if the context does not exist, it returns the 404 response
Retrieve a specific context by its type and id. type and id are required fields, if the context does not exist, it returns the 404 response
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Path Parameters
idRequiredstringContext ID
typeRequiredstringContext type
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
typeRequiredstringContext type (e.g., tenant, app, workspace)
idRequiredstringUnique identifier for this context
dataRequiredobjectCustom data associated with this context
createdAtRequiredstringCreation timestamp
updatedAtRequiredstringLast update timestamp
Create a context POST
Create a new context with the specified type, id, and data. Returns 409 if context already exists. **type** and **id** are required fields, **data** is optional, if the context already exists, it returns the 409 response
Update a context PATCH
Update the data of an existing context. **type** and **id** are required fields, **data** is required. Only the data field is updated, the rest of the context is not affected. If the context does not exist, it returns the 404 response