Send email over a simple REST API. Base URL: https://itwalk.in/api/index.php
Log in to your account, open Email API and create a key. You'll get a public key and a secret (shown once). Then call the API with both as headers.
Send both headers on every request:
X-Itwalk-Key: <your public key> X-Itwalk-Secret: <your secret>
POST /mail-api/send| Field | Req | Description |
|---|---|---|
to | yes | Recipient email |
subject | yes | Subject line |
html / text | yes* | Body โ provide html and/or text |
to_name, from_email, from_name, reply_to | no | Optional sender/recipient details |
curl -X POST 'https://itwalk.in/api/index.php/mail-api/send' \ -H 'Content-Type: application/json' \ -H 'X-Itwalk-Key: <key>' -H 'X-Itwalk-Secret: <secret>' \ -d '{ "to":"user@example.com", "subject":"Hello", "html":"<p>Hi</p>" }' // 200 โ { "status":"success", "message_id":"a1b2c3...", "delivery_server_id":5 }
GET /mail-api/status?message_id=โฆReturns the handoff status of a message you sent (scoped to your account).
curl 'https://itwalk.in/api/index.php/mail-api/status?message_id=a1b2c3' \ -H 'X-Itwalk-Key: <key>' -H 'X-Itwalk-Secret: <secret>'
GET /mail-api/logsList recent sends. Query params: limit (1โ100), page, status (sent/failed).
| Code | Meaning |
|---|---|
200 | Success |
401 | Missing / invalid credentials |
422 | Validation error |
429 | Rate limit / quota exceeded |
502 | Delivery server failed |
503 | No delivery server available |
Prefer clicking around? Open the interactive Swagger reference and hit โTry it outโ.