Get Webhook
Returns the webhook configuration currently active for the application — destination URL, the custom headers the Gateway attaches when it calls you, and which event types you are subscribed to. Read-only.
Use it to verify a configuration after an update, or to check which events an app is receiving before debugging a missing payload.
GET and the update call share the same path: sending no body reads the configuration, sending a body updates it.
curl --request GET \
--url https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook \
--header 'Authorization: Bearer <token>'import requests
url = "https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook', 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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook",
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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook"
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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook")
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": "bb17a17e-9ce1-4c78-88ac-b48f53d322bc",
"url": "https://webhook.site/89ac1ca8-22cc-42c3-9f07-49a47f8f6a13",
"headers": {
"X-Signature-Token": "s3cr3t"
},
"subscribedEvents": {
"messages": true,
"message_status": true,
"message_template_status": false,
"read": true,
"account": false
},
"isActive": true,
"createdAt": "2026-08-10T22:45:42.314912Z",
"updatedAt": "2026-08-20T13:36:56.564277Z"
},
"isSuccess": true
}{
"isSuccess": false,
"errors": {
"code": "META_075",
"group": "VALIDATION",
"description": "Template with 0000000000 not found in Meta.",
"params": {},
"fields": {}
}
}{
"isSuccess": false,
"errors": {
"code": "META_075",
"group": "VALIDATION",
"description": "Template with 0000000000 not found in Meta.",
"params": {},
"fields": {}
}
}Authorizations
Secret key in Bearer sk_... format. Server-to-server only — never embed it in a browser or mobile client. The organization is resolved from the key, so organization_id is never passed explicitly.
Path Parameters
Application ID. Must belong to the organization resolved from your secret key, otherwise the request returns 404 with APPLICATION_004.
"app_7poyXj8GXuv76e"
curl --request GET \
--url https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook \
--header 'Authorization: Bearer <token>'import requests
url = "https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook', 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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook",
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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook"
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://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.gateway.connexease.com/api/v1/apps/{app_id}/webhook")
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": "bb17a17e-9ce1-4c78-88ac-b48f53d322bc",
"url": "https://webhook.site/89ac1ca8-22cc-42c3-9f07-49a47f8f6a13",
"headers": {
"X-Signature-Token": "s3cr3t"
},
"subscribedEvents": {
"messages": true,
"message_status": true,
"message_template_status": false,
"read": true,
"account": false
},
"isActive": true,
"createdAt": "2026-08-10T22:45:42.314912Z",
"updatedAt": "2026-08-20T13:36:56.564277Z"
},
"isSuccess": true
}{
"isSuccess": false,
"errors": {
"code": "META_075",
"group": "VALIDATION",
"description": "Template with 0000000000 not found in Meta.",
"params": {},
"fields": {}
}
}{
"isSuccess": false,
"errors": {
"code": "META_075",
"group": "VALIDATION",
"description": "Template with 0000000000 not found in Meta.",
"params": {},
"fields": {}
}
}