Campaigns
Validate campaign
The pre-flight.
What a launch would cost now and every reason it would be refused, without changing anything. A campaign that would be refused is a 200 with valid false.
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 POST 'https://v3.ghala.io/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/validate'{ "valid": true, "issues": [ { "code": "no_sender_id", "message": "string" } ], "recipients": 0, "parts": 0, "rate_minor_per_part": 0, "free": true, "estimated_cost_minor": 0, "available_minor": 0}