Using smsw-go-sdk with thesmsworks.co.uk

Go integration

✓ Official SDK
Install
go get github.com/TheSMSWorks/smsw-go-sdk
Quick start
import "smsw-go-sdk"

// Initialize client
client := smsw-go-sdk.NewClient("YOUR_API_KEY")
Returns the customer ID to the caller
curl \
  -H "Authorization: $API_KEY" \
  /utils/test
Retrieve all messages in a batch with the given batch ID
curl \
  -H "Authorization: $API_KEY" \
  /batch/{batchid}
Returns the number of credits currently available on the account
curl \
  -H "Authorization: $API_KEY" \
  /credits/balance
SDK on GitHub 📄 API Docs
SDK
smsw-go-sdk
Go
API
thesmsworks.co.uk
thesmsworks.co.uk
At a glance
Language Go
Endpoints18
✓ Official