List the organization's webhook registrations.
curl --request GET \
--url https://devs.adaptyvbio.com/api/v1/webhooksimport requests
url = "https://devs.adaptyvbio.com/api/v1/webhooks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://devs.adaptyvbio.com/api/v1/webhooks', 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://devs.adaptyvbio.com/api/v1/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://devs.adaptyvbio.com/api/v1/webhooks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devs.adaptyvbio.com/api/v1/webhooks")
.asString();require 'uri'
require 'net/http'
url = URI("https://devs.adaptyvbio.com/api/v1/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"created_at": "2023-11-07T05:31:56Z",
"enabled": true,
"headers": "<unknown>",
"id": "019462a4-b1c2-7def-8901-23456789abcd",
"secret_set": true,
"updated_at": "2023-11-07T05:31:56Z",
"url": "https://example.com/adaptyv/webhook"
}
]{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}webhooks
List the organization's webhook registrations.
GET
/
api
/
v1
/
webhooks
List the organization's webhook registrations.
curl --request GET \
--url https://devs.adaptyvbio.com/api/v1/webhooksimport requests
url = "https://devs.adaptyvbio.com/api/v1/webhooks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://devs.adaptyvbio.com/api/v1/webhooks', 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://devs.adaptyvbio.com/api/v1/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://devs.adaptyvbio.com/api/v1/webhooks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devs.adaptyvbio.com/api/v1/webhooks")
.asString();require 'uri'
require 'net/http'
url = URI("https://devs.adaptyvbio.com/api/v1/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"created_at": "2023-11-07T05:31:56Z",
"enabled": true,
"headers": "<unknown>",
"id": "019462a4-b1c2-7def-8901-23456789abcd",
"secret_set": true,
"updated_at": "2023-11-07T05:31:56Z",
"url": "https://example.com/adaptyv/webhook"
}
]{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}Response
Registered webhooks for your organization
Creation timestamp.
When false, this registration receives no deliveries.
Extra HTTP headers sent with each delivery.
Registration identifier.
Example:
"019462a4-b1c2-7def-8901-23456789abcd"
Whether a signing secret is configured for this registration.
The secret itself is never returned by any endpoint. false means
deliveries fall back to Adaptyv's deployment-wide secret.
Last-modification timestamp.
HTTPS URL deliveries are POSTed to.
Example:
"https://example.com/adaptyv/webhook"
Was this page helpful?