Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Promotions API

Last updated . Documentation for the current release. Ask in the product.

11 operations. Back to the API overview. Examples use synthetic data.

Promotion package

GET /admin/v1/promotion/package

Needs the permission: config:history.

Response 200

Response fields of Promotion package
FieldTypePresenceDescription
config_versionintegeroptional-
entitiesarray of object (ConfigcodeEntity)optional-
entities.[]documentanyoptional-
entities.[]idstringoptional-
entities.[]kindstringoptional-
environmentstringoptional-
exported_atstring (date-time)optional-
formatstringoptional-
redactedarray of stringoptionalRedacted lists "kind/id path" of inline credentials the export replaced; such a package cannot be promoted until they are references.
sourcestringoptional-
Example response (synthetic data)
{
  "config_version": 1,
  "entities": [
    {
      "document": {},
      "id": "example-id",
      "kind": "example"
    }
  ],
  "environment": "example",
  "exported_at": "2026-01-15T14:30:00Z",
  "format": "example",
  "redacted": [
    "example"
  ],
  "source": "example"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotion/package"

Get promotion settings

GET /admin/v1/promotion/settings

Needs the permission: config:history.

Response 200

Response fields of Get promotion settings
FieldTypePresenceDescription
source_environmentanyoptional-
target_environmentanyoptional-
variablesanyoptional-
versionintegeroptional-
Example response (synthetic data)
{
  "source_environment": {},
  "target_environment": {},
  "variables": {},
  "version": 1
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotion/settings"

Put promotion settings

PUT /admin/v1/promotion/settings

Needs the permission: config:write.

Request body

Request body of Put promotion settings
FieldTypePresenceDescription
reasonstringoptional-
variablesarray of object (PromoteVariable)optional-
variables.[]namestringoptional-
variables.[]notestringoptional-
variables.[]productionstringoptional-
variables.[]teststringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "reason": "Example text",
  "variables": [
    {
      "name": "example-name",
      "note": "example",
      "production": "example",
      "test": "example"
    }
  ],
  "version": 1
}

Response 200

Response fields of Put promotion settings
FieldTypePresenceDescription
variablesanyoptional-
versionintegeroptional-
Example response (synthetic data)
{
  "variables": {},
  "version": 1
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request PUT \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"reason":"Example text","variables":[{"name":"example-name","note":"example","production":"example","test":"example"}],"version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotion/settings"

List promotions

GET /admin/v1/promotions

Needs the permission: config:history.

Response 200

Response fields of List promotions
FieldTypePresenceDescription
promotionsanyoptional-
Example response (synthetic data)
{
  "promotions": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions"

Create promotion

POST /admin/v1/promotions

A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Request body

Request body of Create promotion
FieldTypePresenceDescription
evidencearray of object (PromoteEvidence)optional-
evidence.[]atstring (date-time)optional-
evidence.[]detailstringoptional-
evidence.[]kindstringoptional-
evidence.[]notestringoptionalNote says what was exercised (required for EvTestEnvironment).
evidence.[]refstringoptionalRef is the parallel run ID (EvParallelRun).
evidence.[]verifiedbooleanoptionalVerified and Detail are filled by the server: whether Velacent Bridge checked the evidence itself, and what it found.
notestringoptional-
packageanyoptional-
selectarray of stringoptional-
Example request body (synthetic data)
{
  "evidence": [
    {
      "at": "2026-01-15T14:30:00Z",
      "detail": "example",
      "kind": "example",
      "note": "example",
      "ref": "example",
      "verified": true
    }
  ],
  "note": "example",
  "package": {},
  "select": [
    "example"
  ]
}

Response 201

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"evidence":[{"at":"2026-01-15T14:30:00Z","detail":"example","kind":"example","note":"example","ref":"example","verified":true}],"note":"example","package":{},"select":["example"]}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions"

Get promotion

GET /admin/v1/promotions/{id}

Needs the permission: config:history.

Parameters

Parameters of Get promotion
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id"

Apply promotion

POST /admin/v1/promotions/{id}/apply

A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Parameters

Parameters of Apply promotion
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Apply promotion
FieldTypePresenceDescription
acknowledge_warningsbooleanoptional-
plan_sha256stringoptional-
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "acknowledge_warnings": true,
  "plan_sha256": "example",
  "reason": "Example text",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"acknowledge_warnings":true,"plan_sha256":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id/apply"

Decide promotion

POST /admin/v1/promotions/{id}/approve

A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Parameters

Parameters of Decide promotion
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Decide promotion
FieldTypePresenceDescription
acknowledge_warningsbooleanoptional-
plan_sha256stringoptional-
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "acknowledge_warnings": true,
  "plan_sha256": "example",
  "reason": "Example text",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"acknowledge_warnings":true,"plan_sha256":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id/approve"

Cancel promotion

POST /admin/v1/promotions/{id}/cancel

Needs the permission: config:write.

Parameters

Parameters of Cancel promotion
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Cancel promotion
FieldTypePresenceDescription
acknowledge_warningsbooleanoptional-
plan_sha256stringoptional-
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "acknowledge_warnings": true,
  "plan_sha256": "example",
  "reason": "Example text",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"acknowledge_warnings":true,"plan_sha256":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id/cancel"

Decide promotion

POST /admin/v1/promotions/{id}/reject

A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Parameters

Parameters of Decide promotion
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Decide promotion
FieldTypePresenceDescription
acknowledge_warningsbooleanoptional-
plan_sha256stringoptional-
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "acknowledge_warnings": true,
  "plan_sha256": "example",
  "reason": "Example text",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"acknowledge_warnings":true,"plan_sha256":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id/reject"

Rollback promotion

POST /admin/v1/promotions/{id}/rollback

A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:rollback.

Parameters

Parameters of Rollback promotion
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Rollback promotion
FieldTypePresenceDescription
acknowledge_warningsbooleanoptional-
plan_sha256stringoptional-
reasonstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "acknowledge_warnings": true,
  "plan_sha256": "example",
  "reason": "Example text",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"acknowledge_warnings":true,"plan_sha256":"example","reason":"Example text","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/promotions/example-id/rollback"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.