Skip to main content

Get Integration

Retrieve a specific integration by type. Users can only access their own integrations.
path
string
required
Integration type (e.g., ‘elevenlabs’, ‘openai’, ‘anthropic’)
curl -X GET "https://api.example.com/api/v1/integrations/elevenlabs" \
  -H "X-API-Key: your-api-key-here"

Response

status
object
Response status information
code
integer
HTTP status code (200)
message
string
Status message
data
object
Integration object
{
  "status": {
    "code": 200,
    "message": "Success"
  },
  "data": {
    "id": 1,
    "integration_type": "elevenlabs",
    "config": {
      "api_key": "sk_***"
    },
    "schema": {
      "required": ["api_key"],
      "optional": [],
      "fields": {
        "api_key": {
          "type": "string",
          "description": "ElevenLabs API key"
        }
      }
    },
    "user_id": 1,
    "user_email": "[email protected]",
    "created_at": "2024-01-10T08:00:00Z",
    "updated_at": "2024-01-10T08:00:00Z"
  }
}

Error Responses

401
object
Unauthorized - Invalid or missing authentication
404
object
Integration not found