Skip to content
Open in

Backend key reference ​

Every key the editor sends to, or reads from, the autosave, comment and saved-section endpoints you implement. The Email Editor and the Landing Page Editor share these keys, so one backend serves both.

Keys sent with every request ​

Reads carry these in the query string, writes in the JSON body.

KeyTypeNotes
keystringYour API key, from authorize.apiKey.
hostnamestringOrigin of the page embedding the editor.
templateIdstringNot sent by the saved-section endpoints.
entityIdstring | numberThe authorize.entityId option, sent as configured.
currentUserIdstringcurrentUser.userId. Sent by autosaves when a current user is configured, and by every comment request.

Autosaves ​

CallRequestResponse
List: GET {AUTOSAVES}Common keys{ success: true, data: Autosave[] }, not paginated
Create: POST {AUTOSAVES}Common keys, definitionAny 2xx, body not read
Detail: GET {AUTOSAVES}/{key}Common keys{ success: true, data: { template } }
KeyTypeNullableNotes
definition (create)stringnoThe template, serialized as JSON.
template (detail)stringnoThe string sent as definition.
key (entry)stringnoAutosave identifier, appended to the URL for the detail call.
time (entry)stringnoAny value new Date() parses; ISO 8601 recommended.
createdBy (entry)Useroptional

Comments and conversations ​

Read endpoints answer with { success: true, data }; the conversation list is not paginated.

KeyTypeNotes
sortBy (list request)string
showResolved (list request)boolean
involvedUsersUser[]
createdByUser
createdAtstring
readBy(string | number)[]User ids.

Saved and synced sections ​

The list answers with { success: true, data: { data, lastPage, parentFolderId } }. It is paginated by perPage and currentPage; when perPage is absent the whole level is expected back.

KeyTypeNullableNotes
folderId (list request)numberoptionalAbsent means the root level.
folderId (update request)numberyesnull moves the item to the root level.
perPage, currentPage (request)numberoptional
sortBy (request)"name" | "date" | "type"optional
id (item)numberno
folderId (item)numberyesnull or absent for a root-level item.
createdAt (item)stringoptionalLeave out when unknown; null is rejected.
parentFolderId (list envelope)numberyesnull at the root level.

The User object ​

KeyType
userIdstring | number
namestring
profilePhotoUrlstring

All three are required wherever a user appears in a response.