Skip to main content
GET
/
api
/
v2
/
public
/
workflow
/
enabled
curl --request GET \
  --url https://api.gocobalt.io/api/v2/public/workflow/enabled \
  --header 'Authorization: <linked_account_token>'
[
  {
    "id": "663f1a2b4e1d2c0012345678",
    "name": "Sync Contacts to HubSpot",
    "description": "Automatically syncs new contacts to HubSpot CRM",
    "icon": "https://cdn.example.com/icons/hubspot.png",
    "createdAt": "2024-05-01T10:30:00.000Z",
    "updatedAt": "2024-06-15T08:45:00.000Z",
    "config_id": "cfg_abc123xyz",
    "application": {
      "name": "HubSpot",
      "icon": "https://cdn.example.com/icons/hubspot.png",
      "description": "HubSpot CRM integration"
    }
  }
]
This API returns all organization-created workflows that are currently enabled for the authenticated linked account.

Request description

This API supports two authentication methods. You can use either a Linked Account Token OR the combination of an Org API key and linked account ID.

Authentication Option 1: Session Token

Authorization
string
required
Bearer token using the session token of the linked account.Format: Bearer <session_token>

Authentication Option 2: Org API Key + Linked Account ID

x-api-key
string
required
Your org-level Cobalt API key.
linked_account_id
string
required
The unique identifier of the linked account to scope the response to.
No query parameters or request body are required.
curl --request GET \
  --url https://api.gocobalt.io/api/v2/public/workflow/enabled \
  --header 'Authorization: <linked_account_token>'

Response description

Returns an array of enabled workflow objects. Returns an empty array [] if none are enabled.
id
string
Unique ID of the workflow.
name
string
Display name of the workflow.
description
string
Short description of what the workflow does.
icon
string
URL of the workflow’s icon.
createdAt
string
ISO 8601 timestamp of when the workflow was created.
updatedAt
string
ISO 8601 timestamp of the last update to the workflow.
config_id
string
ID of the installation config this workflow is enabled under.
application
object
The parent application this workflow belongs to.
[
  {
    "id": "663f1a2b4e1d2c0012345678",
    "name": "Sync Contacts to HubSpot",
    "description": "Automatically syncs new contacts to HubSpot CRM",
    "icon": "https://cdn.example.com/icons/hubspot.png",
    "createdAt": "2024-05-01T10:30:00.000Z",
    "updatedAt": "2024-06-15T08:45:00.000Z",
    "config_id": "cfg_abc123xyz",
    "application": {
      "name": "HubSpot",
      "icon": "https://cdn.example.com/icons/hubspot.png",
      "description": "HubSpot CRM integration"
    }
  }
]