List Connected Providers
curl --request GET \
--url https://api.example.com/v1/settings/providersimport requests
url = "https://api.example.com/v1/settings/providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/settings/providers', 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.example.com/v1/settings/providers",
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://api.example.com/v1/settings/providers"
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://api.example.com/v1/settings/providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/settings/providers")
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{
"data": {
"providers": [
{
"category": "<string>",
"name": "<string>",
"connected": true,
"account_id": "<string>",
"display_name": "<string>",
"scopes": [
{}
],
"connected_at": "<string>",
"last_sync_at": "<string>",
"status": "<string>",
"error_message": "<string>"
}
]
}
}Settings
List Connected Providers
Return the status of every integration connected to the workspace
GET
/
v1
/
settings
/
providers
List Connected Providers
curl --request GET \
--url https://api.example.com/v1/settings/providersimport requests
url = "https://api.example.com/v1/settings/providers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/settings/providers', 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.example.com/v1/settings/providers",
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://api.example.com/v1/settings/providers"
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://api.example.com/v1/settings/providers")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/settings/providers")
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{
"data": {
"providers": [
{
"category": "<string>",
"name": "<string>",
"connected": true,
"account_id": "<string>",
"display_name": "<string>",
"scopes": [
{}
],
"connected_at": "<string>",
"last_sync_at": "<string>",
"status": "<string>",
"error_message": "<string>"
}
]
}
}Request
Use this endpoint to surface integration status to your UI or health checks. It aggregates email, calendar, messaging, and identity providers into a single view.Query Parameters
string
Optional filter:
email, calendar, channels, identity, storage, billing.Headers
Authorization: Bearer wbk_your_api_key_here
Response
object
Show properties
Show properties
array
Show Provider status
Show Provider status
string
Provider category
string
Provider name (
gmail, microsoft, slack, google_drive, stripe, …)boolean
Whether a valid connection exists
string
Provider-side account ID
string
Friendly name
array
OAuth scopes granted
string
ISO 8601 initial connection timestamp
string
ISO 8601 timestamp of last successful sync
string
healthy, degraded, needs_reauth, or disconnectedstring
Human-readable error when not healthy
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
curl https://data.leadlex.com/functions/v1/api-gateway/v1/settings/providers \
-H "Authorization: Bearer wbk_your_api_key_here"
import requests
API_KEY = "wbk_your_api_key_here"
BASE_URL = "https://data.leadlex.com/functions/v1/api-gateway"
r = requests.get(
f"{BASE_URL}/v1/settings/providers",
headers={"Authorization": f"Bearer {API_KEY}"},
)
for p in r.json()["data"]["providers"]:
print(p["category"], p["name"], p["status"])
const res = await fetch(
'https://data.leadlex.com/functions/v1/api-gateway/v1/settings/providers',
{ headers: { Authorization: 'Bearer wbk_your_api_key_here' } },
);
const { data } = await res.json();
data.providers.forEach((p) => console.log(p.category, p.name, p.status));
Example Response
{
"data": {
"providers": [
{
"category": "email",
"name": "gmail",
"connected": true,
"account_id": "team@emasex.de",
"display_name": "Team Mailbox",
"scopes": ["gmail.readonly", "gmail.send"],
"connected_at": "2026-02-11T09:00:00Z",
"last_sync_at": "2026-04-17T10:30:00Z",
"status": "healthy",
"error_message": null
},
{
"category": "calendar",
"name": "google",
"connected": true,
"account_id": "team@emasex.de",
"display_name": "Team Calendar",
"scopes": ["calendar.readonly"],
"connected_at": "2026-02-11T09:00:00Z",
"last_sync_at": "2026-04-17T10:30:00Z",
"status": "healthy",
"error_message": null
},
{
"category": "channels",
"name": "slack",
"connected": true,
"account_id": "T01234567",
"display_name": "LeadLex Eng",
"scopes": ["chat:write", "channels:history"],
"connected_at": "2026-02-20T14:00:00Z",
"last_sync_at": "2026-04-17T10:30:00Z",
"status": "healthy",
"error_message": null
}
]
}
}
Errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing read:settings permission |
| 429 | rate_limited | Rate limit exceeded |