Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

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

Headers

idempotency-key
string

A header for idempotency purposes

Path Parameters

targetEnvironmentId
string
required

Target environment ID (MongoDB ObjectId) to publish resources to

Body

application/json

Publish request configuration

sourceEnvironmentId
string

Source environment ID to sync from. Defaults to the Development environment if not provided.

Example:

"507f1f77bcf86cd799439011"

dryRun
boolean
default:false

Perform a dry run without making actual changes

resources
object[]

Array of specific resources to publish. If not provided, all resources will be published.

Response

OK

results
object[]
required

Sync results by resource type

summary
object
required

Summary of the sync operation