API Reference6 min read

Plugins API Reference

Browse the plugin registry, get plugin details, and validate credentials through the Plugins API.

pluginsapiregistry

Plugins API Reference

The Plugins API provides access to the Carfluence plugin registry. Browse available plugins, get configuration details, and validate credentials before installing.

List All Plugins

bash
GET /api/v1/plugins

Response:

json
{
  "plugins": [
    {
      "slug": "callrail",
      "name": "CallRail",
      "description": "Call tracking and analytics",
      "category": "call_tracking",
      "connectionType": "api",
      "logo": "https://cdn.carfluence.io/plugins/callrail.svg",
      "status": "available",
      "dataTypes": ["calls"],
      "requiredCredentials": ["apiKey"]
    },
    {
      "slug": "google-ads",
      "name": "Google Ads",
      "description": "Advertising campaigns and leads",
      "category": "advertising",
      "connectionType": "oauth2",
      "logo": "https://cdn.carfluence.io/plugins/google-ads.svg",
      "status": "available",
      "dataTypes": ["leads", "campaigns"],
      "requiredCredentials": ["oauth2"]
    }
  ]
}

Get Plugin Details

bash
GET /api/v1/plugins/:slug

Example:

bash
GET /api/v1/plugins/callrail

Response:

json
{
  "plugin": {
    "slug": "callrail",
    "name": "CallRail",
    "description": "Call tracking and analytics for automotive dealerships",
    "category": "call_tracking",
    "connectionType": "api",
    "version": "1.0.0",
    "dataTypes": ["calls"],
    "requiredCredentials": ["apiKey"],
    "configSchema": {
      "apiKey": { "type": "string", "label": "API Key", "required": true },
      "accountId": { "type": "string", "label": "Account ID", "required": false }
    },
    "syncSchedule": "hourly",
    "documentation": "https://carfluence.io/knowledge/callrail-integration"
  }
}

Validate Plugin Credentials

bash
POST /api/v1/plugins/:slug/validate
Content-Type: application/json

{
  "credentials": {
    "apiKey": "your-api-key-here"
  }
}

Response (success):

json
{
  "valid": true,
  "accounts": [
    { "id": "123", "name": "Bob's Toyota" },
    { "id": "456", "name": "Smith Honda" }
  ]
}

Response (failure):

json
{
  "valid": false,
  "error": "Invalid API key. Please check your credentials and try again."
}

This endpoint lets you verify credentials before committing to a plugin installation. It does not store credentials or create any integration records.

Last updated: February 9, 2026