Setting up SMS and İYS consent

Connect your NetGSM or Twilio account, get a sender header approved, switch on order SMS templates and set up İYS consent for marketing.

5 min readLast updated: 2026-08-30

The SMS plugin sends order-received, shipped and delivered messages to the customer's phone, and can carry campaign coupons over the same channel. In Turkey those two are legally distinct: a transactional SMS may go to the customer who placed the order, while a commercial/marketing SMS may only be sent if the recipient's consent is registered in the national İleti Yönetim Sistemi (İYS). Half of this setup is about configuring that distinction correctly.

Before you start

  • The SMS plugin enabled on your store
  • A NetGSM account (or Twilio for international sending)
  • A 3-11 character sender header approved by NetGSM
  • Your İYS brand code, if you will send marketing SMS

Steps

Screens are illustrative; the data in your own panel will differ.

  1. Step 1: Choose the sending mode

    On SMS → Kurulum, 'Gönderim Modu' offers two options. With 'Kendi Hesabım' messages go straight from your own balance under your own sender name, and you manage the balance in your provider's panel. With 'Platform Hesabı' you send through Mağazamhazır's NetGSM account: you first get a sender header approved, then top up SMS credit.

    SMS setup

    My own accountPlatform Account

    Enter your own provider credentials. SMS is billed to your balance and sent under your own sender name.

    SMS provider
    NetGSM
    SMS setup — example view from the panel
  2. Step 2: Create two NetGSM API sub-users

    Skip this and half your traffic is rejected. NetGSM will not grant one sub-user both transactional and commercial content rights. Create two separate API sub-users in your NetGSM panel — one allowed to send informational SMS, one allowed to send commercial content only. The user code is the same for both; only the password differs.

    NetGSM API sub-user passwords

    You are running on a single password — one of the two send types will always be rejected.

    User Code
    8503021122
    Transactional SMS password
    ••••••••

    Order confirmation, shipped and delivered messages go out with this user.

    Commercial / marketing SMS password
    ••••••••

    Campaign SMS and ALL İYS operations run with this user.

    Test transactional passwordTest commercial / İYS password
    NetGSM API sub-user passwords — example view from the panel
  3. Step 3: Enter the sender header and İYS brand code

    'Gönderici Başlığı' is the 3-11 character approved header the customer sees as the sender. The 'İYS Marka Kodu' field is the key to the marketing side: fill it in and customers who opt into marketing SMS are registered with İYS automatically. Check the credentials with 'Doğrula' and press 'Kaydet'.

    NetGSM account details

    Sender header
    MAYAFIRIN

    3-11 characters, approved by NetGSM.

    İYS Brand Code
    123456

    Required for İYS registration. Left empty, İYS integration is fully disabled.

    ValidateSave
    NetGSM account details — example view from the panel
  4. Step 4: On the platform account, submit a header request

    In 'Platform Hesabı' mode, if you have no header of your own you fill in the 'Gönderici Başlığı Talebi' form: requested header (uppercase and digits only), company type, legal company title and tax/ID number. Upload your company documents, such as a tax certificate, and press 'Başlık Talebi Gönder'. The request moves from pending review to submitted to the operator and finally approved.

    Pending Review

    Sender header request

    Requested Header
    MAYAFIRIN

    3-11 characters, UPPERCASE and digits only (A-Z, 0-9).

    Company Type
    Limited company
    Company Title
    Maya Fırıncılık Gıda Ltd. Şti.
    Tax / ID number
    6120458899
    1. 1Pending Review
    2. 2Submitted to operator
    3. 3Approved
    Submit Header Request
    Sender header request — example view from the panel
  5. Step 5: Tick the İYS consent box

    At the bottom of the setup page, the 'İYS Onayı' section is where you declare that you hold the required commercial electronic message permissions and comply with İYS rules. Without it no marketing SMS is sent — a coupon SMS attempt returns 'SMS gönderilmedi: İYS onayı verilmemiş'. Order notifications work independently of this box.

    İYS consent

    I confirm I hold the required commercial electronic message permissions and comply with İYS legislation.

    açık

    İYS consent given.

    İYS consent — example view from the panel
  6. Step 6: Enable the SMS templates and write the copy

    On SMS → Şablonlar each template sits in its own card, not in a list. The card title is the template name, the line beneath it is the 'İşlemsel' or 'Pazarlama' label, and the switch in its top-right corner turns that template on or off; a template whose text you have edited also carries an 'Özelleştirildi' pill. While writing the body, click the variable chips underneath to insert store name, order code or tracking code. Watch the character/segment counter under the text: anything over 160 characters is billed as a second SMS. Use 'Test Gönder' to try it on your own number.

    SMS templates

    Order received

    Customized

    Transactional

    Order shipped

    Transactional

    Order delivered

    Transactional

    Campaign coupon

    Marketing

    Message body
    {{store_name}}: order {{order_code}} has shipped. Tracking: {{tracking_code}}

    138 characters · roughly 1 SMS

    Send testReset to defaultSave
    SMS templates — example view from the panel
  7. Step 7: Sync İYS registrations and watch what is sent

    SMS → Kayıtlı Numaralar shows each customer's İYS consent state. 'Senkronize Et' registers newly consenting customers with İYS; 'İYS ile Karşılaştır' compares your record against İYS's answer and heals the differences. Every message sent is listed on SMS → SMS Kayıtları with its status and cost.

    İYS registrations

    CustomerPhoneOur RecordStateUpdated
    Selin Aydın+90 532 *** 41 08ConsentApproved28.08.2026
    Kerem Doğan+90 505 *** 77 12RefusalDeclined24.08.2026
    Ayşe Tunç+90 542 *** 90 63ConsentUnregisteredNever checked

    1 customer in the campaign target has no İYS registration at all. NetGSM will reject those numbers.

    Sync nowReconcile with İYSExport CSV
    İYS registrations — example view from the panel

Tips

An empty brand code switches İYS off entirely

Leave 'İYS Marka Kodu' blank and no customer is ever registered with İYS; campaigns then rest on your own declaration alone. Even with complete NetGSM credentials, that one field silently disables the whole marketing lane.

'Tümünü Kaydet' is a legal declaration

That button also registers customers who never gave explicit consent — those merely treated as opted in by your store's default — as CONSENT in İYS. Under Turkish law 6563 this means you are declaring that you hold their commercial message permission. Do not register numbers you cannot evidence.

Frequently asked questions

The coupon SMS was not sent. Why?
The panel states the reason. The three most common: no İYS consent has been given, the 'Kampanya Kuponu' template is switched off, and the customer is not registered for marketing SMS. Check the İYS consent box, that template on the Şablonlar page, and the customer's own consent state in that order.
Can I register İYS consent while on the platform account?
No. İYS registration only works when you have connected your own NetGSM account. To send marketing SMS from the platform account you must first switch to 'Kendi Hesabım' and enter your own NetGSM credentials.
I use Twilio — how does İYS work there?
It does not. Twilio has no İYS API, so İYS registration is only possible with NetGSM. Twilio suits international sending; if you will send marketing SMS inside Turkey, choose the NetGSM provider.

Related plugins

The task in this guide ships with these plugins.

Try it in a live demo

Real stores running this feature. Open one and click around.

Related guides

Live Instantly — Launch Your Website Today

Launch your website today.

Start for free. No credit card required. Blog, store, restaurant page, or portfolio — your site is ready in minutes.

No credit card required