List Webhook Deliveries
curl --request POST \
--url https://composer.personal.ai/lab/api/v1/op/webhook.deliveries \
--header 'Content-Type: <content-type>' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"instance": "<string>",
"limit": 123
}
'import requests
url = "https://composer.personal.ai/lab/api/v1/op/webhook.deliveries"
payload = {
"instance": "<string>",
"limit": 123
}
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "<content-type>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': '<content-type>'},
body: JSON.stringify({instance: '<string>', limit: 123})
};
fetch('https://composer.personal.ai/lab/api/v1/op/webhook.deliveries', 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://composer.personal.ai/lab/api/v1/op/webhook.deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'instance' => '<string>',
'limit' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://composer.personal.ai/lab/api/v1/op/webhook.deliveries"
payload := strings.NewReader("{\n \"instance\": \"<string>\",\n \"limit\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "<content-type>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://composer.personal.ai/lab/api/v1/op/webhook.deliveries")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "<content-type>")
.body("{\n \"instance\": \"<string>\",\n \"limit\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://composer.personal.ai/lab/api/v1/op/webhook.deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = '<content-type>'
request.body = "{\n \"instance\": \"<string>\",\n \"limit\": 123\n}"
response = http.request(request)
puts response.read_body{
"deliveries": [
{}
],
"deliveries[].outcome": "<string>",
"deliveries[].detail": "<string>",
"deliveries[].payload": {}
}Events & Webhooks
List Webhook Deliveries
See every event a device sent and what happened to it
POST
/
lab
/
api
/
v1
/
op
/
webhook.deliveries
List Webhook Deliveries
curl --request POST \
--url https://composer.personal.ai/lab/api/v1/op/webhook.deliveries \
--header 'Content-Type: <content-type>' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"instance": "<string>",
"limit": 123
}
'import requests
url = "https://composer.personal.ai/lab/api/v1/op/webhook.deliveries"
payload = {
"instance": "<string>",
"limit": 123
}
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "<content-type>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': '<content-type>'},
body: JSON.stringify({instance: '<string>', limit: 123})
};
fetch('https://composer.personal.ai/lab/api/v1/op/webhook.deliveries', 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://composer.personal.ai/lab/api/v1/op/webhook.deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'instance' => '<string>',
'limit' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://composer.personal.ai/lab/api/v1/op/webhook.deliveries"
payload := strings.NewReader("{\n \"instance\": \"<string>\",\n \"limit\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "<content-type>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://composer.personal.ai/lab/api/v1/op/webhook.deliveries")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "<content-type>")
.body("{\n \"instance\": \"<string>\",\n \"limit\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://composer.personal.ai/lab/api/v1/op/webhook.deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = '<content-type>'
request.body = "{\n \"instance\": \"<string>\",\n \"limit\": 123\n}"
response = http.request(request)
puts response.read_body{
"deliveries": [
{}
],
"deliveries[].outcome": "<string>",
"deliveries[].detail": "<string>",
"deliveries[].payload": {}
}Overview
Lists events received through Inbound Webhooks, newest first, with the outcome of each. Use it to find out why a device’s events aren’t being accepted. Requests refused before the key is recognized (a missing or invalid key, or a body that is too large) don’t appear. Operation name:webhook.deliveries.
Authorization
Headers
Body
Example Request
{
"instance": "front-door",
"limit": 50
}
Response
accepted, duplicate, not_declared, unregistered_type, bad_request, wrong_instance or rate_limited.The body as received. Kept for accepted events only (the last 50 per device, for 7 days).
Example Success Response
{
"deliveries": [
{
"source": "front-door",
"event_id": "evt_01",
"event_type": "doorbell.pressed",
"outcome": "accepted",
"detail": "accepted",
"received_at": "2026-11-29T18:22:10Z",
"payload": {
"type": "doorbell.pressed",
"data": {}
}
}
]
}
Example cURL
cURL
curl --request POST 'https://composer.personal.ai/lab/api/v1/op/webhook.deliveries' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{"instance": "front-door", "limit": 50}'
Error Codes
| Code | Description |
|---|---|
| 400 | The body doesn’t match the fields above, or the operation failed. The response body says why. |
| 401 | Missing or invalid API key |
| 403 | This key isn’t allowed to call this operation |