GET /v1/messaging/templates/\{id\}/versions
Service: messaging · operationId: (none)
Required scopes
(no scope declared — review service config)
Path parameters
id(string) required —
Responses
200 List versions
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"template_id": {
"type": "string"
},
"brand_id": {
"type": "string"
},
"version_number": {
"type": "number"
},
"subject": {
"type": [
"string",
"null"
]
},
"body": {
"type": "string"
},
"variables": {
"type": "array",
"items": {
"type": "string"
}
},
"created_by": {
"type": "string"
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"template_id",
"brand_id",
"version_number",
"subject",
"body",
"variables",
"created_by",
"created_at"
]
}
}
},
"required": [
"items"
]
}500 Server error
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"error",
"message"
]
}Example
curl -X GET https://messaging.platform.loop.health/v1/messaging/templates/{id}/versions \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/messaging— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced