Get the customer-registered public key for end-to-end incident encryption
curl --request GET \
--url https://api.tuteliq.ai/api/v1/account/encryption-key \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tuteliq.ai/api/v1/account/encryption-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tuteliq.ai/api/v1/account/encryption-key"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.tuteliq.ai/api/v1/account/encryption-key")
.get()
.addHeader("Authorization", "Bearer <token>")
.build()
val response = client.newCall(request).execute()import Foundation
let url = URL(string: "https://api.tuteliq.ai/api/v1/account/encryption-key")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Authorization": "Bearer <token>"]
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))using RestSharp;
var options = new RestClientOptions("https://api.tuteliq.ai/api/v1/account/encryption-key");
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);
false{
"algorithm": "<string>",
"public_key_pem": "<string>",
"key_fingerprint": "<string>",
"registered_at": "<string>",
"rotated_from": "<string>"
}Get the customer-registered public key for end-to-end incident encryption
Returns the public key currently used to encrypt incident records, or 404 if none is registered. When no key is registered, incidents fall back to server-side encryption (Tuteliq holds the key). Register a public key with POST to switch to true end-to-end encryption — only your dashboard can decrypt.
GET
/
api
/
v1
/
account
/
encryption-key
Get the customer-registered public key for end-to-end incident encryption
curl --request GET \
--url https://api.tuteliq.ai/api/v1/account/encryption-key \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tuteliq.ai/api/v1/account/encryption-key', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tuteliq.ai/api/v1/account/encryption-key"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.tuteliq.ai/api/v1/account/encryption-key")
.get()
.addHeader("Authorization", "Bearer <token>")
.build()
val response = client.newCall(request).execute()import Foundation
let url = URL(string: "https://api.tuteliq.ai/api/v1/account/encryption-key")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
request.allHTTPHeaderFields = ["Authorization": "Bearer <token>"]
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self))using RestSharp;
var options = new RestClientOptions("https://api.tuteliq.ai/api/v1/account/encryption-key");
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);
false{
"algorithm": "<string>",
"public_key_pem": "<string>",
"key_fingerprint": "<string>",
"registered_at": "<string>",
"rotated_from": "<string>"
}Authorizations
bearerAuthapiKeyHeader
API key as Bearer token