Nudgescribe API Reference
APIs
API types
API types
  • Authentication
  • Content
  • Campaign
APIs
API types
API types
  • Authentication
  • Content
  • Campaign
  1. Campaign Reruns
  • Nudgescribe API
  • Authentication
    • Authentication
    • Authenticate
      POST
    • Re-Authenticate
      GET
  • Content
    • Customers
      • Customer Management
      • Upload and Validate Customer Data
      • Get pages
      • Get Customers
      • Delete Customers
    • Customer Groups
      • Customer Groups
      • Create Customer Group
      • Get Customer Groups
      • Update Customer Group
      • Delete Customer Group
    • Customer Profile Fields
      • Customer Profile Fields
      • Create a Custom Profile Field
      • Get Customer Profile Fields for a Workspace
      • Update Custom Fields
      • Delete Custom Fields
  • Campaigns
    • Campaign Messages
      • Campaign Messages
      • Get All Accounts Campaigns
      • Publish Messages to Secure Storage
      • Get Campaign Messages Pages
      • Retrieve Published Messages
    • Campaign Reruns
      • Campaign Reruns
      • Get Campaign Rerun History
        POST
      • Get Run Messages
        POST
      • Initiate Campaign Rerun
        POST
APIs
API types
API types
  • Authentication
  • Content
  • Campaign
APIs
API types
API types
  • Authentication
  • Content
  • Campaign
  1. Campaign Reruns

Initiate Campaign Rerun

Testing
POST
https://client-api.nudgescribe.com/v1/campaign/rerun/initiate
CampaignInitiateRerunPublished
Initiates a new campaign run against a different customer group in a single atomic operation. This endpoint combines segment preview, run record creation, campaign state update, previous-run message archival, and async processing job queuing — all in one call.
Prerequisites:
1.
The campaign must have a status of Published
2.
All messages in the current run must be in Published status before a rerun can be initiated
The endpoint automatically archives all messages from the previous run. Orphaned segment messages (those no longer relevant to the new customer group) are also archived during async processing.
Enables external integrations to fully automate the campaign refresh cycle — updating the customer group and triggering message generation without any manual steps in the platform.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://client-api.nudgescribe.com/v1/campaign/rerun/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "campaign_id": "your-campaign-uuid",
    "new_customer_group_id": "your-new-customer-group-uuid"
}'
Response Response Example
{
    "success": true,
    "rerun_id": "your-campaign-rerun-uuid",
    "run_number": 3,
    "campaign_status": "Ready for review",
    "job_uid": "your-job-uuid",
    "archived_count": 10,
    "comparison": {
        "matched_count": 8,
        "new_count": 4,
        "orphaned_count": 2
    },
    "message": "Campaign rerun initiated successfully"
}
Modified at 2026-03-09 10:43:42
Previous
Get Run Messages
Built with