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
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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
- info
endpoint added
- info