Skip to main content
GET
/
api
/
v1
/
webhooks
/
{endpointID}
/
deliveries
/
{deliveryID}
Get Webhook Delivery
curl --request GET \
  --url https://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}', 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://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}",
  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://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}"

	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://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.usenexio.com/api/v1/webhooks/{endpointID}/deliveries/{deliveryID}")

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
{ "delivery": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "event_id": "<string>", "endpoint_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "webhook_version": "<string>", "target_url": "<string>", "attempt_count": 123, "max_attempts": 123, "next_attempt_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "last_attempt_at": "2023-11-07T05:31:56Z", "last_status_code": 123, "last_error": "<string>", "completed_at": "2023-11-07T05:31:56Z" }, "attempts": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resend_generation": 1, "attempt_ordinal": 2, "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "outcome": "<string>", "status_code": 123, "status_class": "<string>", "error_class": "<string>", "duration_ms": 123, "next_retry_at": "2023-11-07T05:31:56Z" } ] }

Authorizations

Authorization
string
header
required

Send the credential as Authorization: Bearer <key>.

Scoped partner credentials use the exclusive nxsk_v1_... namespace. Each scoped key is bound at issuance to one organization, one canonical named environment, an explicit engine set, and a least-privilege capability set. A malformed, unknown, rotated, or revoked nxsk_ key fails closed and is never retried as a legacy key.

Capabilities used by this API are runs:write, runs:read, engines:read, webhooks:manage, runs:defensibility:read, and runs:test. Operation descriptions name the required capability. Grandfathered nx_live_... and nx_test_... keys retain their existing broad access during the compatibility window.

Path Parameters

endpointID
string<uuid>
required

Webhook endpoint UUID.

deliveryID
string<uuid>
required

Webhook delivery UUID.

Response

Delivery metadata and attempt summaries.

delivery
object
required
attempts
object[]
required