Send for inbox previews
Initiate one or more inbox previews for an email. This uses inbox preview credits; check your balance with Get preview credit balance. Learn how billing for inbox previews work before you call this endpoint.
Use List emails to get your email's ID. If the email has translations, call List email translations to get the ID of the language variant you want a preview of.
You can retrieve client IDs from List inbox preview options.
This call does not return the preview file. It returns a run_id; poll Get an inbox preview job with it, then fetch each tile's capture URL from that response.
Submitting the same email, content, and devices again on the same UTC day returns the existing run instead of starting a new one, with replayed set to true and no second charge. The same happens the next day if that run is still processing, or if a concurrent identical request gets there first. Resubmitting a stuck run is safe and free—it hands you the same run back rather than starting a second one.
Path parameters
The UUID of the email. If your email has translations, this is the ID of a specific language variant.
Request body
Example request
{
"client_ids": [
"android12_gmailapp_pixel6_dm",
"android12_gmailapp_pixel6_dm_dark"
],
"sample_data": {
"customer": {
"first_name": "Janine"
}
},
"name": "Welcome email previews"
}Response
Preview job submitted
Changes
Changed in 1 of the 13 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○