List Templates
curl --request GET \
--url https://api.eka.care/voice/api/v1/template \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/voice/api/v1/template"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/voice/api/v1/template', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/voice/api/v1/template")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/voice/api/v1/template");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/voice/api/v1/template")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "clinical_notes_template",
"title": "Clinical Notes",
"desc": "Standard clinical note",
"section_ids": [],
"default": true,
"is_favorite": false
},
{
"id": "tpl_7d1a2b3c4d5e",
"title": "Cardiology OPD Note",
"desc": "Generate a cardiology outpatient note with...",
"section_ids": [],
"default": false,
"is_favorite": true
}
]
}{
"error": {
"code": "invalid_audio_format",
"message": "Audio format 'audio/mp3' is not supported",
"details": {}
}
}Templates
List Templates
List every template available to your workspace — Eka’s default templates (e.g. clinical_notes_template, transcript_template) plus any custom templates you created. The full template object is returned for each entry, so this is also the read path for a single template: filter the response by id.
GET
/
voice
/
api
/
v1
/
template
List Templates
curl --request GET \
--url https://api.eka.care/voice/api/v1/template \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/voice/api/v1/template"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/voice/api/v1/template', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/voice/api/v1/template")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/voice/api/v1/template");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/voice/api/v1/template")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "clinical_notes_template",
"title": "Clinical Notes",
"desc": "Standard clinical note",
"section_ids": [],
"default": true,
"is_favorite": false
},
{
"id": "tpl_7d1a2b3c4d5e",
"title": "Cardiology OPD Note",
"desc": "Generate a cardiology outpatient note with...",
"section_ids": [],
"default": false,
"is_favorite": true
}
]
}{
"error": {
"code": "invalid_audio_format",
"message": "Audio format 'audio/mp3' is not supported",
"details": {}
}
}List all templates available to your workspace — Eka defaults (
"default": true, e.g. clinical_notes_template) plus your custom ones. Full objects are returned, so filter by id to read a single template.Was this page helpful?

