Get all templates
GET
/openapi/template
const url = 'https://open-api.replyco.com/openapi/template';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 \ --header 'Authorization: Bearer <token>'Returns a list of all templates available for the current company.
Templates are pre-defined message formats that can be used for:
- Quick replies to common questions
- Standardized communication
- Maintaining consistent messaging across your team
Response includes:
- Template ID
- Template name
- Template content/body
- Associated account (if any)
- Creation and modification dates
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Returns the list of templates
User is not authenticated or authorized
User does not have permission to view templates