Skip to main content
GET
/
api
/
v2
/
public
/
slug
/
:slug
/
config
curl -X GET "https://app.refold.ai/api/v2/public/slug/{slug}/config" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
{
  "slug": "hubspot",
  "config_id": "user_12345",
  "field_errors": [],
  "fields": [
    { "id": "699fec7a5bd27ed2af7243ad", "name": "Select", "field_type": "select" }
  ],
  "workflows": [
    { "id": "699d8648a81ba363578cc2f4", "name": "Sync Contacts", "enabled": true }
  ]
}
Retrieve the installed config for an app on a linked account, without specifying a config_id — it defaults to the linked account ID. This is the common case for a single config per account. To target a specific config ID, use Get Config by ID.

Authentication

Configs are scoped to a linked account via the linked_account_id header.
x-api-key
string
required
Your Refold API key.
linked_account_id
string
required
The linked account.

Path Parameters

slug
string
required
The app slug. Example: hubspot

Response

slug
string
The app slug.
config_id
string
The config ID (the linked account ID by default).
fields
array
Configurable fields.
workflows
array
Workflows, each {id, name, description, enabled}.
field_errors
array
Datasource resolution errors, if any.
{
  "slug": "hubspot",
  "config_id": "user_12345",
  "field_errors": [],
  "fields": [
    { "id": "699fec7a5bd27ed2af7243ad", "name": "Select", "field_type": "select" }
  ],
  "workflows": [
    { "id": "699d8648a81ba363578cc2f4", "name": "Sync Contacts", "enabled": true }
  ]
}
curl -X GET "https://app.refold.ai/api/v2/public/slug/{slug}/config" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"