Get Cards with Workflows
curl --request GET \
--url https://app.cardclan.io/api/integration/workflow-cards \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cardclan.io/api/integration/workflow-cards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cardclan.io/api/integration/workflow-cards', 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://app.cardclan.io/api/integration/workflow-cards",
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://app.cardclan.io/api/integration/workflow-cards"
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://app.cardclan.io/api/integration/workflow-cards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.cardclan.io/api/integration/workflow-cards")
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{
"data": [
{
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"cardId": "60f7b2b5b8f4a20015a4f5a5",
"workspaceId": "60f7b2b5b8f4a20015a4f5a4",
"createdAt": "2023-07-20T10:30:00.000Z",
"updatedAt": "2023-07-20T10:30:00.000Z",
"card": {
"_id": "60f7b2b5b8f4a20015a4f5a5",
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"title": "Welcome Card",
"mergeTags": [
{
"tagName": "name",
"type": "text"
}
]
},
"workspace": {
"_id": "60f7b2b5b8f4a20015a4f5a4",
"name": "My Business Workspace"
}
}
],
"message": "User cards with workflows"
}{
"error": "Bad Request",
"message": "Card ID is required",
"statusCode": 400,
"timestamp": "2024-01-15T10:30:00.000Z"
}Integration API
Get Workflow Cards
Retrieves all cards that have active integration workflows
GET
/
integration
/
workflow-cards
Get Cards with Workflows
curl --request GET \
--url https://app.cardclan.io/api/integration/workflow-cards \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.cardclan.io/api/integration/workflow-cards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.cardclan.io/api/integration/workflow-cards', 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://app.cardclan.io/api/integration/workflow-cards",
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://app.cardclan.io/api/integration/workflow-cards"
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://app.cardclan.io/api/integration/workflow-cards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.cardclan.io/api/integration/workflow-cards")
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{
"data": [
{
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"cardId": "60f7b2b5b8f4a20015a4f5a5",
"workspaceId": "60f7b2b5b8f4a20015a4f5a4",
"createdAt": "2023-07-20T10:30:00.000Z",
"updatedAt": "2023-07-20T10:30:00.000Z",
"card": {
"_id": "60f7b2b5b8f4a20015a4f5a5",
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"title": "Welcome Card",
"mergeTags": [
{
"tagName": "name",
"type": "text"
}
]
},
"workspace": {
"_id": "60f7b2b5b8f4a20015a4f5a4",
"name": "My Business Workspace"
}
}
],
"message": "User cards with workflows"
}{
"error": "Bad Request",
"message": "Card ID is required",
"statusCode": 400,
"timestamp": "2024-01-15T10:30:00.000Z"
}Retrieves all cards that have active integration workflows for the authenticated user. This endpoint helps you manage and monitor cards that are currently being used in automated workflows across different integration platforms.
Response Details
array
Array of cards with active integration workflows
Show Workflow card structure
Show Workflow card structure
string
Success message: “User cards with workflows”
Response Example
{
"data": [
{
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"cardId": "60f7b2b5b8f4a20015a4f5a5",
"workspaceId": "60f7b2b5b8f4a20015a4f5a4",
"createdAt": "2023-07-20T10:30:00.000Z",
"updatedAt": "2023-07-20T10:30:00.000Z",
"card": {
"_id": "60f7b2b5b8f4a20015a4f5a5",
"integrationId": "60f7b2b5b8f4a20015a4f5a7",
"title": "Welcome Card",
"mergeTags": [
{
"tagName": "name",
"type": "text"
},
{
"tagName": "email",
"type": "email"
}
]
},
"workspace": {
"_id": "60f7b2b5b8f4a20015a4f5a4",
"name": "Marketing Workspace"
}
}
],
"message": "User cards with workflows"
}
Was this page helpful?
⌘I