Fetch All Campaigns
Get Campaigns
GET {{URL}}/api/v1/campaign
This endpoint allows you to get all existing campaigns.
Headers
Name
Type
Description
Authentication
string
Authentication token of the user.
{
"status": "success",
"message": "Campaigns retrieved successfully",
"results": 4,
"data": [
{
"_id": "609fe8a1ffe539267066a083",
"status": "created",
"name": "Culture",
"startDate": "2021-05-06T23:00:00.000Z",
"endDate": "2021-12-06T23:00:00.000Z",
"__v": 0
},
{
"_id": "609fe8c7ffe539267066a084",
"status": "created",
"name": "Culture",
"startDate": "2021-07-03T23:00:00.000Z",
"endDate": "2021-12-06T23:00:00.000Z",
"__v": 0
},
{
"_id": "60a865a91fafe622dcc3f712",
"status": "created",
"name": "Culture",
"startDate": "2021-07-03T23:00:00.000Z",
"endDate": "2021-12-06T23:00:00.000Z",
"__v": 0
},
{
"_id": "60b0be9bebb00b379c4ac7b9",
"status": "created",
"name": "Culture",
"startDate": "2021-07-03T23:00:00.000Z",
"endDate": "2021-12-06T23:00:00.000Z",
"__v": 0
}
]
}Last updated
Was this helpful?