curl --request GET \
--url https://api.waycore.com/v1/webhooks/{webhookId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/webhooks/{webhookId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/webhooks/{webhookId}', 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.waycore.com/v1/webhooks/{webhookId}",
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.waycore.com/v1/webhooks/{webhookId}"
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.waycore.com/v1/webhooks/{webhookId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/webhooks/{webhookId}")
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{
"id": "<string>",
"url": "<string>",
"events": [
"connection.status_changed"
],
"secret": "<string>",
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Get Webhook
Get a single webhook registration visible to the authenticated machine principal. Access requires a machine API key with webhooks:read scope for the bound organization. Current producers emit transactions.sync_available and connection.status_changed, and test can be triggered explicitly via the API. The remaining spec-defined event types are reserved for upcoming producers.
curl --request GET \
--url https://api.waycore.com/v1/webhooks/{webhookId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/webhooks/{webhookId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/webhooks/{webhookId}', 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.waycore.com/v1/webhooks/{webhookId}",
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.waycore.com/v1/webhooks/{webhookId}"
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.waycore.com/v1/webhooks/{webhookId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/webhooks/{webhookId}")
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{
"id": "<string>",
"url": "<string>",
"events": [
"connection.status_changed"
],
"secret": "<string>",
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Authorizations
Opaque API key passed as Authorization: Bearer <key>. Keys are organization-bound, environment-bound (live or test), scope-carrying, and expiring. Create and manage keys via the console.
Path Parameters
Response
Successful Response
Stable, immutable identifier for the webhook registration.
HTTPS URL where events are delivered via POST.
2048^https://.+Event types to subscribe to. Current producers emit transactions.sync_available and connection.status_changed, and test can be triggered explicitly via the API. The remaining spec-defined event types are reserved for upcoming producers.
connection.status_changed, account.created, account.updated, transactions.sync_available, transfer.status_changed, test HMAC-SHA256 signing secret for webhook delivery verification. The server includes a Waycore-Signature header on each delivery using the format t=<unix>,v1=<hex>, where v1 is the HMAC-SHA256 of <timestamp>.<raw_body>. Only returned in full on creation; subsequent reads return a masked value.
Whether this webhook registration is enabled. Deliveries are sent only to active webhook registrations.
When the webhook was registered.
When the webhook registration last changed.
Opaque client-defined metadata.