Templates
Find templates by criteria
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Templates/searchTemplates" target="_blank">Try in sandbox</a><br>Find user templates by given parameters.
get/api/v2/templates/search
Request
- Base URLhttps://rest.textmagic.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Fetch specified results page.
limitinteger
The number of results per page.
idsstring
Find template by ID(s).
namestring
Find template by name.
contentstring
Find template by content.
Response
Returned when successful.
Example response
{
"page": 1,
"pageCount": 10,
"limit": 10,
"resources": [
{
"id": 519,
"name": "Appointment reminder",
"content": "Hello {First name}!",
"lastModified": "2014-09-11T08:12:01+0000"
}
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.