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

Ruby integration

✓ Official SDK
Install
gem install smsw-ruby-sdk
Quick start
require 'smsw-ruby-sdk'

client = SmswRubySdk::Client.new(api_key: "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-ruby-sdk
Ruby
API
thesmsworks.co.uk
thesmsworks.co.uk
At a glance
Language Ruby
Endpoints18
✓ Official