Skip to main content
The official PHP SDK for the Buena.ai API provides a powerful and flexible way to integrate Buena.aiโ€™s lead generation and LinkedIn automation features into your PHP applications.
๐Ÿ”„ 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