๐ Auto-Generated: Generated with OpenAPI
Generator and automatically updated via
GitHub Actions.
๐ฆ Installation
Install the SDK using Composer:๐ Quick Start
๐ง Configuration
๐ Available Operations
Leads Management
$apiInstance->listLeads($limit, $offset)
- List all leads with optional pagination$apiInstance->createLead($createLeadRequest)
- Create a new lead$apiInstance->getLead($leadId)
- Get a specific lead by ID$apiInstance->updateLead($leadId, $updateLeadRequest)
- Update an existing lead$apiInstance->deleteLead($leadId)
- Delete a lead
API Keys Management
$apiInstance->listApiKeys()
- List all API keys$apiInstance->createApiKey($createApiKeyRequest)
- Create a new API key
Health Check
$apiInstance->healthCheck()
- Check API status
๐ Repository & Advanced Usage
For complete documentation, examples, and source code:๐ PHP SDK Repository
Access the full SDK source code, advanced examples, and detailed
documentation.
๐ก Features
โ PSR-4 Autoloading - Full composer autoload supportโ Type Declarations - PHP 8.1+ type hints and return types
โ Error Handling - Comprehensive exception handling with detailed responses
โ HTTP Client Flexibility - Compatible with any PSR-18 HTTP client
โ Auto Updates - Automatically updated from OpenAPI spec via GitHub Actions
โ Production Ready - Battle-tested OpenAPI Generator with Guzzle HTTP client
๐ ๏ธ Error Handling
๐ Working with Models
๐ Pagination
๐งช Testing
Example PHPUnit test using the PHP SDK:๐ Authentication
๐ Logging and Debugging
๐ Support
- ๐ Full Documentation: SDK Repository
- ๐ฌ Discord: Join our community
- ๐ง Email: support@buena.ai