Skip to main content
POST
/
v1
/
templates
curl --request POST \
  --url https://api.ckpnd.com:5001/v1/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "template_id": "3ipuupaeddshx"
}
'
[
  {
    "template_id": "4cc1z0qi0azp",
    "name": "Test Email Template",
    "html": "<!doctype html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n  <title>My new email template</title></head><body></body>\n</html>",
    "creationDateTime": "2019-05-07T21:44:07.000Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.opptima.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Usa tu API Key como Bearer token en el header Authorization.

Ejemplo: Authorization: Bearer YOUR_API_KEY

Obtén tu API Key en la página de Settings.

Body

application/json
template_id
string

ID de una plantilla específica. Si no se envía, se retornan todas las plantillas del usuario

Example:

"3ipuupaeddshx"

Response

Lista de plantillas encontradas

template_id
string

ID único de la plantilla

Example:

"4cc1z0qi0azp"

name
string

Nombre de la plantilla

Example:

"Test Email Template"

html
string

Código HTML de la plantilla

creationDateTime
string

Fecha y hora de creación de la plantilla

Example:

"2019-05-07T21:44:07.000Z"