List connections
curl --request GET \
--url https://api.markifact.com/v1/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.markifact.com/v1/connections"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.markifact.com/v1/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.markifact.com/v1/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 => [
"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.markifact.com/v1/connections"
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.markifact.com/v1/connections")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.markifact.com/v1/connections")
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": "<string>",
"type": "<string>",
"is_private": true,
"display_name": "<string>",
"external_id": "<string>",
"created_at": 123,
"updated_at": 123
}
]{
"detail": "<unknown>"
}Connections
List connections
List API-visible connections in your Markifact team workspace.
GET
/
v1
/
connections
List connections
curl --request GET \
--url https://api.markifact.com/v1/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.markifact.com/v1/connections"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.markifact.com/v1/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.markifact.com/v1/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 => [
"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.markifact.com/v1/connections"
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.markifact.com/v1/connections")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.markifact.com/v1/connections")
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": "<string>",
"type": "<string>",
"is_private": true,
"display_name": "<string>",
"external_id": "<string>",
"created_at": 123,
"updated_at": 123
}
]{
"detail": "<unknown>"
}Returns shared connections owned by your team, plus private connections owned by the user who created the API key.
Endpoint
GET /v1/connections
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
external_id | string | No | Filter connections by the external ID you provided when creating the auth link. |
type | string | No | Filter connections by connection type, such as ga4, gads, or meta_ads. |
Example Request
curl "https://api.markifact.com/v1/connections?external_id=customer_123&type=ga4" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
[
{
"id": "1f2e3d4c-0000-0000-0000-000000000000",
"type": "ga4",
"display_name": "login@example.com",
"external_id": "customer_123",
"is_private": false,
"created_at": 1764000000000,
"updated_at": 1764000000000
}
]
Connection Object
| Field | Type | Description |
|---|---|---|
id | string | Public Markifact connection ID. |
type | string | Connection type. |
display_name | string or null | Display name for the connection. |
external_id | string or null | External ID from the auth link, if provided. |
is_private | boolean | Whether the connection is private to the API key’s owning user. |
created_at | integer or null | Created timestamp in milliseconds. |
updated_at | integer or null | Updated timestamp in milliseconds. |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter connections by the external ID you provided when creating the auth link.
Filter connections by connection type.
Example:
"ga4"

