Tracking Campaign Deadline Extensions via API – Audit Events?

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

Hi everyone,

I’m currently trying to track a metric around how often campaign deadline extensions are requested.

In our setup, we are updating campaign deadlines using the API. However, I’ve noticed that unlike other campaign actions (such as activate, sign-off, or delete), extending the deadline via API does not seem to generate any audit events.

Because of this, I’m struggling to find a reliable way to track how frequently deadline extensions are happening.

Has anyone else encountered this?

  • Is there any way to capture or track deadline extension events?

If you did this using a form and a workflow you could find out how many times that specific form definition was completed. That’s in the audit events.

It would make sense anyway to have it as a form so people could actually request it instead of the admin manually changing the date via API. Or the admin could submit the form. Either way

Hi @sa8173 ,

if you are looking for last modified date, use this PowerShell script , that pulls last modified records, you can include name and other attributes based on your requirements

# CONFIG

$baseUrl = “https://.api.identitynow.com”

$Token = “”

$headers = @{

Authorization = “Bearer $Token”

Accept = “application/json”

}

Write-Host “Fetching campaign templates (name/id/created/modified)…”

$limit = 250

$offset = 0

$all = @()

do {

$url = “$baseUrl/v3/campaign-templates?limit=$limit&offset=$offset&sorters=name”

$page = Invoke-RestMethod -Uri $url -Headers $headers -Method GET

if ($page) {

$all += $page

Write-Host "Fetched $($page.Count) templates (offset=$offset)"

$offset += $limit

}

} while ($page -and $page.Count -eq $limit)

# Export only what you need

$csvPath = “C:\Temp\CampaignTemplates_ModifiedOnly.csv”

$all |

Select-Object id, name, created, modified |

Export-Csv $csvPath -NoTypeInformation

Write-Host “Exported to $csvPath”

Thanks,

Mahesh

You’re referencing modified dates of templates - @ajmerasunny1 is asking about the deadline date of an active campaign changing.