Voice and SMS API Python

One-stop-shop Python Voice and SMS API: send and receive SMS, control call in real-time, create IVR scenarios and track the sources of inbound calls

All-in-one messaging toolbox for Python developers

Send SMS from Python the effortless way

Simplify your project developments and ensure deliverability. You can get started in minutes thanks to our comprehensive Python API documentation and our Python SDK including numerous codes samples.
Need more guidance? Check out the Knowledge Base.

  • Send SMS
  • MT SMS DLR
  • Voice Broadcast
  • Real Time

Copied!

# pip install callr import callr api = callr.Api("login", "password") sender = 'SMS' to = '+16463456789' text = 'Hello CALLR API!' optionsSMS = { 'nature': 'ALERTING' } # Or 'MARKETING' result = api.call('sms.send', sender, to, text, optionsSMS)
# pip install callr

import callr
api = callr.Api("login", "password")

sender = 'SMS'
to = '+16463456789'
text = 'Hello CALLR API!'
optionsSMS = { 'nature': 'ALERTING' } # Or 'MARKETING'

result = api.call('sms.send', sender, to, text, optionsSMS)
# pip install callr import callr api = callr.Api("login","password") options = {'webhook': {'endpoint': 'http://yourdomain.com/webhook_path'}} result = api.call('sms.send', 'SMS', '+16469820820', 'Hello SMS world! (with DLR pushed to an URL endpoint)', options)
# pip install callr

import callr
api = callr.Api("login","password")

options = {'webhook': {'endpoint': 'http://yourdomain.com/webhook_path'}}

result = api.call('sms.send', 'SMS', '+16469820820', 'Hello SMS world! (with DLR pushed to an URL endpoint)', options)
# pip install callr import callr api = callr.Api("login", "password") target = { 'number': '+33123456789', 'timeout': 30 } messages = [131, 132, 'TTS|TTS_EN-GB_SERENA|Hello world! how are you ? I hope you enjoy this call. good bye.'] options = { 'cdr_field': 'userData', 'cli': 'BLOCKED', 'loop': 2 } result = api.call('sendr/simple.broadcast_1', target, messages, options)
# pip install callr
import callr
api = callr.Api("login", "password")

target = {
    'number': '+33123456789',
    'timeout': 30
}
messages = [131, 132, 'TTS|TTS_EN-GB_SERENA|Hello world! how are you ? I hope you enjoy this call. good bye.']

options = {
    'cdr_field': 'userData',
    'cli': 'BLOCKED',
    'loop': 2
}

result = api.call('sendr/simple.broadcast_1', target, messages, options)
# pip install callr import callr api = callr.Api("login", "password") options = { 'url': 'https://yourdomain.com/realtime_callback_url' } result = api.call('apps.create', 'REALTIME10', 'Your app name', options) target = { 'number': '+33132456789', 'timeout': 30 } callOptions = { 'cdr_field': '42', 'cli': 'BLOCKED' } result = api.call('dialr/call.realtime', 'appHash', target, callOptions)
# pip install callr
import callr
api = callr.Api("login", "password")
options = {
    'url': 'https://yourdomain.com/realtime_callback_url'
}
result = api.call('apps.create', 'REALTIME10', 'Your app name', options)

target = {
    'number': '+33132456789',
    'timeout': 30
}
callOptions = {
    'cdr_field': '42',
    'cli': 'BLOCKED'
}
result = api.call('dialr/call.realtime', 'appHash', target, callOptions)

Receive and Send SMS with Python

custom sender

Custom Sender ID

Use an alphanumeric sender ID and be better identified by your prospects or customers. (Local limitations may apply).

webhook

Webhooks

We provide webhooks in the form of HTTP POST (JSON payload) for all kinds of trigger events (SMS delivery reports, call statuses, billing) so that you can safely build a real-time experience for your users.

compliancy

Alerting vs Marketing Compliancy

We are compliant with rules applied by most countries in terms of whether the SMS is sent for notification or marketing purposes.

analytics

Analytics

Our API transforms your calls and SMS raw data into easy-to-digest analytics.

campaign

Campaign Manager

Campaign Manager lets you integrate a full suite of Voice & SMS Automation into you business tools. Our API helps you build the campaign that you need with a few lines of code.

shortcode

Shortcode and Long Virtual Number

For your business, you can choose between a shortcode (4 or 5 digits) and long virtual number for 2-WAY messaging. Local limitations may apply.

sip

SIP Trunking

Choose SIP trunking for cost-effective inbound and outbound calling to all destinations. Industry standard codecs supported. On-demand channels.

realtime

Real-time Call Control

We allow you to build a fully customisable phone experience with real-time routing, recording, voicemail, audio play and more. Initiate, receive and control calls to enrich your business workflows.

record

Call Recording

All calls can be recorded so you can keep record of conversations and improve quality of service.

Python SMS API with attractive prices

I wanna text in:

Voice (Billing is per second)

Inbound

$ /min

Number

$ /num/month

Outbound (landline)

$ /min

Outbound (mobile)

$ /min

SMS

Inbound

$ /sms

Outbound

$ /sms

Bulk prices apply for high volumes of texts/calls

Contact us for more information

International Python SMS API

Enjoy a low-latency, efficient SMS API with attractive prices. Send and receive texts from all around the world with our world-class infrastructure. Send SMS with Python to over 220 countries including the US, the UK or India. As a carrier, we’re able to ensure a quick and reliable delivery of your messages – all around the world.

a world map with CALLR's data centers

Craft a SMS notification system with Python

Using webhooks, you can build a flexible SMS notification system with Python, integrated with your existing infrastructure. Push event-triggered notifications to your URL endpoint: get the DLR of the SMS you send get pinged when you receive a reply.

python SMS gateway - MT SMS webhook

All the features you need to text

Appointment reminders, emergency alerts, lead generation… We have features to match all your needs, including: programmable SMS, alerting/marketing compliance, shortcodes, custom alphanumeric sender IDs and Unicode encoding support.

Three text messages to confirm a wire transfer, notify a rider a driver has arrived and confirm a doctor's appointment

More than just SMS

Go further than SMS with our one-stop-shop Python API. Initiate phone calls controlled in real time, broadcast voice messages straight to voicemail, create IVR diagram to route inbound calls or track calls made to your numbers. From SMS to voice with everything in between.

different acquisition channels bench marked against each other

How I used CALLR, Python and gSheets to build a House Hunter Bot

Davy Braun

Senior Frontend Engineer

The Python SMS API developers love

Features and Prices callr-logo
2 way SMS
Programmable SMS
Long SMS & Concatenation
Alphanumeric sender ID & Shortcodes
Python SDK and DOC
5 000 SMS to India $65
5 000 SMS to the US $91

Enhance your business communications with our voice and SMS Python API

They trust us

Forme 56Created with Avocode.

Carrier grade quality

As a carrier, we operate our own infrastructure and routes in Europe and an interconnection network with tier 1 carriers in the rest of the world. This ensures complete control over the quality of the traffic we provide for all our customers.

partnerCreated with Avocode.

Reliable partner

In 6 years, we've built and maintained a reliable and innovative worldwide network. Thanks to our efficient infrastructure and routing system, we’re able to offer both competitive pricing and premium quality.

globalCreated with Avocode.

Global network

With points of presence around the world, reach more than 220 countries with unparalleled call quality. Break into new countries and smoothly scale up existing infrastructures with our powerful network.