Get webhook delivery history (webhook operations with their most recent delivery attempt) for jobs the user is entitled to, optionally filtered by a search query and/or a job id.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history', 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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history",
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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history"
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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history")
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{
"totalElements": 123,
"totalPages": 123,
"first": true,
"last": true,
"numberOfElements": 123,
"pageable": {
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"unpaged": true,
"offset": 123
},
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"size": 123,
"content": [
{
"jeoId": "<string>",
"jeoStatus": "FAILED",
"webhookName": "<string>",
"webhookUrl": "<string>",
"webhookId": "<string>",
"jobId": "<string>",
"jobName": "<string>",
"recordId": "<string>",
"recordName": "<string>",
"recordExists": true,
"webhookExists": true,
"jobExecutionId": "<string>",
"lastWebhookDeliveryAttempt": {
"status": "DELIVERED",
"attemptType": "ORIGINAL",
"responseBody": "<string>",
"httpStatusCode": 123,
"fireDate": "2023-11-07T05:31:56Z",
"retryAvailable": true
}
}
],
"number": 123,
"empty": true
}JobExecution
Find webhook history
GET
/
api
/
v1
/
jobs
/
webhook-history
Get webhook delivery history (webhook operations with their most recent delivery attempt) for jobs the user is entitled to, optionally filtered by a search query and/or a job id.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history', 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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history",
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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history"
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://{subdomain}.logicgate.com/api/v1/jobs/webhook-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/jobs/webhook-history")
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{
"totalElements": 123,
"totalPages": 123,
"first": true,
"last": true,
"numberOfElements": 123,
"pageable": {
"paged": true,
"pageNumber": 123,
"pageSize": 123,
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"unpaged": true,
"offset": 123
},
"sort": {
"sorted": true,
"unsorted": true,
"empty": true
},
"size": 123,
"content": [
{
"jeoId": "<string>",
"jeoStatus": "FAILED",
"webhookName": "<string>",
"webhookUrl": "<string>",
"webhookId": "<string>",
"jobId": "<string>",
"jobName": "<string>",
"recordId": "<string>",
"recordName": "<string>",
"recordExists": true,
"webhookExists": true,
"jobExecutionId": "<string>",
"lastWebhookDeliveryAttempt": {
"status": "DELIVERED",
"attemptType": "ORIGINAL",
"responseBody": "<string>",
"httpStatusCode": 123,
"fireDate": "2023-11-07T05:31:56Z",
"retryAvailable": true
}
}
],
"number": 123,
"empty": true
}Authorizations
ApiTokenbasic

