Skip to main content
TemplatesVersion: v3New

Create a template folder

POST/emails/locations/{locationId}/templates/folders

Create a new template folder

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:emails/templates.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Idempotency-Keystring

Unique key per intended write (max 255 chars). Retrying with the same key and body within 24 hours returns the first response instead of creating another resource. Reusing the key with a different body returns 422; a retry while the first request is still running returns 409.

Example:0f8fad5b-d9cb-469f-a165-70867728950e
Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location ID

Example:ve9EPM428h8vShlRW1KT

Body

namestringrequired

Folder name

Example:Spring Campaigns
userIdstring

ID of the user performing this action

Example:507f1f77bcf86cd799439011

Response

Success

idstringrequired

Folder ID

Example:67f15c2ae99226d5bcccb8f3
namestringrequired

Folder name

Example:Spring Campaigns
createdAtstring

Created timestamp

Example:2025-07-24T11:55:43.598Z
updatedAtstring

Updated timestamp

Example:2025-07-24T11:55:43.598Z
traceIdstring

Trace ID of request

Example:019e4ef5-a65e-4198-8cf9-8e93dca9bda4