Passa al contenuto principale

Ottieni una campagna

GET 

/api/partner-gateway/v1/campaigns/:id

Returns the full details of a single campaign identified by its numeric ID. The response includes the campaign status, sending channel (sendingMode), recipient count (totalDestinations), delivery results (totalSuccess, totalFailed), message content (smsBody for SMS, template IDs for RCS or WhatsApp), the list of associated contactListIds, and any scheduled date. Use this endpoint to inspect a campaign at any stage of its lifecycle: while drafting, after confirmation, during sending, or after completion. The status field is numeric: 0 means draft, 1 means ready/scheduled, 2 means sending in progress, 3 means completed, and 4 means failed. Returns 404 if no campaign exists with the given ID under your account. Returns 401 if the API key is missing or invalid.

Richiesta

Risposte

Campagna recuperata con successo