Webhooks List webhook event history
List webhook event history
Lists the webhook delivery records for your business, newest first. There is one record for each event Gravv sent you. Sandbox and live keys see separate records. You can combine all filters.
Api-Key
Query parameters
NameDescription
transaction_idExact transaction ID stored with the event. For transfers it is the first of
associated_transactions, not the transfer reference.event_typeEvent category:
transfer, inflow, account, applications.accounts, external_account, cards, collection or customer. A full event type such as transfer.status.completed matches nothing and returns an empty list.statusDelivery status. Any other value returns an empty list, not an error.
Possible values: pending, processing, sent, failed, retrying
start_dateRecords created at or after this time. Send RFC3339 (
2026-10-01T00:00:00Z), a date (2026-10-01, read as 00:00 UTC) or a datetime without a zone (read as UTC).end_dateRecords created at or before this time, in the same formats. A date alone means 00:00 of that day, so the day itself is left out. It must not be before
start_date.limitRecords per page. The API lowers a value over 100 to 100, and 0 means the default.
Default
50pagePage number, starting at 1
Default
1Response
Returns 200 OK. A page of delivery records
NameDescription
dataShow 5 child attributesobject
itemsDelivery records, newest first. Empty when nothing matches.
Show 9 child attributesobject[]
idDelivery record ID. Use it with the detail, calls and send routes.
transaction_idTransaction ID stored with the event, when there is one. For a transfer event it is the first of
associated_transactions, not the transfer reference. For a collection event it is the collection transaction_id.event_typeThe event category, such as
transfer or cards. The full event type is in the detail route's payload.event_type.pathURL path of your endpoint at the last attempt. Empty before the first attempt.
http_methodAlways POST
Possible values: POST
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
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.
created_atWhen Gravv recorded the event
last_attemptTime of the last failed attempt. The API leaves it out until an attempt fails.
items_per_pageThe page size used, after the default and the cap of 100
pageCurrent page, starting at 1
total_itemsNumber of matching records
total_pagesNumber of pages. 0 when there are no records.
errorErrors
| Status | Meaning |
|---|---|
| 200 | A page of delivery records |
| 400 | The request failed, for example start_date must not be after end_date. |
Was this page helpful? Yes No
Previous
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/webhooks/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1' \
--header 'Api-Key: <api-key>'
const response = await fetch('https://api.gravv.xyz/v1/webhooks/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1', {
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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1"
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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1", 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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1")
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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1',
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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1"))
.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/history?transaction_id=5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95&event_type=transfer&status=failed&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&limit=20&page=1");
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": {
"items": [
{
"id": "0b3c2f4e-7c1a-4e0e-9a51-2f7d1c9e8a10",
"transaction_id": "5d1e7a3b-2c4f-4b8e-9d6a-1f0e3c2b7a95",
"event_type": "transfer",
"status": "sent",
"path": "/hooks/gravv",
"http_method": "POST",
"response_status_code": 200,
"created_at": "2026-10-13T09:15:02.481263Z"
},
{
"id": "8f6d2a1c-3b5e-4c7d-8e9f-0a1b2c3d4e5f",
"event_type": "cards",
"status": "retrying",
"path": "/hooks/gravv",
"http_method": "POST",
"response_status_code": 500,
"created_at": "2026-10-13T09:10:44.102938Z",
"last_attempt": "2026-10-13T09:11:15.330127Z"
}
],
"items_per_page": 50,
"page": 1,
"total_items": 2,
"total_pages": 1
},
"error": null
}
{
"data": null,
"error": "invalid limit parameter: must be a valid integer"
}