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
Secret API key operationId: default_source/v1/applications/{id}/templates/defaults/{template} Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredApplication id
templatestring requiredTemplate 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 requestGET
https://api.identrahq.com/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/templates/defaults/string