Get Integration
Retrieve a specific integration by type. Users can only access their own integrations.
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
Response status information
{
"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
Unauthorized - Invalid or missing authentication