Webhooks Get webhook event details
Get webhook event details
Returns one delivery record with the stored payload, the delivery state and your endpoint's last response. Use it to see what was sent and why a delivery failed. The response does not include request headers.
Api-Key
Path parameters
NameDescription
idThe delivery record
id from the history list. It is not the event_id in the delivered body.Response
Returns 200 OK. The delivery record
NameDescription
dataShow 18 child attributesobject
idDelivery record ID
transaction_idAs in the history list. The API leaves it out when there is none.
event_idThe event's
event_group_id, the same value as the X-Event-ID header. It is not the event_id in the payload. Deduplicate on payload.event_id.event_typeThe event category, such as
transfer or cards. The full event type is in payload.event_type.statusDelivery status. A delivery moves from pending to processing, then to sent on a 2xx or to retrying on a failure. After the last allowed attempt it is failed.
Possible values: pending, processing, sent, failed, retrying
pathURL path of your endpoint. Empty before the first attempt.
http_methodPossible values:
POSTpayloadA stored copy of the event body. Its keys are in a different order from the bytes your endpoint received, so you cannot check a signature against it.
response_headersHeaders your endpoint returned on the last attempt
response_status_codeLast HTTP status from your endpoint. Null until your endpoint responds. 0 when an attempt failed before Gravv made any call, for example because no webhook URL is set or the URL is not https.
response_bodyYour endpoint's last response body, up to 64 KiB. Gravv wraps a body that is not JSON as
{"error": "Invalid JSON response", "raw": "..."}.attemptsDelivery attempts so far. Every attempt counts: a failed one, a successful one, and one that failed before Gravv sent it.
max_retriesTotal attempts allowed
last_attemptTime of the last attempt. The API leaves it out until one is made.
next_attemptWhen the next retry may run. The API leaves it out when none is due.
created_atupdated_atdelivery_attemptsEvery delivery attempt, latest first, with your endpoint's response. It leaves out the request headers.
attempts is their count.Show 11 child attributesobject[]
idAttempt ID
attempt_numberAttempt number, starting at 1
request_urlFull URL called
response_statusYour status code. Null when no response came back.
request_methodstatusResult of the attempt. Older records can say sent for a successful attempt.
Possible values: success, failed, sent
response_headersYour endpoint's response headers
response_bodyYour endpoint's response body
response_time_msTime to the response, in milliseconds
created_aterror_messageThe connection error, when there was one
errorErrors
| Status | Meaning |
|---|---|
| 200 | The delivery record |
| 400 | The request failed. An unknown ID, or one from another business or environment, returns event not found. If your endpoint's last response was JSON but not an object, this route returns failed to process event data. |
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10' \
--header 'Api-Key: <api-key>'
const response = await fetch('https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10', {
method: 'GET',
headers: {
'Api-Key': '<api-key>',
},
});
const data = await response.json();
console.log(response.status, data);
import requests
url = "https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10"
headers = {
"Api-Key": "<api-key>",
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10", nil)
if err != nil {
panic(err)
}
req.Header.Set("Api-Key", "<api-key>")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(res.Status)
fmt.Println(string(body))
}
require "net/http"
require "uri"
uri = URI("https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
request["Api-Key"] = "<api-key>"
response = http.request(request)
puts response.code
puts response.body
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Api-Key: <api-key>',
],
]);
$response = curl_exec($ch);
if ($response === false) {
throw new RuntimeException(curl_error($ch));
}
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
echo $status, PHP_EOL, $response, PHP_EOL;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10"))
.header("Api-Key", "<api-key>")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode());
System.out.println(response.body());
}
}
using System.Net.Http;
using System.Text;
using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.gravv.xyz/v1/webhooks/event/0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10");
request.Headers.TryAddWithoutValidation("Api-Key", "<api-key>");
using var response = await client.SendAsync(request);
Console.WriteLine((int)response.StatusCode);
Console.WriteLine(await response.Content.ReadAsStringAsync());
Responseapplication/json
200400OK
{
"data": {
"id": "0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10",
"transaction_id": "5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95",
"event_id": "9a7c1e52-6b3d-4f0a-8e21-7d5c4b3a2f10",
"event_type": "transfer",
"status": "sent",
"path": "/hooks/gravv",
"http_method": "POST",
"payload": {
"event_category": "transfer",
"event_data": {
"amount": "100.5",
"associated_transactions": [
"5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95"
],
"client_reference": "inv-2291",
"reference": "9a7c1e52-6b3d-4f0a-8e21-7d5c4b3a2f10",
"status": "completed",
"transfer_status": "completed"
},
"event_group_id": "9a7c1e52-6b3d-4f0a-8e21-7d5c4b3a2f10",
"event_id": "e4b1c0d2-3f5a-4e6b-8c7d-9a0b1c2d3e4f",
"event_type": "transfer.status.completed",
"idempotency_key": "9a7c1e52-6b3d-4f0a-8e21-7d5c4b3a2f10:4",
"timestamp": "2026-10-13T09:15:02.481263Z",
"transaction_id": "5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95"
},
"response_headers": {
"Content-Type": [
"application/json"
]
},
"response_status_code": 200,
"response_body": {
"received": true
},
"attempts": 0,
"max_retries": 50,
"created_at": "2026-10-13T09:15:02.512004Z",
"updated_at": "2026-10-13T09:15:31.004417Z"
},
"error": null
}
{
"data": null,
"error": "event not found"
}