Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


Pauses a mailing that is in the status SENDING in Optimizely Campaign.

The status can be queried with the getStatus method. The mailing must be of the type regular. All other mailings (event, confirmation, template) cannot be paused.

Type: void


sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • Code structure

    void pause(String sessionId, long mailingId)

What’s Next