Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a new template
POST https://services.leadconnectorhq.com/emails/builder
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Body
locationId
string
default:"ve9EPM428h8vShlRW1KT"
required
title
string
default:"template title"
Posibles valores: ‘html’, ‘folder’, ‘import’, ‘builder’, ‘blank’
updatedBy
string
default:"zYy3YOUuHxgomU1uYJty"
Posibles valores: ‘1’, ‘2’
name
string
default:"Template1"
parentId
string
default:"zYy3YOUuHxgomU1uYJty"
Posibles valores: ‘mailchimp’, ‘active_campaign’, ‘kajabi’
importURL
string
default:"https://tplshare.com/fhYJ3Mi"
templateSource
string
default:"template_library"
Respuestas
redirect
string
default:"66e811229245fc098765590"
required
template id
traceId
string
default:"0c52e980-41f6-4be7-8c4b-e2c5a13dc3c2"
required
trace id
{
"redirect": "66e811229245fc098765590",
"traceId": "0c52e980-41f6-4be7-8c4b-e2c5a13dc3c2"
}
422 - Unprocessable Entity
Ejemplo
curl -X POST 'https://services.leadconnectorhq.com/emails/builder' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28' \
-H 'Content-Type: application/json' \
-d '{
"locationId": "ve9EPM428h8vShlRW1KT",
"title": "template title",
"type": "html",
"updatedBy": "zYy3YOUuHxgomU1uYJty",
"builderVersion": "2",
"name": "Template1",
"parentId": "zYy3YOUuHxgomU1uYJty",
"templateDataUrl": "",
"importProvider": "mailchimp",
"importURL": "https://tplshare.com/fhYJ3Mi",
"templateSource": "template_library",
"isPlainText": false
}'