Code preference:
Curl
Ruby
Php
Python
Node.js
C#
Java

How to get all your campaigns?

Email campaigns can be retrieved from your account easily using campaign APIs

This API call will let you access your created campaigns information.

Input Parameter Description
id Unique Id of the campaign [Mandatory].

Example :

Sample Output :

Input Parameter Description
type Type of campaign. Possible values – classic, trigger, sms, template ( case sensitive ) [Optional].
status Status of campaign. Possible values – draft , sent, archive, queued, suspended, in_process, temp_active, temp_inactive ( case sensitive ) [Optional].
page Maximum number of records per request is 500, if there are more than 500 campaigns then you can use this parameter to get next 500 results [Optional].
page_limit This should be a valid number between 1-1000. If page limit is kept empty or >1000, default is 500 [Optional].

Example :

Sample Output :