Get SMS template
GET/sms/templates/{id}
Requires
Authorization: Bearer <api_key>. Create a key in the Inspra dashboard under Workspace Settings → API Keys.Path parameters
- idstringrequiredUUID of the resource.
Response 200 OK
The template.
- idstringuuidoptional
- namestring0–255 charsoptional
- categorystringnullable0–100 charsoptional
- bodystring0–1600 charsoptional
- variablesstring[]optionalDetected from the body; read-only.
- segmentsintegeroptional
- is_activebooleanoptionalInactive templates are hidden from pickers but keep working where already linked.
- created_atstringdate-timeoptional
- updated_atstringdate-timeoptional
Errors
- 401UnauthorizedMissing, malformed, or invalid API key.
- 403ForbiddenWorkspace unavailable, suspended, or paywalled.
- 404Not FoundResource not found in this workspace.
- 429Too Many RequestsWorkspace request limit exceeded; shared across all its API keys.