Contexts
Create a context
Changed onCreate 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
post/v2/contexts
Request
- Base URLhttps://api.novu.co
- AuthAPI key in header Authorization
Headers
idempotency-keystring
A header for idempotency purposes
Request body
Example request
{
"type": "tenant",
"id": "org-acme",
"data": {
"tenantName": "Acme Corp",
"region": "us-east-1",
"settings": {
"theme": "dark"
}
},
"bridgeUrl": "https://tenant-acme.example.com/api/novu"
}Response
Created
Changes
- breaking
the
request property format changed from no format touri
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info