Overview
Send and receive SMS, place and answer calls on real French mobile numbers, from your code.
06 Line hosts your mobile line: you buy an eSIM from the operator of your choice, we install it in a dedicated modem, and you drive it through one API. Messages and calls go out from your own number, exactly as from a phone.
Three building blocks, each doing one job:
- REST to send SMS, read your lines and history, and control calls.
- Webhooks to be told when an SMS arrives and when one you sent is delivered.
- WebRTC for the sound of calls, with the live call events on its data channel. The browser SDK handles it for you.
Quickstart
Send an SMS and receive the reply.
Authentication
API keys for servers, ephemeral keys for browsers.
Webhooks
Incoming SMS and delivery status, signed and retried.
Build a softphone
Call from a web page with the browser SDK.
SMS
Encodings, long messages, delivery status.
Calls
Place and answer calls, WebRTC sessions, without the SDK.
At a glance
| API | https://api.06line.com/v1/…, JSON |
| Webhooks | sms.received, sms.status, signed with HMAC-SHA256 |
| Call audio | WebRTC, G.711 at 8 kHz |
| Identifiers | Typed and sortable: line_…, sms_…, call_…, evt_… |
| Phone numbers | E.164, e.g. +33612345678 |
| Timestamps | RFC 3339, UTC |