### IYS Campaign Push Request Body Example Source: https://developer.verimor.com.tr/smsapi Example JSON string for receiving IYS campaign daily citizen reports via PUSH. ```json { "iys_campaign_id": 1234, "report_date": "2021-01-18", "source_addr": "BASLIGIM" } ``` -------------------------------- ### Send SMS (Single/Multiple Numbers) - Plain Text Response Source: https://developer.verimor.com.tr/smsapi Example of a successful response (HTTP 200) for sending SMS via GET request. ```text 123456 ``` -------------------------------- ### Inbound SMS Payload Example Source: https://developer.verimor.com.tr/smsapi Example of the JSON payload for an inbound SMS message. ```json [ [ { "message_id": 1234, "type": "inbound", "created_at": "2017-01-01 09:00:00", "network": "TURKCELL", "source_addr": "905111111112", "destination_addr": "908501234567", "keyword": "", "content": "verimor deneme", "received_at": "2017-01-01 09:00:00" } ] ] ``` -------------------------------- ### Blacklist Records Response Source: https://developer.verimor.com.tr/smsapi Example JSON response for retrieving blacklisted phone numbers. ```json { "total": 2, "records": [ { "created_at": "2019-11-25T11:13:24.988+03:00", "phone": "905111111111", "source": "ret_web" }, { "created_at": "2020-06-02T16:59:56.957+03:00", "phone": "905111111112", "source": "oim" } ] } ``` -------------------------------- ### Send SMS Payload Source: https://developer.verimor.com.tr/smsapi Example JSON payload for sending an SMS message. ```json { "username": "9085000000", "password": "111111", "source_addr": "VERIMOR", "valid_for": "", "datacoding": 0, "is_commercial": true, "iys_recipient_type": "BIREYSEL", "send_at": "111111", "custom_id": "123456", "messages": [ { "dest": "905111111111,905111111112", "msg": "Deneme Mesaj", "id": "1234567", "iys_recipient_type": "BIREYSEL" } ] } ``` -------------------------------- ### Cancel Scheduled Message Payload Source: https://developer.verimor.com.tr/smsapi Example JSON payload for canceling a scheduled SMS message. ```json { "username": "9085000000", "password": "111111" } ``` -------------------------------- ### Gönderim Raporu (PUSH) Webhook Örneği Source: https://developer.verimor.com.tr/smsapi Bu örnek, SMS gönderim raporlarını almak için OIM'den sisteminize POST edilen JSON payload'ını göstermektedir. Her bir obje, bir mesajın durumunu, kimliğini ve diğer ilgili bilgileri içerir. ```json [{"type": "outbound", "campaign_id": 20121, "campaign_custom_id": "123456789", "message_id": "13582302", "message_custom_id": "1234", "dest": "905111111111", "size": 1, "international_multiplier": 1, "credits": 1, "status": "DELIVERED", "gsm_error": "0", "sent_at": "2015-02-20 16:06:00", "done_at": "2015-02-20 16:06:00"}, {"type": "outbound", "campaign_id": 20121, "campaign_custom_id": "123456789", "message_id": "13582303", "message_custom_id": "1235", "dest": "905111111112", "size": 1, "international_multiplier": 1, "credits": 1, "status": "DELIVERED", "gsm_error": "0", "sent_at": "2015-02-20 16:06:00", "done_at": "2015-02-20 16:06:00"}] ``` -------------------------------- ### get/v2/headers Response Sample Source: https://developer.verimor.com.tr/smsapi Bu örnek, get/v2/headers endpoint'i için olası yanıtları göstermektedir. ```json [ * "verimor", * "bulutsantralim" ] ``` -------------------------------- ### İYS Kampanyalarını Listele Response Örneği (200) Source: https://developer.verimor.com.tr/smsapi Bu örnek, İYS kampanyalarının başarıyla listelendiği durumlarda dönen JSON yanıtını göstermektedir. Kayıtlar, kampanya ID'leri, başlık adları ve oluşturulma zamanları gibi bilgileri içerir. ```json { "records": [ { "id": 103, "header_name": "VERIMOR", "iys_code": 627033, "iys_brand_code": 627033, "source": "iys", "created_at": "2021-02-10T11:58:57.508+03:00" }, { "id": 104, "header_name": "VERIMOR", "iys_code": 627033, "iys_brand_code": 627033, "source": "iys", "created_at": "2021-02-10T11:59:16.895+03:00" } ], "total": 2 } ``` -------------------------------- ### Gönderilen SMS Durum Sorgusu (ID ile) Source: https://developer.verimor.com.tr/smsapi Kampanya ID'si ile gönderilen SMS'lerin durumunu sorgulama örneği. ```json [ { "campaign_id": 25388, "campaign_custom_id": null, "message_id": 23009861, "message_custom_id": null, "dest": "905111111111", "size": 1, "international_multiplier": 1, "credits": 1, "status": "EXPIRED", "gsm_error": null, "sent_at": null, "done_at": "2025-03-19T15:27:37.348+03:00" } ] ``` -------------------------------- ### İYS İzinleri Raporu Response Örneği (200) Source: https://developer.verimor.com.tr/smsapi Bu örnek, İYS izinlerinin kampanya ID'si ile sorgulandığında dönen başarılı yanıtı göstermektedir. Kayıtlar, izin türü, alıcı, durum ve tarih gibi detayları içerir. ```json { "total": 2, "source_addr": "BASLIGIM", "status": "Tamamlandı", "records": [ { "type": "MESAJ", "source": "HS_WEB", "recipient": "905111111114", "status": "ONAY", "consent_date": "2020-06-11T22:14:00.000+03:00", "recipient_type": "BIREYSEL", "request_status": "Başarılı" }, { "type": "MESAJ", "source": "HS_WEB", "recipient": "905111111111", "status": "RET", "consent_date": "2020-06-11T22:14:00.000+03:00", "recipient_type": "BIREYSEL", "request_status": "Başarısız", "request_error": "H175 İlk defa kaydedilen bir iznin durum (status) bilgisi RET olmamalıdır." } ] } ``` -------------------------------- ### İYS İzni Gönderimi Request Body Örneği Source: https://developer.verimor.com.tr/smsapi Bu örnek, İYS'ye izin göndermek için kullanılacak JSON formatındaki request body'yi göstermektedir. Kullanıcı adı, şifre, başlık ve izin detaylarını içerir. ```json { "username": "908501234567", "password": "xxxxxxx", "source_addr": "BASLIGIM", "consents": [ { "type": "MESAJ", "source": "HS_WEB", "status": "ONAY", "recipient_type": "BIREYSEL", "consent_date": "2022-04-14 13:30:30", "recipient": "905111111111" }, { "type": "ARAMA", "source": "HS_MESAJ", "status": "RET", "recipient_type": "BIREYSEL", "consent_date": "2022-04-14 13:30:30", "recipient": "905111111112" }, { "type": "EPOSTA", "source": "HS_MESAJ", "status": "RET", "recipient_type": "BIREYSEL", "consent_date": "2022-04-14 13:30:30", "recipient": "arge@verimor.com.tr" } ] } ``` -------------------------------- ### Gelen SMS Raporu Örneği Source: https://developer.verimor.com.tr/smsapi Gelen SMS'leri sorgulama API'sinin başarılı yanıt örneği. ```json [ { "message_id": 12345, "created_at": "2017-01-01T10:00:00+03:00", "network": "TURKCELL", "source_addr": "908500000000", "destination_addr": "4609", "keyword": "verimor", "content": "verimor deneme", "received_at": "2017-01-01T10:00:00+03:00" } ] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.