Skip to main content
POST
PHP

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 compare against

Example:

"6615943e7ace93b0540ae377"

Body

application/json

Diff request configuration

sourceEnvironmentId
string

Source environment ID. Only the Development environment is currently supported; defaults to Development if omitted.

Example:

"507f1f77bcf86cd799439011"

Response

OK

sourceEnvironmentId
string
required

Source environment ID

targetEnvironmentId
string
required

Target environment ID

resources
object[]
required

Diff resources by resource type

summary
object
required

Overall summary