List webhook logs
curl --request GET \
--url https://app.trypost.it/api/webhooks/{webhook}/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trypost.it/api/webhooks/{webhook}/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trypost.it/api/webhooks/{webhook}/logs', 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://app.trypost.it/api/webhooks/{webhook}/logs",
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://app.trypost.it/api/webhooks/{webhook}/logs"
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://app.trypost.it/api/webhooks/{webhook}/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trypost.it/api/webhooks/{webhook}/logs")
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{
"data": [
{
"id": "9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"event_type": "post.published",
"payload": {
"id": "9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"type": "post.published",
"data": {
"id": "9d3c1f2a-6b4e-4c8a-9f1e-2a7b5c8d0e41",
"workspace_id": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d",
"user_id": "9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"status": "published",
"created_via": "api",
"content": "We just shipped scheduled threads. Here is how they work.",
"scheduled_at": "2026-10-08T14:00:00+00:00",
"published_at": "2026-10-08T14:00:02+00:00",
"created_at": "2026-10-08T13:20:11+00:00",
"updated_at": "2026-10-08T14:00:02+00:00",
"author": {
"id": "9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"name": "Ana Souza"
},
"workspace": {
"id": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d",
"name": "TryPost"
},
"labels": [
{
"id": "9c0d1e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f",
"name": "Launch",
"color": "#2563EB"
}
],
"media": [],
"platforms": [
{
"id": "9d3c1f2b-1a2b-4c3d-8e4f-5a6b7c8d9e10",
"social_account_id": "9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54",
"platform": "x",
"content_type": "x_post",
"enabled": true,
"status": "published",
"platform_post_id": "1843456789012345678",
"platform_url": "https://x.com/trypostit/status/1843456789012345678",
"published_at": "2026-10-08T14:00:02+00:00",
"error_message": null,
"error_context": null,
"display_name": "TryPost",
"display_username": "trypostit",
"display_avatar": "https://pbs.twimg.com/profile_images/1790000000000000000/avatar_400x400.jpg",
"meta": [],
"social_account": {
"id": "9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54",
"platform": "x",
"display_name": "TryPost",
"username": "trypostit",
"status": "connected"
}
}
]
},
"created_at": "2026-10-08T14:00:02+00:00"
},
"response_status": 200,
"response_body": "ok",
"delivered_at": "2026-10-08T14:00:03+00:00",
"failed_at": null,
"attempts": 1,
"created_at": "2026-10-08T14:00:02+00:00"
}
],
"links": {
"first": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"last": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs",
"per_page": 25,
"to": 1,
"total": 1
}
}{
"message": "Unauthenticated."
}{
"message": "Active subscription required."
}{
"message": "<string>"
}{
"message": "<string>"
}{
"name": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please retry after 30 seconds."
}Webhooks
List webhook logs
Lists the webhook’s deliveries, newest first, with the body sent and the endpoint’s answer. Page size is set by the server: read meta.per_page.
GET
/
webhooks
/
{webhook}
/
logs
List webhook logs
curl --request GET \
--url https://app.trypost.it/api/webhooks/{webhook}/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trypost.it/api/webhooks/{webhook}/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trypost.it/api/webhooks/{webhook}/logs', 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://app.trypost.it/api/webhooks/{webhook}/logs",
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://app.trypost.it/api/webhooks/{webhook}/logs"
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://app.trypost.it/api/webhooks/{webhook}/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.trypost.it/api/webhooks/{webhook}/logs")
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{
"data": [
{
"id": "9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"event_type": "post.published",
"payload": {
"id": "9b2c3d50-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"type": "post.published",
"data": {
"id": "9d3c1f2a-6b4e-4c8a-9f1e-2a7b5c8d0e41",
"workspace_id": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d",
"user_id": "9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"status": "published",
"created_via": "api",
"content": "We just shipped scheduled threads. Here is how they work.",
"scheduled_at": "2026-10-08T14:00:00+00:00",
"published_at": "2026-10-08T14:00:02+00:00",
"created_at": "2026-10-08T13:20:11+00:00",
"updated_at": "2026-10-08T14:00:02+00:00",
"author": {
"id": "9b1e2d3c-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"name": "Ana Souza"
},
"workspace": {
"id": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c2d",
"name": "TryPost"
},
"labels": [
{
"id": "9c0d1e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f",
"name": "Launch",
"color": "#2563EB"
}
],
"media": [],
"platforms": [
{
"id": "9d3c1f2b-1a2b-4c3d-8e4f-5a6b7c8d9e10",
"social_account_id": "9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54",
"platform": "x",
"content_type": "x_post",
"enabled": true,
"status": "published",
"platform_post_id": "1843456789012345678",
"platform_url": "https://x.com/trypostit/status/1843456789012345678",
"published_at": "2026-10-08T14:00:02+00:00",
"error_message": null,
"error_context": null,
"display_name": "TryPost",
"display_username": "trypostit",
"display_avatar": "https://pbs.twimg.com/profile_images/1790000000000000000/avatar_400x400.jpg",
"meta": [],
"social_account": {
"id": "9c8b7a65-4d3e-4f2a-8b1c-0d9e8f7a6b54",
"platform": "x",
"display_name": "TryPost",
"username": "trypostit",
"status": "connected"
}
}
]
},
"created_at": "2026-10-08T14:00:02+00:00"
},
"response_status": 200,
"response_body": "ok",
"delivered_at": "2026-10-08T14:00:03+00:00",
"failed_at": null,
"attempts": 1,
"created_at": "2026-10-08T14:00:02+00:00"
}
],
"links": {
"first": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"last": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "https://app.trypost.it/api/webhooks/9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/logs",
"per_page": 25,
"to": 1,
"total": 1
}
}{
"message": "Unauthenticated."
}{
"message": "Active subscription required."
}{
"message": "<string>"
}{
"message": "<string>"
}{
"name": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please retry after 30 seconds."
}Authorizations
Workspace API key from Settings → API Keys.
Path Parameters
Webhook id. A webhook of another workspace returns 404.
Query Parameters
Required range:
x >= 1
