One API
Numbers, voice, SMS, MMS, RCS, and data behind a single, coherent REST surface. Learn one model, ship the whole stack.
One versioned REST API for numbers, voice, SMS, MMS, RCS, and data. Provision a real U.S. carrier number, send a text, or place a call from the same SDK, with real-time webhooks and deliverability handled for you.
Install the SDK, drop in your key, and you are talking to the carrier network. Here are the three calls you will reach for first. REST is available for everything the SDK does.
// Claim a local U.S. mobile number
import { Telegent } from '@telegent/sdk';
const tg = new Telegent(process.env.TELEGENT_KEY);
const number = await tg.numbers.provision({
type: 'mobile',
areaCode: '801',
capabilities: ['voice', 'sms', 'mms'],
});
console.log(number.msisdn); // +18015550142// Send an SMS from that number
const message = await tg.messages.send({
from: '+18015550142',
to: '+13105550188',
text: 'Your line is live on Telegent',
});
console.log(message.status); // queued
// Same call over REST:
// POST /v1/messages
// Authorization: Bearer $TELEGENT_KEY// Handle an inbound message event
export async function POST(req: Request) {
const event = await tg.webhooks.verify(req);
if (event.type === 'message.received') {
await tg.messages.send({
from: event.data.to,
to: event.data.from,
text: 'Got it, thanks!',
});
}
return new Response(null, { status: 200 });
}A clean, modern surface over real U.S. mobile infrastructure. The messy parts, deliverability, compliance, and carrier routing, are handled so you can stay in your editor.
Numbers, voice, SMS, MMS, RCS, and data behind a single, coherent REST surface. Learn one model, ship the whole stack.
Subscribe to inbound messages, call state, and delivery receipts. Signed payloads arrive in milliseconds, not minutes.
First-party SDKs for TypeScript and Python, with Go and Ruby in preview. Typed clients, sane defaults, no boilerplate.
Rich cards, media, and read receipts alongside plain SMS. One send call, graceful fallback across every carrier.
Brand and campaign registration is managed for you, so your throughput and deliverability stay carrier-grade.
Every write takes an idempotency key and every request is pinned to a date-based API version. Upgrade on your terms.
A small, tasteful sample of the surface. The paths below are illustrative. See the full, versioned reference in the docs for parameters, responses, and every resource.
Search and claim a local or toll-free U.S. mobile number, ported or net-new, ready to route in seconds.
Deliver SMS, MMS, or RCS from a Telegent number, with automatic fallback and delivery receipts.
Originate a native mobile call that carries your business identity, with recording and routing control.
List calls currently in progress and watch state transitions in real time for dashboards and routing.
Point message and call events at your endpoint. Payloads are signed so you can verify every delivery.
Endpoints shown are illustrative. Refer to the docs for the authoritative, versioned reference.
Provision a real U.S. carrier number and send your first message today. Book a demo, or dive straight into the docs.