Get Campaigns
GET {{baseUrl}}/v1/campaigns?page=0&count=100
Returns a list of all the campaigns you've created. The campaigns are returned in reverse sorted order by the time they were created.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | number | For pagination, which page of results to return. Default = 0 | |
count | number | For pagination, the number of results to return. Max = 100 |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"object":"$list","data":[{"object":"campaign","name":"Campaign Name","subject":"Company Monthly Newsletter","from_email":"george.washington@klaviyo.com","from_name":"George Washington","list_id":"erRoOX","template":{"object":"email-template","html":"\u003chtml\u003e\u003cbody\u003e\u003cp\u003eThis is the email content\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e"},"status":"draft","sent_at":"2020-12-02 18:45:04","created":"2020-12-01 18:45:04"}],"page":0,"start":1,"end":1,"total":25,"page_size":1}