The everyday apps the person can connect for Workbot
curl --request GET \
--url https://api.openworklabs.com/v1/workbot/connections \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/workbot/connections"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.openworklabs.com/v1/workbot/connections', 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.openworklabs.com/v1/workbot/connections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.openworklabs.com/v1/workbot/connections"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.openworklabs.com/v1/workbot/connections")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/workbot/connections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"connections": [
{
"id": "<string>",
"name": "<string>",
"app": "gmail",
"ready": true,
"connectUrl": "<string>",
"nativeProviderKey": "<string>",
"connectMode": "inline"
}
],
"connectors": [
{
"id": "<string>",
"name": "<string>",
"site": "<string>"
}
],
"apps": [
{
"id": "<string>",
"name": "<string>",
"nativeProviderKey": "<string>",
"authType": "oauth",
"status": "connected",
"managedBy": "you",
"action": "connect",
"connectMode": "inline",
"connectUrl": "<string>",
"ready": true,
"iconCandidates": [
"<string>"
]
}
]
}{
"error": "unauthorized"
}{
"error": "<string>",
"message": "<string>"
}Workbot
The everyday apps the person can connect for Workbot
For the Workbot app only. connections: the Gmail or Google Workspace, Slack and Microsoft 365 connections the organization’s admins set up and this member may use, with whether each is ready for them, and where in Den they connect their own account. apps: every connector this member can use (shared with them org-wide, by team or directly, brought by a plugin they can use, native providers and their own sign-ins), connected or not, with a status from Den’s stored credential health and readiness checks; never URLs, headers, keys or tokens. connectors: every connection the member may use (id, name and website host only), so Workbot can name its work in each.
GET
/
v1
/
workbot
/
connections
The everyday apps the person can connect for Workbot
curl --request GET \
--url https://api.openworklabs.com/v1/workbot/connections \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/workbot/connections"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.openworklabs.com/v1/workbot/connections', 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.openworklabs.com/v1/workbot/connections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.openworklabs.com/v1/workbot/connections"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.openworklabs.com/v1/workbot/connections")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/workbot/connections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"connections": [
{
"id": "<string>",
"name": "<string>",
"app": "gmail",
"ready": true,
"connectUrl": "<string>",
"nativeProviderKey": "<string>",
"connectMode": "inline"
}
],
"connectors": [
{
"id": "<string>",
"name": "<string>",
"site": "<string>"
}
],
"apps": [
{
"id": "<string>",
"name": "<string>",
"nativeProviderKey": "<string>",
"authType": "oauth",
"status": "connected",
"managedBy": "you",
"action": "connect",
"connectMode": "inline",
"connectUrl": "<string>",
"ready": true,
"iconCandidates": [
"<string>"
]
}
]
}{
"error": "unauthorized"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
denApiKeybearerAuth
Was this page helpful?