Get connection status
curl --request GET \
--url https://api.hq.zone/v1/api/connect/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hq.zone/v1/api/connect/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hq.zone/v1/api/connect/status', 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.hq.zone/v1/api/connect/status",
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.hq.zone/v1/api/connect/status"
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.hq.zone/v1/api/connect/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hq.zone/v1/api/connect/status")
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{
"detected": [
{
"confidence": 123,
"signal_type": "<string>",
"source": "<string>",
"value": "<string>"
}
],
"extension": {
"download_url": "<string>",
"web_store_url": "<string>"
},
"recommendations": [
{
"confidence": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"status": "<string>",
"target_slug": "<string>",
"category": "<string>",
"description": "<string>",
"display_name": "<string>",
"icon_url": "<string>",
"priority": "<string>",
"rationale": "<string>",
"reason": "<string>"
}
],
"slack": {
"connected": true,
"team_name": "<string>"
},
"teams": {
"connect_available": true,
"connected": true,
"org_name": "<string>",
"package_url": "<string>"
}
}Integrations
Get connection status
Returns the workspace’s integration connection state and recommendations in one payload: whether Slack and Microsoft Teams are connected (with team/org name when available), the browser-extension download and web-store URLs (null until published), the list of suggested or accepted integration/skill recommendations enriched with catalog name, description, category, icon, confidence, priority, and rationale, and the technology signals detected about the organization’s site and DNS. Scoped to the caller’s workspace. Requires the agents:read scope.
GET
/
v1
/
api
/
connect
/
status
Get connection status
curl --request GET \
--url https://api.hq.zone/v1/api/connect/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hq.zone/v1/api/connect/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hq.zone/v1/api/connect/status', 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.hq.zone/v1/api/connect/status",
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.hq.zone/v1/api/connect/status"
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.hq.zone/v1/api/connect/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hq.zone/v1/api/connect/status")
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{
"detected": [
{
"confidence": 123,
"signal_type": "<string>",
"source": "<string>",
"value": "<string>"
}
],
"extension": {
"download_url": "<string>",
"web_store_url": "<string>"
},
"recommendations": [
{
"confidence": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"status": "<string>",
"target_slug": "<string>",
"category": "<string>",
"description": "<string>",
"display_name": "<string>",
"icon_url": "<string>",
"priority": "<string>",
"rationale": "<string>",
"reason": "<string>"
}
],
"slack": {
"connected": true,
"team_name": "<string>"
},
"teams": {
"connect_available": true,
"connected": true,
"org_name": "<string>",
"package_url": "<string>"
}
}Authorizations
bearer_patoauth2
Response
200 - application/json
Connection state + recommendations