Integrations
Update integration as primary
Changed onUpdate an integration as primary by its unique key identifier integrationId. This API will set the integration as primary for that channel in the current environment. Primary integration is used to deliver notification for sms and email channels in the workflow. Only integration metadata is returned, credentials field is returned as an empty object.
post/v1/integrations/{integrationId}/set-primary
Request
- Base URLhttps://api.novu.co
- AuthAPI key in header Authorization
Path parameters
integrationIdstring required
Headers
idempotency-keystring
A header for idempotency purposes
Response
OK
Example response
{
"rules": {
"==": [
{
"var": "context.tenant.id"
},
"acme"
]
}
}Changes
- info
added the optional property
/////to the response with the status
- info
- info
added the optional property
to the response with the status - info
response property
conditionsdeprecated
- info