Campaigns

Get campaign summary

Campaigns counted by status.

Query Parameters

period?string
Value in"today""last_7_days""last_30_days""last_90_days""this_month""last_month""this_year""all_time"
since?string

Created at or after this time; instead of period.

Formatdate-time
until?string

Created before this time; instead of period.

Formatdate-time
channel?string

Keeps campaigns on that channel.

Value in"sms""whatsapp"
sender_id?string

Sent from this sender ID.

Lengthlength <= 11
run_type?string

Campaigns with a run of this type.

Value in"single""recurring"
group_id?string

Campaigns whose audience includes this group.

Formatuuid

Header Parameters

X-Request-Id?string

Your 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  }}