Campaigns

Get current revision version

Changed on

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Get the current revision version for the given campaign.

Note: The Campaign staging and revisions feature must be enabled for your Application. For more information, see Revise campaigns.

get/v1/applications/{applicationId}/campaigns/{campaignId}/revisions/current

Request

Path parameters

applicationIdinteger required

The ID of the Application. It is displayed in your Talon.One deployment URL.

campaignIdinteger required

The ID of the campaign. It is displayed in your Talon.One deployment URL.

Response

OK

idinteger required

Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints.

activateAtstring date-time

Timestamp when the revision will be activated.

accountIdinteger required

The ID of the account that owns this entity.

applicationIdinteger required

The ID of the Application that owns this entity.

campaignIdinteger required

The ID of the campaign that the revision was created from.

createdstring date-time required

Timestamp when the revision was created.

createdByinteger required

The ID of the user who created this revision.

activatedAtstring date-time

Timestamp when this revision was activated.

activatedByinteger

The ID of the user who activated this revision.

Example response

{
  "id": 6,
  "activateAt": "2026-10-08T09:30:00Z",
  "accountId": 3886,
  "applicationId": 42,
  "campaignId": 18,
  "created": "2026-10-01T08:00:00Z",
  "createdBy": 134,
  "activatedAt": "2026-10-08T09:30:00Z",
  "activatedBy": 334,
  "currentVersion": {
    "id": 6,
    "accountId": 3886,
    "applicationId": 42,
    "campaignId": 18,
    "created": "2026-10-01T08:00:00Z",
    "createdBy": 134,
    "revisionId": 6,
    "name": "Summer promotions",
    "startTime": "2021-07-20T22:00:00Z",
    "endTime": "2021-09-22T22:00:00Z",
    "description": "Campaign for all summer 2021 promotions",
    "activeRulesetId": 5,
    "couponSettings": {
      "validCharacters": [
        "A",
        "B",
        "C",
        "D",
        "E",
        "F",
        "G",
        "H",
        "I",
        "J",
        "K",
        "L",
        "M",
        "N",
        "O",
        "P",
        "Q",
        "R",
        "S",
        "T",
        "U",
        "V",
        "W",
        "X",
        "Y",
        "Z",
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ],
      "couponPattern": "SUMMER-####-####"
    },
    "referralSettings": {
      "validCharacters": [
        "A",
        "B",
        "C",
        "D",
        "E",
        "F",
        "G",
        "H",
        "I",
        "J",
        "K",
        "L",
        "M",
        "N",
        "O",
        "P",
        "Q",
        "R",
        "S",
        "T",
        "U",
        "V",
        "W",
        "X",
        "Y",
        "Z",
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ],
      "couponPattern": "SUMMER-####-####"
    },
    "limits": [
      {
        "action": "createCoupon",
        "limit": 1000,
        "period": "yearly",
        "entities": [
          "Coupon"
        ]
      }
    ],
    "reevaluateOnReturn": true
  }
}

Changes