Campaigns
Get campaign stats
A campaign's delivery and spend.
id*stringA UUID; anything else is 400 invalid_id.
Format
uuidX-Request-Id?stringYour id for this request; it becomes the request_id of any error. Without it the server makes one.
curl -X GET 'https://v3.ghala.io/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/stats'{ "recipients": 0, "sent": 0, "delivered": 0, "failed": 0, "pending": 0, "delivery_rate": 0, "spend_minor": 0}Schedule campaign run POST
Schedule a run for later. The run waits to be launched.
Launch campaign POST
Queue a run. Queues the run named by `run_id`, else the earliest one waiting, else a new one for now. Runs the pre-flight first and refuses with its reason. Nothing is sent or charged yet: the worker prices and sends the run when it comes due.