Campaigns
Attach campaign audiences
Add groups to a campaign's audience.
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.
application/json- body
group_ids*array<>Items
1 <= itemscurl -X POST 'https://v3.ghala.io/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/audiences' \ -H 'Content-Type: application/json' \ -d '{ "group_ids": [ "5aef9104-43e7-46ed-987c-2d3050996d77" ]}'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "contact_count": 0, "created_at": "2019-08-24T14:15:22Z" } ]}Replace campaign steps PUT
Replace a campaign's steps. Every step in order. A WhatsApp step is a template the campaign's number holds as approved, with each body placeholder mapped; an SMS step is text. Refused while a run is sending or paused.
Detach campaign audience DELETE
Remove a group from a campaign's audience.