Recent delivery attempts
curl --request GET \
--url https://app.trustivan.com/api/v1/webhooks/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/webhooks/deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/webhooks/deliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/webhooks/deliveries"
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))
}{
"deliveries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"endpoint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "<string>",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payload": {},
"status": "pending",
"attempts": 123,
"created_at": "2023-11-07T05:31:56Z",
"max_attempts": 123,
"next_attempt_at": "2023-11-07T05:31:56Z",
"response_status": 123,
"error": "<string>",
"duration_ms": 123,
"delivered_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Recent delivery attempts
The troubleshooting view: whether an endpoint received the last thing that happened, and what went wrong if not. Bounded rather than paginated, because the answer is always near the top.
GET
/
webhooks
/
deliveries
Recent delivery attempts
curl --request GET \
--url https://app.trustivan.com/api/v1/webhooks/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/webhooks/deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/webhooks/deliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/webhooks/deliveries"
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))
}{
"deliveries": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"endpoint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event": "<string>",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payload": {},
"status": "pending",
"attempts": 123,
"created_at": "2023-11-07T05:31:56Z",
"max_attempts": 123,
"next_attempt_at": "2023-11-07T05:31:56Z",
"response_status": 123,
"error": "<string>",
"duration_ms": 123,
"delivered_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}