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
Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
archived
stringDefault:
false
builderVersion
stringAllowed values:
12
Default:
2
limit
stringDefault:
10
name
stringDefault:
offset
stringDefault:
0
originId
stringExamples:
ve9EPM428h8vShlRW1KT
parentId
stringDefault:
search
stringDefault:
sortByDate
stringDefault:
desc
templatesOnly
stringDefault:
false
locationId
stringExamples:
ve9EPM428h8vShlRW1KT
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
name
stringtemplate name
Example:
New Template
updatedBy
stringupdated by
Example:
John Doe
isPlainText
booleanplain text based template
Example:
false
lastUpdated
stringlast updated
Example:
2024-11-12T12:34:36.070Z
dateAdded
stringdate added
Example:
2024-11-12T12:34:36.070Z
previewUrl
stringpreview url
Example:
https://example.com
id
stringid
Example:
67334b231f2fad724062f52b5
version
stringversion
Example:
1
templateType
stringtype
Example:
builder
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request