List report templates
GET /site_reports/templates
Description
Returns a list of report templates available for Site Reports.
Templates define the structure, branding, and sections included in generated reports.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Account ID to filter templates. This parameter is required.
Responses
Section titled “ Responses ”List of report templates
object
Report template defining structure and branding for generated reports
object
Unique identifier for the template
Example
9fe01285-87cc-405b-9f2f-02cc1316bb63Display name of the template
Example
Site ReportCompany name displayed on the report
Example
WP EngineHex value of the color used on the report coversheet
Example
#FF0000URL to the company logo
Example
https://storage.googleapis.com/crs-assets/logos/wpengine-logo.pngURL to template preview image
Example
https://storage.googleapis.com/crs-assets/previews/site-report-preview.pngList of sections included in this template
object
Example
coverExample
[ { "name": "cover" }, { "name": "overview" }, { "name": "usage" }, { "name": "themes" }]Bad Request
object
A message regarding the error that occurred on the server
Example
Invalid Site: Name cannot be empty.(Optional) A URL where documentation regarding this specific error can be found
An array of error objects describing specific errors that arose when servicing the request
object
The name of the resource that was being processed when the error occurred
Example
Site(Optional) The specific field associated with the error
Example
name(Optional) A type associated with the error. invalid_value, access_error, value_unavailable
Example
invalid_value(Optional) A machine code relating to the error that occurred with the field and resource
Example
too_long(Optional) A human-readable message relating to the error that occurred with the field and resource
Example
Name is too long (maximum is 40 characters)Authentication Error
object
A message regarding the error that occurred on the server
Example
Bad Credentials(Optional) A URL where documentation regarding this specific error can be found
Not authorized
object
A message regarding the error that occurred on the server
Example
You don't have permission to perform that action(Optional) A URL where documentation regarding this specific error can be found
Not found
object
A message regarding the error that occurred on the server
Example
Not Found(Optional) A URL where documentation regarding this specific error can be found
Too many requests
Internal Server Error
object
A message regarding the error that occurred on the server
Example
An unexpected error occurred, please try again in a few minutesAn invalid response was received from an upstream server
Service unavailable