Content Services API Reference
API Key

Rate Limits
API Root
Collections
Example URLs
Resources
HTML
Transform a JSON template into an HTML response.
The collection ID or name
Flag to return beautified HTML
For multi-language templates, sets the output language using a valid language code
The HTML response
The HTML response
Plain Text
This endpoint accepts a JSON template to create a plain text version of an email.
Optional. The output language for multi-language templates.
A successful response with the plain text document.
Invalid input or request parameters.
PDF
This endpoint accepts HTML and settings to generate a PDF document and provides a URL for the PDF.
The file type for the output.
PDFPossible values: A full HTML document to be transformed into a PDF.
The orientation of the PDF page.
landscapePossible values: The size of the PDF page.
letterPossible values: A successful response with the PDF document URL.
Invalid input or request parameters.
Image
Transform HTML and image settings into an image.
The collection ID or name
Accepts jpg or png
The image height in pixels
A BeeFree HTML message
Image size if width and height are not defined
The image width in pixels
The image response as a binary data in PNG format
The image response as a binary data in PNG format
Merge
Merge Rows
The Merge Rows endpoint enables you to integrate custom fonts and resized images into your designs. It saves custom fonts within the template's JSON, ensuring the correct font is displayed. It also handles image resizing, particularly when the image's initial template width is narrower than the saved row's destination template. To use this endpoint, send your template and rows in JSON format. You will receive a response with an updated template. The rows requiring an update are identified by their rowIdentifier values.
The collection ID or name
Label for identifying rows, usually GUID
A Beefree template in JSON format
Updated template with merged rows
Updated template with merged rows
Synced Rows
Retrieve a list of synced rows from a template.
The collection name.
The label used for identifying the rows added to the metadata key, usually GUID.
A successful response with a list of synced rows.
Invalid input or request parameters.
Index
Reference an array of metadata objects from a Beefree template in JSON format.
The collection ID or name
A Beefree template in JSON format
An array of metadata objects containing row details
An array of metadata objects containing row details
AI Collection
Prerequisites
Metadata (Preheader and Subject)
The endpoint accepts a JSON template and returns a JSON object with metadata.
A JSON object with metadata (preheader and subject).
A JSON object with metadata (preheader and subject).
SMS
This endpoint accepts a JSON template and options to generate a custom SMS.
Successful response with SMS.
Successful response with SMS.
Summary
This endpoint accepts a JSON template and options to generate a concise summary.
Successful response with summary.
Successful response with summary.
Conversion Collection
Email to Page Conversion: Important Behaviors
Converts an email JSON template to a page JSON template, ensuring compatibility by converting or removing unsupported blocks.
Successful conversion to page JSON template
Successful conversion to page JSON template
Page to Email Conversion: Important Behaviors
Converts a page JSON template to an email JSON template, ensuring compatibility by converting or removing unsupported blocks. By default, the conversion sanitizes HTML modules, which can be disabled by setting a specific parameter.
Option to disable HTML sanitizer
trueSuccessful conversion to email JSON template
Successful conversion to email JSON template
Last updated
Was this helpful?

