Skip to main content
GET
FIXED · campaign MUST Resume covers only unattempted work in the existing running launch, and neither resume nor reuse replays completed work.
reuse_campaign_id replaces settings and recipients atomically only on an owned, never-launched voice draft or scheduled campaign. A launch claim prevents replacement. SMS creation always generates a fresh ID, even if the request forwards this field. Omit it for SMS.
NOT OFFERED → do this instead · campaign A launched or finished campaign cannot run again. For another run create a campaign with a fresh ID, selected recipients and reviewed settings. The dashboard’s Use again button follows the same rule for voice: it edits a campaign that never launched, otherwise it opens a new campaign filled with the original settings and recipients for review before launch. SMS campaigns have no Use again button. YOU CAN CHANGE · campaign Use schedule_type=schedule, scheduled_date (YYYY-MM-DD), timezone, window_days and optional paired window_start_minutes/window_end_minutes. UTC date checks, local windows and capacity apply. SCOPE · campaign DELETE /v1/calls/batch/{id} deletes a voice campaign. Voice and SMS have separate cancel routes. Cancel stops future work. Running attempts may finish. For one owned sender, send business_number (encode + as %2B) on GET /v1/campaigns or GET /v1/sms/campaigns. Omit for account scope. Keep the same number and status through SMS cursors. Restart paging if either changes. Voice include_totals=true covers returned campaigns only (default 50, max 200). Pickup rate = answered attempts / all attempts, including failed starts. Answered means over five seconds with no detected voicemail. Sum counts before dividing. Zero attempts means no rate. SMS delivery rate = delivered / (delivered + failed). Read the compact AI rules Read the saved schedule, progress and current wider-hours choice for one voice campaign.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • This read returns the same campaign fields as the list, without recipients.
  • Wider-hours confirmation is checked against the current saved schedule.
  • An unavailable result is an error, not an empty campaign or a false confirmation.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential. Owner, Admin and Member may read their account’s campaign in the signed-in dashboard. The public endpoint uses the existing API-key authentication and account scope.

Request fields

Do not send a request body. This endpoint has no pagination or recipient query fields.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false. The response sends Cache-Control: no-store. Keep null values as null. allow_wider_hours is true only when the current saved hours and days have matching confirmation evidence. Missing or outdated evidence means false; a failed evidence read returns 503. Internal policy identifiers and account credentials are excluded.

Example request

These examples use HTTP directly. The SDK/CLI/MCP clients provide the campaign list; they do not add a dedicated detail method. Set NIXFLEX_API_KEY privately and NXF_CAMPAIGN_ID to an owned campaign. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1.

Example response

Illustrative 200 OK response with all campaign fields. Counters describe saved progress and do not guarantee that every recipient was reached.

Errors

Failures use the standard error envelope. Preserve the response status and code.

Retry and idempotency

This request is read-only. Retry transient connection or server errors with bounded backoff. Do not turn 503 into an empty campaign, a false wider-hours choice or successful deletion. A later read can return newer progress. Respect Cache-Control: no-store.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

id
string
required

Exact owned campaign identifier. Invalid, missing, foreign and deleted IDs share a 404.

Required string length: 1 - 200

Response

Owned campaign detail.

campaign
object
required