Skip to main content

Get message web version

Description

Retrieves an email message web version.

Request URL

Method: POST

https://example.com/api/v1.1/webver/get

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
By default – json
send_message_idstring"abcdefghijklmnqrstuvwxyz"YesWeb version ID

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"send_message_id": "abcdefghijklmnqrstuvwxyz"
}

Response example

{
"data": {
"createtime": "2018-08-24T09:26:23.292Z",
"email": {
"from_email": "example@example.com",
"from_name": "example.com",
"html": "HTML content ...",
"replyto_email": "example@example.com",
"replyto_name": "example.com",
"subject": "Welcome to Altcraft",
"text": "Text version also important\n\n--\nUnsubscribe: http://trk.gmail.com/37cfe6oTGQF4LYqk6oMi8eCtZ?dummy=1"
}
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringerror text
createtimedateTemplate creation time
emailJSON objectMessage object