Get Email Versions
GET /api/v1/workspaces/{workspace_id}/emails/{email_id}/versions
GET
/api/v1/workspaces/{workspace_id}/emails/{email_id}/versions
Retrieves the email versions.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
integer
Workspace ID
email_id
required
integer
Email ID
Query Parameters
Section titled “Query Parameters ” per
integer
Number of records per page
page
integer
Page number
Responses
Section titled “ Responses ”Successful
object
results
required
Array<object>
object
version_id
required
string
email_data
required
object
email_content
required
object
subject
required
object
conditional_id
integer
branch_content
required
object
key
additional properties
Localized email subject, keyed by BCP47 locale
object
key
additional properties
string
Example
My Email Subject in a Specific Locale preheader
required
object
conditional_id
integer
branch_content
required
object
key
additional properties
Localized email preheader, keyed by BCP47 locale
object
key
additional properties
string
Example
My Email Preheader in a Specific Locale container_component_instance
required
object
id
required
string
Example
bd1c1b82-1a7b-4f0f-b079-30c1d4189bed name
string
Example
My Component component_id
required
integer
conditional_id
integer
field_values
hidden_from_locales
object
key
additional properties
boolean
Example
true component_instances
required
Array<object>
object
id
required
string
Example
bd1c1b82-1a7b-4f0f-b079-30c1d4189bed name
string
Example
My Component component_id
required
integer
conditional_id
integer
field_values
hidden_from_locales
object
key
additional properties
boolean
Example
true global_link_tracking_parameters
object
key
additional properties
string
locales
required
Array<string>
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z last_updated_by
required
object
id
required
integer
Example
12345 first_name
required
string
Example
John last_name
required
string
Example
Smith profile_image_url
required
string
Example
https://example.com/profile.jpg pagination
required
object
per
required
integer
Example
10 page
required
integer
Example
1 total
required
integer
Example
100Unauthorized
object
message
required
string
Example
Record not foundForbidden
object
message
required
string
Example
Record not foundNot Found
object
message
required
string
Example
Record not found