| Variable | Type | Description |
|---|---|---|
| campaign_id | string|int |
| Parameter | Description |
|---|---|
| encoding | The encoding of the content (eg: UTF-8) |
| from_email | The from email |
| from_name | The from name |
| replyto_email | The reply-to email |
| replyto_name | The reply-to name |
| short_url | The short preview url |
| subject | The subject |
| subject_b64 | The subject (base64 encoded) |
{ "encoding": "utf-8", "short_url": "https:\/\/short.url.domain\/short_url_hash", "subject": "Some subject", "subject_b64": "U29tZSBzdWJqZWN0" }
| Code | Message | Description |
|---|---|---|
| 407 | Missing required param campaign_id | campaign_id param is required |
| 131 | No such campaign with ID: %s. | Invalid access to campaign_id |
{ "err": true, "message": "Missing required param campaign_id", "code": 407 }
{ "err": true, "message": "No such campaign with ID: 99554.", "code": 131 }