Search templates by term
GET
/openapi/template/term
const url = 'https://open-api.replyco.com/openapi/template/term';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://open-api.replyco.com/openapi/template/term \ --header 'Authorization: Bearer <token>'Searches for templates that match the provided search term. The search is performed across template names and content.
Search behavior:
- If term is null or empty, returns all templates
- Search is case-insensitive
- Matches partial strings in template name and body
Use cases:
- Find templates by keyword
- Filter templates by topic
- Quickly locate specific response templates
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”term
string
The search term to filter templates (optional)
Responses
Section titled “Responses”Returns the filtered list of templates
User is not authenticated or authorized
User does not have permission to view templates