46elks API introduction with code examples
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Voice, SMS & MMS for developers.

Welcome to our developer friendly API service! :-)

We make it easy for you to add custom telephony features that are perfectly suited to the way you do things – because sometimes ‘off the shelf’ just doesn't cut it.

You can use 46elks for:

  • Sending SMS text messages
  • Receiving SMS to your applications
  • Sending & receiving MMS pictures
  • Controlling incoming and outgoing telephone calls with code
  • Building interactive voice sessions
  • And other telephony features.



  1. Create your 46elks account and locate your api keys.
  2. Send your first SMS from the dashboard or with curl (see below).
  3. Send an SMS code using one of our code examples.
  4. Learn more about what you can do by reading the documentation.

Send your first SMS with curl

Use your api keys and enter this into your terminal:

curl -X POST \
  -u <API-Username>:<API-Password> \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'from=ElkCo' \
  -d 'to=+46766861647' \
  -d 'message=Test message to your phone.' \


Code examples

C - C# | .NET - Elixir - Go - Google apps - haskell - HTML - PHP - Python - Ruby - Java - Node.js - cURL

Build an interactive voice menu or response (IVR)

IVR samples collection.

Show all coding examples for all languages

Community resources


Have you written a tutorial or created an app that you're willing to share? Let us know at hello@46elks.com!


  • passer - Self-hosted "sms to twitter" written in Python
  • elkme - Send SMS from the command line


  • Postman app - Interact with APIs through a Chrome app, also available as an OSX app.



We are keen on helping out, and we'd be happy to help you with preparations, mentoring and give away boosted credit packages for participants. Talk to us. We're also particularily interested in helping events and organizations working with teaching coding to beginners, initiatives that encourage diversity in IT, and among conferences. We enjoy meetups, let us know if you’d like for someone to come and hold a presentation about APIs - getting started with apis, how to send an sms in PHP/Python/Elixir/Ruby/Go or another language - we love to learn and share! We exist to help you build useful and cool things!

Contact 46elks
Email: hello@46elks.com On twitter: @46elks