List webhook deliveries (paginated)
curl --request GET \
--url https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries', 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.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries",
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.textsetu.com/api/v1/projects/{projectId}/webhook-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))
}HttpResponse<String> response = Unirest.get("https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries")
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{
"success": true,
"data": {
"deliveries": [
{
"id": "<string>",
"endpointId": "<string>",
"endpointUrl": "<string>",
"eventType": "branch.merged",
"eventId": "<string>",
"status": "pending",
"attempt": 123,
"responseStatus": 123,
"durationMs": 123,
"error": "<string>",
"nextAttemptAt": "<string>",
"deliveredAt": "<string>",
"replayOf": "<string>",
"createdAt": "<string>"
}
],
"total": 123,
"page": 123,
"limit": 123,
"retentionDays": 123
}
}Webhooks
List webhook deliveries (paginated)
The delivery log — every attempt to send an event to an endpoint, with its outcome. Filter by endpoint, event type, or status.
Constraints:
- Response bodies are omitted here; fetch a single delivery to see one.
GET
/
projects
/
{projectId}
/
webhook-deliveries
List webhook deliveries (paginated)
curl --request GET \
--url https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries', 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.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries",
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.textsetu.com/api/v1/projects/{projectId}/webhook-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))
}HttpResponse<String> response = Unirest.get("https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.textsetu.com/api/v1/projects/{projectId}/webhook-deliveries")
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{
"success": true,
"data": {
"deliveries": [
{
"id": "<string>",
"endpointId": "<string>",
"endpointUrl": "<string>",
"eventType": "branch.merged",
"eventId": "<string>",
"status": "pending",
"attempt": 123,
"responseStatus": 123,
"durationMs": 123,
"error": "<string>",
"nextAttemptAt": "<string>",
"deliveredAt": "<string>",
"replayOf": "<string>",
"createdAt": "<string>"
}
],
"total": 123,
"page": 123,
"limit": 123,
"retentionDays": 123
}
}Authorizations
API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.
Path Parameters
Project id (UUID) or id-embedded path slug.
Query Parameters
Only deliveries to this endpoint.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Only deliveries of this event type.
Available options:
translation_key.created, translation_key.updated, translation_key.deleted, translation_value.updated, branch.created, branch.merged, import.completed, export.completed, language.added, language.removed Only deliveries in this state.
Available options:
pending, success, failed, dead, skipped 1-based page number.
Required range:
x >= 1Page size (max 100).
Required range:
1 <= x <= 100
