curl --request GET \
--url https://flowra.dev/api/v1/connected_accounts \
--header 'x-api-key: <api-key>'import requests
url = "https://flowra.dev/api/v1/connected_accounts"
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://flowra.dev/api/v1/connected_accounts', 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://flowra.dev/api/v1/connected_accounts",
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://flowra.dev/api/v1/connected_accounts"
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://flowra.dev/api/v1/connected_accounts")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/connected_accounts")
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{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"toolkit": {
"slug": "slack",
"name": "Slack",
"logo": "https://cdn.example.com/slack.png"
},
"authConfig": {
"id": "auth_config_123",
"authScheme": "OAUTH2",
"isProviderManaged": true,
"isDisabled": false,
"deprecated": {
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}
},
"id": "account_123",
"displayName": "Work Slack",
"label": "sara@company.com",
"eUID": "123e4567-e89b-12d3-a456-426614174000",
"status": "ACTIVE",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"state": {
"authScheme": "OAUTH2",
"val": {}
},
"statusReason": "Connection successful",
"isDisabled": false,
"testRequestEndpoint": "https://api.example.com/test",
"deprecated": {
"labels": [
"production",
"staging"
],
"uuid": "123e4567-e89b-12d3-a456-426614174000"
},
"data": {},
"params": {}
}
],
"nextCursor": "eyJwYWdlIjoyLCJsaW1pdCI6MTB9",
"totalPages": 5,
"currentPage": 1,
"totalItems": 50
}
}List connected accounts
Returns all OAuth-connected accounts (e.g. Google, Slack) linked to your project. Use these when workflows or agents need to act on behalf of a connected user.
curl --request GET \
--url https://flowra.dev/api/v1/connected_accounts \
--header 'x-api-key: <api-key>'import requests
url = "https://flowra.dev/api/v1/connected_accounts"
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://flowra.dev/api/v1/connected_accounts', 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://flowra.dev/api/v1/connected_accounts",
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://flowra.dev/api/v1/connected_accounts"
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://flowra.dev/api/v1/connected_accounts")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/connected_accounts")
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{
"success": true,
"message": "Operation completed successfully",
"data": {
"items": [
{
"toolkit": {
"slug": "slack",
"name": "Slack",
"logo": "https://cdn.example.com/slack.png"
},
"authConfig": {
"id": "auth_config_123",
"authScheme": "OAUTH2",
"isProviderManaged": true,
"isDisabled": false,
"deprecated": {
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}
},
"id": "account_123",
"displayName": "Work Slack",
"label": "sara@company.com",
"eUID": "123e4567-e89b-12d3-a456-426614174000",
"status": "ACTIVE",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"state": {
"authScheme": "OAUTH2",
"val": {}
},
"statusReason": "Connection successful",
"isDisabled": false,
"testRequestEndpoint": "https://api.example.com/test",
"deprecated": {
"labels": [
"production",
"staging"
],
"uuid": "123e4567-e89b-12d3-a456-426614174000"
},
"data": {},
"params": {}
}
],
"nextCursor": "eyJwYWdlIjoyLCJsaW1pdCI6MTB9",
"totalPages": 5,
"currentPage": 1,
"totalItems": 50
}
}Authorizations
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Headers
External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.
Query Parameters
The toolkit slugs of the connected accounts
["gmail", "slack"]
The status of the connected account
INITIALIZING, INITIATED, ACTIVE, FAILED, EXPIRED, INACTIVE The cursor to paginate through the connected accounts
"eyJpZCI6IjNmYTg1ZjY0In0="
The limit of the connected accounts to return
10
The external user ids (eUID) of the connected accounts
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
The auth config ids of the connected accounts
["auth_config_123"]
The connected account ids to filter by
["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
The order by of the connected accounts
createdAt, updatedAt The order direction of the connected accounts
asc, desc The labels of the connected accounts
["work"]
Response
Successfully retrieved connected accounts
Success status
true
Success message
"Operation completed successfully"
Show child attributes
Show child attributes
{
"items": [
{
"toolkit": {
"slug": "slack",
"name": "Slack",
"logo": "https://cdn.example.com/slack.png"
},
"authConfig": {
"id": "auth_config_123",
"authScheme": "OAUTH2",
"isProviderManaged": true,
"isDisabled": false,
"deprecated": {
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}
},
"id": "account_123",
"displayName": "Work Slack",
"label": "sara@company.com",
"eUID": "123e4567-e89b-12d3-a456-426614174000",
"status": "ACTIVE",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"state": { "authScheme": "OAUTH2", "val": {} },
"statusReason": "Connection successful",
"isDisabled": false,
"testRequestEndpoint": "https://api.example.com/test",
"deprecated": {
"labels": ["production", "staging"],
"uuid": "123e4567-e89b-12d3-a456-426614174000"
},
"data": {},
"params": {}
}
],
"nextCursor": "eyJwYWdlIjoyLCJsaW1pdCI6MTB9",
"totalPages": 5,
"currentPage": 1,
"totalItems": 50
}
Was this page helpful?