List an Organization's Webhooks
curl --request GET \
--url https://manage.nervescloud.com/api/orgs/{org_name}/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://manage.nervescloud.com/api/orgs/{org_name}/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://manage.nervescloud.com/api/orgs/{org_name}/webhooks', 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://manage.nervescloud.com/api/orgs/{org_name}/webhooks",
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://manage.nervescloud.com/api/orgs/{org_name}/webhooks"
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://manage.nervescloud.com/api/orgs/{org_name}/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://manage.nervescloud.com/api/orgs/{org_name}/webhooks")
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": [
{
"all_products": false,
"description": "Fleet dashboard",
"disabled_reason": null,
"enabled": true,
"events": [
"device.connected",
"device.disconnected"
],
"failing_since": null,
"id": 12,
"inserted_at": "2026-10-13T09:00:00",
"last_error": null,
"last_error_at": null,
"products": [
"thermostat"
],
"updated_at": "2026-10-13T09:00:00",
"url": "https://hooks.example.com/nerves-hub"
}
]
}{
"errors": {
"detail": "Resource Not Found or Authorization Insufficient"
}
}{
"errors": {
"detail": "Resource Not Found or Authorization Insufficient"
}
}Webhooks
List an Organization's Webhooks
Lists the organization’s webhooks, oldest first, without their signing secrets.
GET
/
api
/
orgs
/
{org_name}
/
webhooks
List an Organization's Webhooks
curl --request GET \
--url https://manage.nervescloud.com/api/orgs/{org_name}/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://manage.nervescloud.com/api/orgs/{org_name}/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://manage.nervescloud.com/api/orgs/{org_name}/webhooks', 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://manage.nervescloud.com/api/orgs/{org_name}/webhooks",
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://manage.nervescloud.com/api/orgs/{org_name}/webhooks"
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://manage.nervescloud.com/api/orgs/{org_name}/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://manage.nervescloud.com/api/orgs/{org_name}/webhooks")
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": [
{
"all_products": false,
"description": "Fleet dashboard",
"disabled_reason": null,
"enabled": true,
"events": [
"device.connected",
"device.disconnected"
],
"failing_since": null,
"id": 12,
"inserted_at": "2026-10-13T09:00:00",
"last_error": null,
"last_error_at": null,
"products": [
"thermostat"
],
"updated_at": "2026-10-13T09:00:00",
"url": "https://hooks.example.com/nerves-hub"
}
]
}{
"errors": {
"detail": "Resource Not Found or Authorization Insufficient"
}
}{
"errors": {
"detail": "Resource Not Found or Authorization Insufficient"
}
}Authorizations
A user API token, or a product API key created in a product's settings.
A product API key only works on the routes for its own product, under
/api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier}
for that product's devices. What it may do there is decided by the role it
holds, the same way a member's role decides what they may do.

