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 ()
https://api.selzy.com/en/api/getWebVersion?format=json&api_key=KEY&campaign_id=ID
Arguments
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": "https://cp.selzy.com/en/web_letter/
5ttopxkpedb3iy75rfaynjx71cu13xs4pmu7yrpsx7mwrbqm8bgdx
fbbo4akbn8x1"
    }
}
Did we answer your question?
1
0

To get more help, contact our Support Team. They are available for all Selzy users 24/7.