Skip to main content
GET
Get Template Detail

Authorizations

Authorization
string
header
required

Secret key in Bearer sk_... format. Server-to-server only — never embed it in a browser or mobile client. The organization is resolved from the key, so organization_id is never passed explicitly.

Path Parameters

app_id
string
required

Application ID. Must belong to the organization resolved from your secret key, otherwise the request returns 404 with APPLICATION_004.

Example:

"app_7poyXj8GXuv76e"

source_id
string
required

The template's Meta source ID.

Example:

"1234567890123456"

Query Parameters

expand
enum<string>[]

Repeatable. components also returns the components; metadata only by default. Any other value is rejected with 422.

Available options:
components

Response

The template.

data
object

Null fields (id, createdAt, updatedAt, messageSendTtlSeconds, correctCategory, previousCategory) are dropped from the response.

isSuccess
enum<boolean>
Available options:
true