GET /hub/v1/campaigns/{id}

Overview

Retrieves a campaign.

URL Parameters

Name Type Description
id string Required Campaign ID

Usage

Example Request

Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
GET /hub/v1/campaigns/301
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

Example Response

HTTP/1.1 202 Accepted
{
    "id": "301",
    "createdDate": "2012-11-29T16:18:31",
    "modifiedDate": "2012-11-29T16:18:30",
    "name": "2012 Master Campaign",
    "description": "This is the Primary Campaign",
    "campaignCode": "master2012",
    "color": "d2e7b8",
    "favorite": false
}
Last Updated: Jun 8, 2021