Skip to main content
POST
/
campaigns
/
{campaignId}
/
schedules
/
{scheduleId}
Associate Schedule with Campaign
curl --request POST \
  --url https://api.lemlist.com/api/campaigns/{campaignId}/schedules/{scheduleId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "scheduleId": "skd_CBHNKLZsZr3FFJHPK",
  "campaignId": "cam_SaAarzTsXms8BENvR"
}
This endpoint uses the Schedule object.
This endpoint allows associating a schedule with a campaign.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

The unique identifier of the campaign

scheduleId
string
required

The unique identifier of the schedule

Response

Success

scheduleId
string
campaignId
string