curl --request GET \
--url 'https://api.kloo.li/v1/notification-handlers/' \
--header 'Authorization: Bearer {api_key}'
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
import requests
url = 'https://api.kloo.li/v1/notification-handlers/'
headers = {
'Authorization': 'Bearer {api_key}',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
print(response.json())
<?php
$ch = curl_init('https://api.kloo.li/v1/notification-handlers/');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer {api_key}',
'Accept: application/json',
],
]);
echo curl_exec($ch);
curl_close($ch);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.kloo.li/v1/notification-handlers/", nil)
req.Header.Set("Authorization", "Bearer {api_key}")
req.Header.Set("Accept", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.kloo.li/v1/notification-handlers/"))
.header("Authorization", "Bearer {api_key}")
.header("Accept", "application/json")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer {api_key}");
client.DefaultRequestHeaders.Add("Accept", "application/json");
var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://api.kloo.li/v1/notification-handlers/"));
Console.WriteLine(await response.Content.ReadAsStringAsync());
require 'net/http'
require 'uri'
uri = URI('https://api.kloo.li/v1/notification-handlers/')
req = Net::HTTP::Get.new(uri)
req['Authorization'] = 'Bearer {api_key}'
req['Accept'] = 'application/json'
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.body
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-01-15 12:00:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://api.kloo.li/v1/notification-handlers?page=1",
"last": "https://api.kloo.li/v1/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://api.kloo.li/v1/notification-handlers?page=1"
}
}
Lister
Canaux de notification — Lister. GET /notification-handlers/
curl --request GET \
--url 'https://api.kloo.li/v1/notification-handlers/' \
--header 'Authorization: Bearer {api_key}'
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
import requests
url = 'https://api.kloo.li/v1/notification-handlers/'
headers = {
'Authorization': 'Bearer {api_key}',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
print(response.json())
<?php
$ch = curl_init('https://api.kloo.li/v1/notification-handlers/');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer {api_key}',
'Accept: application/json',
],
]);
echo curl_exec($ch);
curl_close($ch);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.kloo.li/v1/notification-handlers/", nil)
req.Header.Set("Authorization", "Bearer {api_key}")
req.Header.Set("Accept", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.kloo.li/v1/notification-handlers/"))
.header("Authorization", "Bearer {api_key}")
.header("Accept", "application/json")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer {api_key}");
client.DefaultRequestHeaders.Add("Accept", "application/json");
var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://api.kloo.li/v1/notification-handlers/"));
Console.WriteLine(await response.Content.ReadAsStringAsync());
require 'net/http'
require 'uri'
uri = URI('https://api.kloo.li/v1/notification-handlers/')
req = Net::HTTP::Get.new(uri)
req['Authorization'] = 'Bearer {api_key}'
req['Accept'] = 'application/json'
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.body
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-01-15 12:00:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://api.kloo.li/v1/notification-handlers?page=1",
"last": "https://api.kloo.li/v1/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://api.kloo.li/v1/notification-handlers?page=1"
}
}
GET /notification-handlers/.
Bearer {api_key}.curl --request GET \
--url 'https://api.kloo.li/v1/notification-handlers/' \
--header 'Authorization: Bearer {api_key}'
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
const response = await fetch('https://api.kloo.li/v1/notification-handlers/', {
method: 'GET',
headers: {
Authorization: 'Bearer {api_key}',
Accept: 'application/json'
}
});
const data = await response.json();
console.log(data);
import requests
url = 'https://api.kloo.li/v1/notification-handlers/'
headers = {
'Authorization': 'Bearer {api_key}',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
print(response.json())
<?php
$ch = curl_init('https://api.kloo.li/v1/notification-handlers/');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer {api_key}',
'Accept: application/json',
],
]);
echo curl_exec($ch);
curl_close($ch);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.kloo.li/v1/notification-handlers/", nil)
req.Header.Set("Authorization", "Bearer {api_key}")
req.Header.Set("Accept", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.kloo.li/v1/notification-handlers/"))
.header("Authorization", "Bearer {api_key}")
.header("Accept", "application/json")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer {api_key}");
client.DefaultRequestHeaders.Add("Accept", "application/json");
var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://api.kloo.li/v1/notification-handlers/"));
Console.WriteLine(await response.Content.ReadAsStringAsync());
require 'net/http'
require 'uri'
uri = URI('https://api.kloo.li/v1/notification-handlers/')
req = Net::HTTP::Get.new(uri)
req['Authorization'] = 'Bearer {api_key}'
req['Accept'] = 'application/json'
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.body
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-01-15 12:00:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://api.kloo.li/v1/notification-handlers?page=1",
"last": "https://api.kloo.li/v1/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://api.kloo.li/v1/notification-handlers?page=1"
}
}
Autorisations
Récupérez votre clé API sur https://kloo.li/account-api. Utilisez Authorization: Bearer {api_key}.
Paramètres de requête
La chaîne de recherche
Valeurs autorisées : name
is_enabled À la création, la présence du champ signifie souvent vrai. À la mise à jour, envoyez 0 ou 1.
Type. Valeurs autorisées : email, webhook, slack, discord, telegram, microsoft_teams, twilio, twilio_call, whatsapp, x, google_chat, push_subscriber_id.
email, webhook, slack, discord, telegram, microsoft_teams, twilio, twilio_call, whatsapp, x, google_chat, push_subscriber_id Valeurs autorisées : datetime, last_datetime
Filtrer à partir de cette datetime. Y-m-d H:i:s format
Filtrer jusqu’à cette datetime. Y-m-d H:i:s format
Champ de tri. Valeurs autorisées : notification_handler_id, datetime, last_datetime, name
Ordre des résultats. Valeurs autorisées : ASC pour un tri croissant, and DESC pour un tri décroissant
Numéro de page. Par défaut 1
Nombre de résultats par page. Valeurs autorisées : 10, 25, 50, 100, 250, 500, 1000. Par défaut 25
10, 25, 50, 100, 250, 500, 1000 Réponse
Succès

