Enterprise-grade Voice, SMS, Email & AI API for Go microservices and cloud applications
🚧 Coming Soon - Use REST API for now
📦 Installation
The Go module will be available when released:
# Coming soon!
go get github.com/team-connect/go
# For now, use standard library net/http
# No external dependencies needed!
🚀 Cloud Native: Built for microservices, Kubernetes, Docker, and cloud deployments. Zero external dependencies, production-ready with context support and graceful shutdowns.
🚀 Quick Start
Here's how you'll use the Go module once it's available:
// Future module usage
package main
import (
"context"
"fmt"
"log"
"github.com/team-connect/go/teamconnect"
)
func main() {
// Initialize with your API key
client := teamconnect.NewClient("tc_live_your_api_key_here")
ctx := context.Background()
// Make a voice call
callResult, err := client.Voice.MakeCall(ctx, &teamconnect.CallRequest{
To: "+447123456789",
Message: "Hello from Team Connect!",
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("Call initiated: %s\n", callResult.CallID)
// Send an SMS
smsResult, err := client.SMS.Send(ctx, &teamconnect.SMSRequest{
To: "+447123456789",
Message: "Your verification code is 123456",
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("SMS sent: %s\n", smsResult.MessageID)
// Send an email
emailResult, err := client.Email.Send(ctx, &teamconnect.EmailRequest{
To: "customer@example.com",
Subject: "Welcome to our service",
HTML: "
Welcome!
Thanks for signing up.
",
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("Email sent: %s\n", emailResult.MessageID)
// AI Chat
aiResult, err := client.AI.Chat(ctx, &teamconnect.ChatRequest{
Messages: []teamconnect.Message{
{Role: "system", Content: "You are a helpful assistant."},
{Role: "user", Content: "Hello!"},
},
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("AI Response: %s\n", aiResult.Response)
}
🔐 Current Implementation (REST API)
Until the module is ready, use our REST API with Go's standard library:
Total: £3,950.00/month (vs £500k+ building in-house)
🐹 Perfect for Go: Our API is built for high-performance, concurrent applications. Zero external dependencies, context support, graceful shutdowns, and production-ready error handling make it ideal for cloud-native Go services.
💳 Manage Credits: Visit your
API Dashboard
to top up credits and monitor usage across your microservices.