Reference / Settings

the built-in HTML source for a template (subject + content fragment with `{{placeholders}}`, styled with the app's branding), used to seed the editor's "Load the default". 404 for an unknown/non-HTML template.

GET /v1/applications/{id}/templates/defaults/{template}
Secret API key operationId: default_source

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Path parameters

  • id string<uuid> required

    Application id

  • template string required

    Template key, e.g. verify_email

Responses

200 Built-in template source
{
  "data": {
    "body": "string",
    "subject": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
404 Unknown or non-HTML template

Request

curl -X GET "https://api.identrahq.com/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/templates/defaults/string" \

Try it

live request
GET https://api.identrahq.com/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/templates/defaults/string

Path parameters