HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

getMailingId

Queries the mailing ID (parameter mailingId) in Optimizely Campaign.

📘

Note

The mailing must have been sent. Only then is a mail ID created.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
mailIdStringMail ID

Return values

Mailing ID

Code structure

long getMailingId(String sessionId, String mailId)

What’s Next
Did this page help you?