Email CampaignsGet the Schedule of an Email Campaign Activity
Get the Schedule of an Email Campaign Activity
Make a GET call to the /emails/activities/{campaign_activity_id}/schedules endpoint to return the schedule for an email campaign activity. This schedule contains the date that Constant Contact will send the email campaign activity to contacts. If the email campaign activity is not currently in SCHEDULED status, this method returns an empty array and a 200 response code.
Parameters
This method requires the campaign_activity_id URL parameter. Use the campaign_activity_id parameter to specify which email campaign activity you want to return the schedule for.
Authorization Requirements
User privileges: campaign:readAuthorization scopes: campaign_data
Example GET Schedule Call
This example GET call returns the schedule for an email campaign activity.
GET
https://api.cc.email/v3/emails/activities/{campaign_activity_id}/schedulesOkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://api.cc.email/v3/emails/activities/3cfe7b98-3633-4065-950e-de0baeb17563/schedules")
.get()
.addHeader("Authorization", "Bearer {access_token}")
.addHeader("cache-control", "no-cache")
.addHeader("Postman-Token", "a4fd97ab-a271-4094-8241-3642c507262d")
.build();
Response response = client.newCall(request).execute();Response
[
{
"scheduled_date": "2022-05-10T12:53:55.000Z"
}
]