List registered DLT consent templates
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates")
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{
"data": [
{
"id": "dltCns_1a2b3c4d",
"principal_id": "dltPe_1a2b3c4d",
"consent_template_id": "1607100000000098765",
"consent_name": "Order updates opt-in",
"consent_text": "I agree to receive order and delivery updates from Acme Retail.",
"status": "approved",
"created_at": "2026-08-05T09:30:00.000Z"
}
],
"meta": {
"request_id": "req_1a2b3c4d5e6f",
"timestamp": "2026-08-07T12:00:00.000Z",
"pagination": {
"cursor": null,
"has_more": false
}
}
}Compliance
List registered DLT consent templates
List the India TRAI DLT consent templates registered for this tenant. A consent template binds a contact’s explicit opt-in wording to a service-explicit category so a principal entity can prove consent for its India-bound messaging. Results are newest-first and cursor-paginated via meta.pagination.cursor.
GET
/
api
/
v1
/
compliance
/
dlt-india
/
consent-templates
List registered DLT consent templates
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/compliance/dlt-india/consent-templates")
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{
"data": [
{
"id": "dltCns_1a2b3c4d",
"principal_id": "dltPe_1a2b3c4d",
"consent_template_id": "1607100000000098765",
"consent_name": "Order updates opt-in",
"consent_text": "I agree to receive order and delivery updates from Acme Retail.",
"status": "approved",
"created_at": "2026-08-05T09:30:00.000Z"
}
],
"meta": {
"request_id": "req_1a2b3c4d5e6f",
"timestamp": "2026-08-07T12:00:00.000Z",
"pagination": {
"cursor": null,
"has_more": false
}
}
}Authorizations
BearerApiKey
Dashboard JWT token from Clerk
Query Parameters
Page size (1–200). Out-of-range or malformed values fall back to the default of 50.
Required range:
1 <= x <= 200Forward pagination cursor from a previous response's meta.pagination.cursor.
⌘I