campaign_name — must be unique within the organizationorg_unit_id — must reference an existing, active organization unitstart_date — campaign start date/time (ISO 8601 format)timezone — IANA timezone (e.g., "America/New_York")owner_user_id — user ID who owns this campaigncampaign_spend — campaign budget amountconversion_value — target conversion valuecampaign_spend_frequency — "one_time" or "monthly"end_date — campaign end date/time (ISO 8601 format). Use null or "never" for campaigns with no end dateexternal_id — your own external/CRM identifierstatus — defaults to "active" (options: active, inactive, deleted, suspended, referral)referral_pnumber — referral phone numberstart_date cannot be before today (day-only check: same day with past time is allowed)end_date must be >= start_datestart_date time is in the future → status automatically set to INACTIVE (campaign will auto-activate via scheduler)end_date time has already passed → status automatically set to INACTIVEstatus: "inactive" to create campaigns with past end dates (for historical tracking)curl --location 'https://platform-api.convirza.com/v3/campaigns' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"campaign_name": "Summer Sale 2026",
"campaign_ext_id": 12345,
"status": "active",
"start_date": "2026-06-01T09:00:00",
"end_date": "2026-08-31T17:00:00",
"timezone": "America/New_York",
"owner_user_id": 101,
"org_unit_id": 1001,
"campaign_spend": 5000,
"conversion_value": 150,
"campaign_spend_frequency": "one-time",
"referral_pnumber": "1234567890"
}'{
"code": 200,
"message": "Success",
"data": {
"campaign_id": 1,
"campaign_name": "Summer Sale 2026",
"external_id": 12345,
"status": "active",
"start_date": "2026-06-01T09:00:00-04:00",
"end_date": "2026-08-31T17:00:00-04:00",
"timezone": "America/New_York",
"owner_user_id": 101,
"org_unit_id": 1001,
"referral_pnumber": "1234567890",
"campaign_spend": 5000,
"conversion_value": 150,
"campaign_spend_frequency": "one_time",
"created_at": "2026-01-15T15:30:00.000Z",
"modified_at": "2026-03-20T18:45:00.000Z"
},
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-01-20T12:34:56.789Z"
}