getWebVersion method

It is a method to get the link to the web version of the letter.

Sometimes it is useful to get a link to the web version of the letter. For example, you made a campaign and want to show how this email looks in a browser, or share it in social media, for this purpose you can use the getWebVersion API method.

Principle of use

Syntax and URL to call the method
getWebVersion ()
api_key * API access key.
campaign_id * Identifier of the existing campaign.
format The display format obtains values of html | json, json is set by default (the html format is intended only for visual viewing of the result, the parser will not work in this format).
Return value
The object contains letter_id и web_letter_link.Example of the return value:

    "result": {
        "letter_id": 3769461,
        "web_letter_link": "

Did we answer to your question?