TelicMail
Sign in Start free
Home › Email API

A simple email API for the messages your systems send

Appointment confirmations, reminders, verification codes, bills: your software sends them, TelicMail delivers them from your own domain, signed with DKIM and logged. One endpoint, plain JSON.

Authentication

An organisation admin creates API keys on the Developers page of the admin console. A key is shown once when it is created; TelicMail stores only a hash of it. Send it as a bearer token on every request.

  • Create separate keys per system (HMIS, website, billing) and revoke them independently
  • Keys belong to one organisation and can only send from that organisation's domains
Authorization: Bearer tm_live_xxxxxxxxxxxxxxxx

Send a message

POST https://mail.teliccognitive.com/api/v1/send. Provide either your own subject and text/HTML, or a template name and its variables.

# Your own content curl -X POST https://mail.teliccognitive.com/api/v1/send \ -H "Authorization: Bearer $TELICMAIL_KEY" \ -H "Content-Type: application/json" \ -d '{ "from": "noreply@yourhospital.in", "fromName": "City Hospital", "to": ["patient@example.com"], "subject": "Your health check package", "html": "<p>Dear Meera, ...</p>", "text": "Dear Meera, ...", "replyTo": "frontdesk@yourhospital.in" }'

Request fields

fromSender address on one of your domains (required)
fromNameDisplay name
toList of recipients (required)
ccList of copy recipients
subject, text, htmlYour own content
template, variablesUse a built-in template instead
replyToWhere replies should go

Response

HTTP/1.1 200 OK { "id": "<8f2c…@yourhospital.in>", "recipients": ["patient@example.com"], "status": "sent" }

Built-in templates

Templates are written for healthcare but work for any business. List them with GET /api/v1/templates.

TemplateUse it forVariables
appointment_confirmationAppointment confirmationpatient, doctor, department, date, time, phone, hospital
report_readyReport readypatient, report, portal_link, hospital
appointment_reminderAppointment reminderpatient, doctor, date, time, hospital
otpOne-time codehospital, code, minutes
invoice_readyBill / invoice readypatient, bill_no, amount, link, hospital

The report-ready template links to your patient portal rather than attaching the report, which is the safer practice for medical records.

Message log

Every message sent through the API is recorded with sender, recipients, subject, template, status and any error. Read the latest entries with GET /api/v1/messages?limit=50 (up to 200), or see them in the admin console.

[ { "id": "<8f2c…>", "from": "appointments@yourhospital.in", "to": "patient@example.com", "subject": "Reminder: appointment tomorrow at 9:30 am", "template": "appointment_reminder", "status": "Sent", "at": "2026-11-13T04:00:00Z" } ]

Limits and errors

StatusMeaning
200Accepted and sent
400Invalid request, e.g. a sender that isn't on your domains or a missing template variable
401Missing or invalid API key
429Too many requests per second for this key, the daily sending limit was reached, or sending is paused
502The mail server couldn't accept the message; safe to retry later

Each key may make up to 20 requests per second. Daily limits per user depend on your plan (50 to 2,000 messages); see pricing.

Start sending from your own domain

Create an organisation, verify your domain and generate an API key in a few minutes.

Chat on WhatsApp
Start free, 15 days
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.