curl --request GET \
--url https://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.0xarchive.io/v1/webhooks/endpoints/{id}/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://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_type": "market.liquidation",
"state": "delivered",
"attempts": 1,
"next_attempt_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"payload": {},
"last_status_code": 200,
"last_error": "<string>",
"last_latency_ms": 142,
"delivered_at": "2023-11-07T05:31:56Z"
}
]
}{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"param": "limit",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05",
"success": false
}{
"code": 401,
"error": "Missing authentication credentials. Provide X-API-Key header or Bearer token.",
"error_code": "unauthorized",
"request_id": "71ed4b6f-63ef-4ae1-a123-07ffa47c1c14",
"success": false
}{
"code": 429,
"error": "Rate limit exceeded"
}List deliveries for an endpoint
0xArchive API reference for List deliveries for an endpoint. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
curl --request GET \
--url https://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.0xarchive.io/v1/webhooks/endpoints/{id}/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://api.0xarchive.io/v1/webhooks/endpoints/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_type": "market.liquidation",
"state": "delivered",
"attempts": 1,
"next_attempt_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"payload": {},
"last_status_code": 200,
"last_error": "<string>",
"last_latency_ms": 142,
"delivered_at": "2023-11-07T05:31:56Z"
}
]
}{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"param": "limit",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05",
"success": false
}{
"code": 401,
"error": "Missing authentication credentials. Provide X-API-Key header or Bearer token.",
"error_code": "unauthorized",
"request_id": "71ed4b6f-63ef-4ae1-a123-07ffa47c1c14",
"success": false
}{
"code": 429,
"error": "Rate limit exceeded"
}Authorizations
API key for authentication. Get yours at https://0xarchive.io/dashboard
Path Parameters
Endpoint identifier.
"3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10"
Query Parameters
Deliveries to return, newest first. Values outside the range are clamped to it.
1 <= x <= 200Response
The endpoint's delivery log
API response containing an endpoint's delivery log.
true
Hide child attributes
Hide child attributes
Delivery identifier.
Event identifier, stable across retries and repeat deliveries. Deduplicate on this in your receiver.
Event type delivered.
"market.liquidation"
pending is queued or waiting to retry, delivered landed, failed is the last attempt's result, and exhausted means the retry window closed without success.
pending, delivered, failed, exhausted "delivered"
Attempts made so far.
1
When the next attempt is due.
When the delivery was queued. A repeat delivery resets this to the moment it was requested.
The event body as sent, including its id, type, schema_version, observed_at and data.
HTTP status your receiver returned on the last attempt.
200
Why the last attempt failed. Null when it succeeded.
How long the last attempt took, in milliseconds.
142
When the delivery landed. Null until it does.
Was this page helpful?