Discover a template's agnostic variable inventory
Return a template’s variables — agnostic key/label/callerMustSupply, never a Meta slot address or index.
templateId accepts either the template’s id or its name — the send contract
(POST .../leadscout/outbound) identifies a template by name; this discovery endpoint
also accepts id, so a caller who only has one of the two can still look it up.
A variable with callerMustSupply: true has no declared source — the caller must include
its key in parameters when sending, or the send fails with a 422 naming that same key.
A variable with callerMustSupply: false is either resolved by Bridge on its own (e.g. the
recipient’s first name) or already has a value the caller may optionally override.
Error codes:
- BRIDGE_CORE_0301: workspace in the path does not match the caller’s own workspace (403)
- BRIDGE_TEMPLATE_0001: no PROVIDER_TEMPLATE found for this workspace and identifier — covers an unknown id/name, a template that belongs to another workspace, and a template that is not a PROVIDER_TEMPLATE, identically (404); this endpoint never confirms the existence of a template outside the caller’s own workspace
Authorizations
Copy the API key as provided by the Bridge Console.
Path Parameters
Unique identifier of the workspace (UUID v4).
"5b1e3b8a-9e0a-4b7d-9d2a-3d2f1a5c8e11"
Template id or name — either identifies the same template.
"order_shipped_promo"
"f0000040-0000-4000-8000-000000000040"
Response
Successful Response
Agnostic inventory of a template's variables, for a caller that must send it without knowing Meta's model.
Unique identifier of the template.
"f0000040-0000-4000-8000-000000000040"
Name of the template, used to identify it when sending.
"order_shipped_promo"
Language of the resolved pivot (the template's default language).
"es"
Diagnostic-only declaration-vs-snapshot mismatch. Never blocks a send.
Agnostic inventory of this template's variables.