Fetch email templates

GEThttps://services.leadconnectorhq.com/emails/builder
Fetch email templates by location id
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Query Parameters
archived
string
Default:
false
builderVersion
string
Allowed values:
12
Default:
2
limit
string
Default:
10
name
string
Default:
offset
string
Default:
0
originId
string
Examples:
ve9EPM428h8vShlRW1KT
parentId
string
Default:
search
string
Default:
sortByDate
string
Default:
desc
templatesOnly
string
Default:
false
locationId
string
required
Examples:
ve9EPM428h8vShlRW1KT
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28

Responses

Successful response

name
string

template name

Example:
New Template
updatedBy
string

updated by

Example:
John Doe
isPlainText
boolean

plain text based template

Example:
false
lastUpdated
string

last updated

Example:
2024-11-12T12:34:36.070Z
dateAdded
string

date added

Example:
2024-11-12T12:34:36.070Z
previewUrl
string

preview url

Example:
https://example.com
id
string

id

Example:
67334b231f2fad724062f52b5
version
string

version

Example:
1
templateType
string

type

Example:
builder

Unprocessable Entity

statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request