Fetch Single Campaign

Get Campaign

GET {{URL}}/api/v1/campaign/:campaign_id

This endpoint allows you to get a particular campaign.

Path Parameters

Name
Type
Description

campaign_id

string

The Id of the campaign to get.

Headers

Name
Type
Description

Authentication

string

Authentication token of user

{
    "status": "success",
    "message": "Campaign retrieved successfully",
    "results": 1,
    "data": {
        "_id": "60b0cc4ef1f6101078a62db6",
        "status": "created",
        "name": "Movies",
        "startDate": "2021-07-03T23:00:00.000Z",
        "endDate": "2021-12-06T23:00:00.000Z",
        "__v": 0
    }
}

Last updated

Was this helpful?