TurkeySMS
About Us
Who we are
Why TurkeySMS
Our advantages
Media Center
Press & media
Data Privacy
Privacy & security policy
How We Work
Our values and principles
Reseller Program
Join our reseller network
Bulk SMS
High-volume messaging
Turkey SMS
Domestic carrier-level SMS
Excel to SMS
Bulk send from Excel
OTP SMSNew
One-time password delivery
E-Commerce SMS
Order & campaign notifications
E-Invoice SMS
Digital invoice notifications
WordPress Plugin
SMS integration for WordPress
WooCommerce
E-commerce SMS notifications
Make.comNew
1,000+ ready-made scenarios
ZapierNew
2,000+ app connections
n8nNew
Open-source automation
SMS API
REST API integration
Integration Hub
All integrations
Pricing
Contact Us
Get in touch
Knowledge Base
Guides and how-tos
Compliance AcademyNew
Legal SMS sending guide
Support Center
Submit a support request
Developers
API & documentation
Documentation
API reference & guides
Log inGet Started
TurkeySMS
Pricing
Log inGet Started
DocumentationV4
Overview
Core
QuickstartAuthenticationSend SMSSend OTPBulk SMSQueriesWebhooks
Reference
Response CodesDelivery LifecycleReliabilityBillingVersioningn8n Community Node
Home/Documentation/Send OTP
Stable

Send OTP

One-time password delivery — standard and custom template.

The OTP endpoints use a high-priority delivery route. The code is generated automatically by the system.

Standard OTP

/otp/send generates and sends a 4–6 digit code using the standard template.

POSThttps://api.turkeysms.com.tr/otp/send
ParameterTypeStatusDescription
api_keystringRequiredYour V4 API key.
mobilestringRequiredRecipient, international format (905xxxxxxxxx).
langintOptional0 EN · 1 TR · 2 AR/Unicode.
digitsintOptionalCode length, 4–6 (default 6).
cURL
curl -X POST https://api.turkeysms.com.tr/otp/send \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY",
    "mobile":  "905xxxxxxxxx",
    "lang":    1,
    "digits":  6
  }'

Custom OTP

/otp/detailed uses a fully custom template. The text field must contain the TS-CODE placeholder; the system replaces it with the generated code.

POSThttps://api.turkeysms.com.tr/otp/detailed
cURL
curl -X POST https://api.turkeysms.com.tr/otp/detailed \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_API_KEY",
    "mobile":  "905xxxxxxxxx",
    "title":   "MyApp",
    "text":    "MyApp code: TS-CODE (valid 5 minutes)",
    "lang":    0,
    "digits":  6
  }'
The request is rejected if the text field does not contain the TS-CODE placeholder.
PreviousSend SMSNextBulk SMS
BTK
Information and Communication Technologies Authority
İYS
Message Management System
KVKK
Personal Data Protection
ISO 27001
Information Security Management
USOM / SOME
Cyber Incident Response System
TurkeySMS

TURKEYSMS BİLİŞİM VE İLETİŞİM HİZMETLERİ TİCARET LİMİTED ŞİRKETİ
Licensed operator by the Information and Communication Technologies Authority of Turkey (BTK).

Services

Bulk SMSTurkey SMSOTP SMSSMS APIE-Commerce SMSIndustry SolutionsTest Our Service

Company

BlogNewsLicenses & CertificatesBank AccountsBrand GuideCase StudiesRequest a Callback

Support

Help CenterContact UsDeveloperIntegration HubWordPress PluginSMS Opt-Out / RETAccount Types

Legal

Trust & Compliance CenterCompliance AcademyReport Content Abuse
SSL Secure Connection
BTK Licensed Platform

© 2026 TurkeySMS. All rights reserved.
Service Status
SitemapKVKKTrust & Compliance Center