Campaigns
Get campaign summary
Campaigns counted by status.
period?stringValue in
"today""last_7_days""last_30_days""last_90_days""this_month""last_month""this_year""all_time"since?stringCreated at or after this time; instead of period.
Format
date-timeuntil?stringCreated before this time; instead of period.
Format
date-timechannel?stringKeeps campaigns on that channel.
Value in
"sms""whatsapp"sender_id?stringSent from this sender ID.
Length
length <= 11run_type?stringCampaigns with a run of this type.
Value in
"single""recurring"group_id?stringCampaigns whose audience includes this group.
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/summary'{ "total": 0, "by_status": { "property1": 0, "property2": 0 }}