Skip to main content
GET
/
v2
/
webhook_subscriptions
/
{id}
Get a webhook subscription
curl --request GET \
  --url https://thirdparty.qonto.com/v2/webhook_subscriptions/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://thirdparty.qonto.com/v2/webhook_subscriptions/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://thirdparty.qonto.com/v2/webhook_subscriptions/{id}', 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://thirdparty.qonto.com/v2/webhook_subscriptions/{id}",
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://thirdparty.qonto.com/v2/webhook_subscriptions/{id}"

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://thirdparty.qonto.com/v2/webhook_subscriptions/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://thirdparty.qonto.com/v2/webhook_subscriptions/{id}")

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": "123e4567-e89b-12d3-a456-426614174000",
  "organization_id": "123e4567-e89b-12d3-a456-426614174000",
  "membership_id": "123e4567-e89b-12d3-a456-426614174000",
  "callback_url": "https://api.partner.com/webhooks/qonto",
  "types": [
    "v1/transactions",
    "v1/accounts",
    "v1/organizations",
    "v1/memberships",
    "v1/consent-revocations",
    "v1/cards",
    "v1/payment-links",
    "v1/payment-links-connections",
    "v1/beneficiaries",
    "v1/client-invoices",
    "v1/terminal-payments",
    "v1/clients",
    "v1/products"
  ],
  "created_at": "2025-01-24T10:55:00Z",
  "updated_at": "2025-01-24T10:55:00Z",
  "description": "Production webhook for transactions"
}
{
"code": "<string>",
"detail": "<string>"
}
{
"code": "<string>",
"detail": "<string>"
}
{
"code": "<string>",
"detail": "<string>",
"source": {
"parameter": "<string>"
}
}

Authorizations

Authorization
string
header
required

Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.

Path Parameters

id
string<uuid>
required

Response

Webhook subscription retrieved successfully

id
string<uuid>
required

Unique identifier for the webhook subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

organization_id
string<uuid>
required

ID of the organization that owns this subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

membership_id
string<uuid>
required

ID of the membership that owns this subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

callback_url
string<uri>
required

The HTTPS URL where webhooks will be sent

Maximum string length: 512
Pattern: ^https://.*
Example:

"https://api.partner.com/webhooks/qonto"

types
enum<string>[]
required

The types of events to subscribe to

Minimum array length: 1
Available options:
v1/transactions,
v1/accounts,
v1/organizations,
v1/memberships,
v1/consent-revocations,
v1/cards,
v1/payment-links,
v1/payment-links-connections,
v1/beneficiaries,
v1/client-invoices,
v1/terminal-payments,
v1/clients,
v1/products
Example:
[
"v1/transactions",
"v1/accounts",
"v1/organizations",
"v1/memberships",
"v1/consent-revocations",
"v1/cards",
"v1/payment-links",
"v1/payment-links-connections",
"v1/beneficiaries",
"v1/client-invoices",
"v1/terminal-payments",
"v1/clients",
"v1/products"
]
created_at
string<date-time>
required

When the subscription was created

Example:

"2025-01-24T10:55:00Z"

updated_at
string<date-time>
required

When the subscription was last updated

Example:

"2025-01-24T10:55:00Z"

description
string

Optional description for the webhook subscription

Maximum string length: 256
Example:

"Production webhook for transactions"