Skip to main content

Get template details

GET/v1/templates/{id}

Get a template's details.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe platform's template ID, tmpl_...

Response​

StatusDescription
200OK
4xxClient error

200 response schema​

{
"$ref": "#/components/schemas/MessageTemplate"
}

For the common error envelope and how to handle it, see Error Codes.

Notes​

A pure local read with no outbound call to Meta; use it to confirm status=APPROVED before sending. POST /v1/messages performs the same check before sending with a template of matching name and language, and rejects it if it has not passed review.