Skip to main content
The official Go SDK for the Buena.ai API provides a robust and efficient way to integrate Buena.aiโ€™s lead generation and LinkedIn automation features into your Go applications.
๐Ÿ”„ Auto-Generated: Generated with OpenAPI Generator and automatically updated via GitHub Actions.

๐Ÿ“ฆ Installation

Install the SDK using Go modules:
Or get a specific version:

๐Ÿš€ Quick Start

๐Ÿ”ง Configuration

๐Ÿ“‹ Available Operations

Leads Management

  • client.DefaultAPI.ListLeads(ctx).Execute() - List all leads with optional filtering
  • client.DefaultAPI.CreateLead(ctx).CreateLeadRequest(req).Execute() - Create a new lead
  • client.DefaultAPI.GetLead(ctx, leadId).Execute() - Get a specific lead
  • client.DefaultAPI.UpdateLead(ctx, leadId).UpdateLeadRequest(req).Execute() - Update an existing lead
  • client.DefaultAPI.DeleteLead(ctx, leadId).Execute() - Delete a lead

API Keys Management

  • client.DefaultAPI.ListApiKeys(ctx).Execute() - List all API keys
  • client.DefaultAPI.CreateApiKey(ctx).CreateApiKeyRequest(req).Execute() - Create a new API key

Health Check

  • client.DefaultAPI.HealthCheck(ctx).Execute() - Check API status

๐Ÿ”— Repository & Advanced Usage

For complete documentation, examples, and source code:

๐Ÿ“ Go SDK Repository

Access the full SDK source code, advanced examples, and detailed documentation.

๐Ÿ’ก Features

โœ… Type Safety - Full Go type definitions and compile-time checking
โœ… Context Support - Built-in context.Context support for cancellation and timeouts
โœ… Error Handling - Comprehensive error types and HTTP response details
โœ… HTTP Client Customization - Custom HTTP client configuration
โœ… Auto Updates - Automatically updated from OpenAPI spec via GitHub Actions
โœ… Production Ready - Battle-tested OpenAPI Generator with robust HTTP handling

๐Ÿ› ๏ธ Error Handling

๐Ÿ”„ Context and Cancellation

๐Ÿ“„ Working with Models

๐Ÿงช Testing

Example test using the Go SDK:

๐Ÿ†˜ Support