Email, SMS & AI under your brand.
One API connects your site to every channel — sending through your own verified domain and A2P-registered number, not a shared relay. We run the infrastructure. You build on it.
curl https://tegomarketing.com/api/v1/email/send \
-H "Authorization: Bearer tego_k_…" \
-H "Content-Type: application/json" \
-d '{
"to": "athlete@example.com",
"subject": "You're registered",
"html": "<p>See you at the start line.</p>"
}'
# → { "ok": true, "messageId": "a1b2c3…" }Your site, your product. Call one API instead of stitching together four vendors.
Every send goes out as you — your domain, your number — so deliverability and replies stay yours.
We run domains, A2P registration, wallets, and metering. You never touch the plumbing.
Four channels, one key
AI (structured)
Contacts & events
SMS
Keys that describe themselves
One call returns the channels a key can use and the identity it sends as — so your app configures itself instead of hard-coding what’s enabled.
{
"account": "sorted-luxe",
"channels": {
"email": { "enabled": true, "from": "hello@sortedluxe.com" },
"sms": { "enabled": false, "reason": "A2P pending" },
"ai": { "enabled": true }
}
}Receipts, not docs.
This isn’t a beta. Client products already run on these endpoints today — under their own domains, billed to their own accounts.
Sorted Luxe
Transactional email fires from the client site through TEGO SES — sent under their domain, tracked, and suppression-aware.
Sorted Luxe & ADK
Conversational intakes run structured Claude calls on TEGO's key — no model key on the client site, metered per account.
Alpha Win
Every confirmed race registration upserts a contact by email — tag union, custom fields merged — straight into the CRM.
From key to first send in minutes
Authenticate
Authorization: Bearer tego_k_…Send under your brand
from address and number are derived server-side from your verified domain and A2P number — callers can’t spoof identity.Everything is metered
curl https://tegomarketing.com/api/v1/ai/object \
-H "Authorization: Bearer tego_k_…" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{ "role": "user", "content": "Extract the race name and date." }
],
"schema": {
"type": "object",
"properties": {
"race": { "type": "string" },
"date": { "type": "string" }
},
"required": ["race", "date"]
}
}'
# → { "object": { "race": "Lake George Triathlon", "date": "2026-09-05" } }curl https://tegomarketing.com/api/v1/sms/send \
-H "Authorization: Bearer tego_k_…" \
-H "Content-Type: application/json" \
-d '{
"to": "+15551234567",
"body": "Alpha Win: packet pickup 7–8:30am. Reply STOP to opt out."
}'
# The from-number is your own A2P-registered number — server-derived,
# never spoofable. Requires an approved A2P number on the account.Scoped keys, no shared secrets
- Bearer keys prefixed tego_k_, encrypted at rest (AES-256-GCM).
- Per-scope grants — a key gets only what it needs.
- Account-bound keys can't be redirected to another client by the request.
Predictable JSON
Every error is JSON with a stable code and a human message. Standard statuses: 401 unauthorized, 400 validation, 403 not enabled, 404 not found.
{
"error": {
"code": "SMS_NOT_ENABLED",
"message": "No A2P-approved number on this account."
}
}Metered, not subscribed.
Every channel bills to your account, with usage visible in your Billing tab. No seat fees. No per-contact tax.
A per-account credit wallet with optional auto-recharge. You set the rate; sends draw down and reconcile after delivery.
SMS
Same wallet model, charged per segment. Routes through your own A2P number — reply attribution and opt-outs stay yours.
AI
Billed on tokens per request, metered to your account. Run Claude on TEGO's key so no model secret ever leaves the platform.