{"openapi":"3.0.3","info":{"title":"InforU Mobile API (capi v2)","version":"2.0.0","description":"Generated from https://apidoc.inforu.co.il Postman collection by spec/build-openapi.mjs. Request schemas are inferred from documented examples."},"servers":[{"url":"https://poctest.inforu.co.il"}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"}}},"security":[{"basicAuth":[]}],"paths":{"/api/Automation/TriggerParameters":{"get":{"operationId":"get_Automation_TriggerParameters","summary":"Send trigger Using Parameters","tags":["Automation"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}}}},"/api/v2/Admin/CreateOrAddQuota":{"post":{"operationId":"post_Admin_CreateOrAddQuota","summary":"Create Or Add Quota","tags":["General"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Level":{"type":"string"},"LevelValue":{"type":"string"},"QuotaUsageType":{"type":"string"},"QuotaType":{"type":"string"},"QuotaAmount":{"type":"string"},"AllowChangeQuotaType":{"type":"string"}}}}}}}}}},"/api/v2/Admin/GetBlockLink":{"post":{"operationId":"post_Admin_GetBlockLink","summary":"Get Unsubscribe Link","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Username":{"type":"string"},"WithPhoneNumber":{"type":"string"}}}}}}}}}},"/api/v2/Admin/GetQuota":{"post":{"operationId":"post_Admin_GetQuota","summary":"Get Quota","tags":["General"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"QuotaUsageType":{"type":"string"},"Level":{"type":"string"},"LevelValue":{"type":"string"}}}}}}}}}},"/api/v2/Automation/Trigger":{"post":{"operationId":"post_Automation_Trigger","summary":"Send trigger using json","tags":["Automation"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"ApiEventName":{"type":"string"},"Contacts":{"type":"array","items":{"type":"object","properties":{"FirstName":{"type":"string"},"LastName":{"type":"string"},"Email":{"type":"string"},"PhoneNumber":{"type":"string"},"GenderId":{"type":"integer"},"BirthDate":{"type":"string"},"MyCustomField":{"type":"string"}}}}}}}}}}}}},"/api/v2/Contact/CheckIfUnsubscribe":{"post":{"operationId":"post_Contact_CheckIfUnsubscribe","summary":"Check if Unsubscribed","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"List":{"type":"array","items":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"}}}}}}}}}}}}},"/api/v2/Contact/CheckJobStatusByToken":{"post":{"operationId":"post_Contact_CheckJobStatusByToken","summary":"Check Status Token","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"RequestToken":{"type":"string"}}}}}}}}}},"/api/v2/Contact/CreateOrUpdateContacts":{"post":{"operationId":"post_Contact_CreateOrUpdateContacts","summary":"Create or Update Contact","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"List":{"type":"array","items":{"type":"object","properties":{"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"Email":{"type":"string"},"AddToGroupName":{"type":"string"}}}}}}}}}}}}},"/api/v2/Contact/CreateOrUpdateGroup":{"post":{"operationId":"post_Contact_CreateOrUpdateGroup","summary":"Create or Update Group","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"GroupName":{"type":"string"},"GroupId":{"type":"integer"}}}}}}}}}},"/api/v2/Contact/DeleteContacts":{"post":{"operationId":"post_Contact_DeleteContacts","summary":"Delete Contact","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"List":{"type":"array","items":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"}}}}}}}}}}}}},"/api/v2/Contact/DeleteGroup":{"post":{"operationId":"post_Contact_DeleteGroup","summary":"Delete Group","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"DeleteGroupBy":{"type":"string"},"Value":{"type":"string"},"Configuration":{"type":"string"}}}}}}}}}},"/api/v2/Contact/GetContact":{"post":{"operationId":"post_Contact_GetContact","summary":"GetContact","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"},"Configuration":{"type":"string"}}}}}}}}}},"/api/v2/Contact/GetContactList":{"post":{"operationId":"post_Contact_GetContactList","summary":"Get contact list","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"FilterBy":{"type":"string"},"FromDate":{"type":"string"},"ToDate":{"type":"string"},"OnlyForGroupId":{"type":"string"},"LastFetchedId":{"type":"integer"}}}}}}}}}},"/api/v2/Contact/GetFields":{"post":{"operationId":"post_Contact_GetFields","summary":"Get Fields","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}},"/api/v2/Contact/GetGroup":{"post":{"operationId":"post_Contact_GetGroup","summary":"Get Group","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"GetGroupBy":{"type":"string"},"Value":{"type":"string"}}}}}}}}}},"/api/v2/Contact/GetGroupList":{"post":{"operationId":"post_Contact_GetGroupList","summary":"Get group list","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{}}}}}}}}},"/api/v2/Contact/GetUnsubscribeHistory":{"post":{"operationId":"post_Contact_GetUnsubscribeHistory","summary":"GetUnsubscribeHistory","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"}}}}}}}}}},"/api/v2/Contact/GetUnsubscribeHistoryList":{"post":{"operationId":"post_Contact_GetUnsubscribeHistoryList","summary":"Get Unsubscribe History List","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Type":{"type":"string"},"FromDate":{"type":"string"},"ToDate":{"type":"string"},"Action":{"type":"string"},"LastFetchedId":{"type":"integer"}}}}}}}}}},"/api/v2/Contact/GetUnsubscribeList":{"post":{"operationId":"post_Contact_GetUnsubscribeList","summary":"Get Unsubscribe List","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"FromDate":{"type":"string"},"ToDate":{"type":"string"},"Type":{"type":"string"},"LastFetchedId":{"type":"integer"}}}}}}}}}},"/api/v2/Contact/ReactivateUnsubscribe":{"post":{"operationId":"post_Contact_ReactivateUnsubscribe","summary":"Reactivate Unsubscribe","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"ReactivationReason":{"type":"string"},"List":{"type":"array","items":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"}}}}}}}}}}}}},"/api/v2/Contact/Unsubscribe":{"post":{"operationId":"post_Contact_Unsubscribe","summary":"Unsubscribe","tags":["Contacts Interface"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"UnsubscribeReason":{"type":"string"},"List":{"type":"array","items":{"type":"object","properties":{"Type":{"type":"string"},"Value":{"type":"string"}}}}}}}}}}}}},"/api/v2/CreateOrdersBatch":{"post":{"operationId":"post_CreateOrdersBatch","summary":"Create Orders","tags":["Commerce"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Orders":{"type":"array","items":{"type":"object","properties":{"ContactRefId":{"type":"string"},"PhoneNumber":{"type":"string"},"CustomerEmail":{"type":"string"},"CustomerFirstName":{"type":"string"},"CustomerLastName":{"type":"string"},"EmailSubscriberStatus":{"type":"string"},"PhoneSubscriberStatus":{"type":"string"},"StoreNumber":{"type":"integer"},"StoreType":{"type":"string"},"IP":{"type":"string"},"OrderAmount":{"type":"string"},"OrderNumber":{"type":"string"},"OrderStatus":{"type":"string"},"OrderState":{"type":"string"},"OrderTime":{"type":"string"},"PaymentDescription":{"type":"string"},"ShippingAddress":{"type":"string"},"ShippingDescription":{"type":"string"},"BillingAddress":{"type":"string"},"OrderCustom1":{"type":"string"},"OrderCustom2":{"type":"string"},"OrderCustom3":{"type":"string"},"OrderCustom4":{"type":"string"},"OrderCustom5":{"type":"string"},"Items":{"type":"array","items":{"type":"object","properties":{"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductDescription":{"nullable":true},"ProductCustom1":{"type":"string"},"ProductCustom2":{"type":"string"},"ProductCustom3":{"type":"string"},"ProductCustom4":{"type":"string"},"ProductCustom5":{"type":"string"},"ProductImage":{"type":"string"},"ProductLink":{"type":"string"},"ProductPrice":{"type":"number"},"ProductQty":{"type":"integer"}}}}}}}}}}}}}},"/api/v2/CreateOrUpdateCategories":{"post":{"operationId":"post_CreateOrUpdateCategories","summary":"Create Or Update Categories","tags":["Commerce"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Categories":{"type":"array","items":{"type":"object","properties":{"CategoryId":{"type":"integer"},"CategoryType":{"type":"string"},"Name":{"type":"string"},"ProductCount":{"type":"integer"},"IsActive":{"type":"boolean"},"PlatformCreatedAt":{"type":"string"},"PlatformUpdatedAt":{"type":"string"}}}}}}}}}}},"/api/v2/CreateOrUpdateProducts":{"post":{"operationId":"post_CreateOrUpdateProducts","summary":"Create Or Update Products","tags":["Commerce"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Products":{"type":"array","items":{"type":"object","properties":{"ProductName":{"type":"string"},"ProductId":{"type":"string"},"SKU":{"type":"string"},"Description":{"type":"string"},"Handle":{"type":"string"},"ImageSource":{"type":"string"},"ProductType":{"type":"string"},"Price":{"type":"integer"},"Inventory":{"type":"integer"},"Tags":{"type":"integer"},"EnabledStatus":{"type":"boolean"},"PlatformCreatedAt":{"type":"string"},"PlatformUpdatedAt":{"type":"string"},"Categories":{"type":"array","items":{"type":"integer"}}}}}}}}}}}},"/api/v2/EcommerceApi":{"post":{"operationId":"post_EcommerceApi","summary":"Cart abandoned trigger simple | Cart abandoned trigger advance | New order trigger | New invoice  trigger | New newsletter subscriber trigger | New user on site registration trigger","tags":["Commerce"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Event":{"type":"string"},"CustomerEmail":{"type":"string"},"CustomerFirstName":{"type":"string"},"CustomerLastName":{"type":"string"},"SubscriberStatus":{"type":"string"},"QuoteItems":{"type":"array","items":{"type":"object","properties":{"ProductName":{"type":"string"},"ProductPrice":{"type":"string"},"ProductLink":{"type":"string"},"ProductImage":{"type":"string"},"ProductCode":{"type":"string"},"ProductQty":{"type":"string"},"ProductDescription":{"nullable":true},"ProductAttributes":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}}}}}}},"StoreName":{"type":"string"},"StoreBaseUrl":{"type":"string"},"LinkToCart":{"type":"string"},"IP":{"type":"string"},"CustomerId":{"type":"string"},"ContactRefId":{"type":"string"},"AddToGroupName":{"type":"array","items":{}},"AvailableGroups":{"type":"array","items":{}},"OrderNumber":{"type":"string"},"OrderAmount":{"type":"string"},"CompanyName":{"type":"string"},"BillingAddress":{"type":"string"},"ShippingAddress":{"type":"string"},"PaymentDescription":{"type":"string"},"ShippingDescription":{"type":"string"},"OrderTime":{"type":"string"},"OrderStatus":{"type":"string"},"OrderItems":{"type":"array","items":{"type":"object","properties":{"ProductCode":{"type":"string"},"ProductName":{"type":"string"},"ProductPrice":{"type":"number"},"ProductQty":{"type":"integer"},"ProductDescription":{"nullable":true},"ProductLink":{"type":"string"},"ProductImage":{"type":"string"},"Custom1":{"type":"string"},"Custom2":{"type":"string"},"Custom3":{"type":"string"},"Custom4":{"type":"string"},"Custom5":{"type":"string"},"ProductAttributes":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}}}}}}},"SubscriberEmail":{"type":"string"}}}}}}}}}},"/api/v2/Files/Get":{"post":{"operationId":"post_Files_Get","summary":"Get File","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"UID":{"type":"string"},"WaitForFileScaning":{"type":"boolean"}}}}}}}}}},"/api/v2/Files/Upload":{"post":{"operationId":"post_Files_Upload","summary":"File upload","tags":["General"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"ContentType":{"type":"string"},"ExpirationInMinutes":{"type":"string"},"FileName":{"type":"string"},"FileData":{"type":"string"}}}}}}}}}},"/api/v2/Otp/Authenticate":{"post":{"operationId":"post_Otp_Authenticate","summary":"Authenticate","tags":["OTP"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"OtpValue":{"type":"string"},"OtpCode":{"type":"string"},"UserName":{"type":"string"},"RequestToken":{"type":"string"}}}}}}}}}},"/api/v2/Otp/SendOtp":{"post":{"operationId":"post_Otp_SendOtp","summary":"Send Otp","tags":["OTP"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"OtpType":{"type":"string"},"OtpValue":{"type":"string"},"UserIP":{"type":"string"},"UserName":{"type":"string"},"RequestToken":{"type":"string"},"IgnorePossibleSendingTime":{"type":"boolean"},"IgnoreUnsubscribeCheck":{"type":"boolean"}}}}}}}}}},"/api/v2/PullData":{"post":{"operationId":"post_PullData","summary":"Pull DLR using json | Pull Receiving SMS using json | Pull Receiving Whatsapp using json | Pull DLR Whatsapp using json","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Type":{"type":"string"},"BatchSize":{}}}}}}}}}},"/api/v2/pushnotifications/MessageSend":{"post":{"operationId":"post_pushnotifications_MessageSend","summary":"Send Push Notification","tags":["Push Notification"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignName":{"type":"string"},"Subject":{"type":"string"},"Body":{"type":"string"},"Mode":{"type":"string"},"Data":{"type":"array","items":{"type":"object","properties":{"Key":{"type":"string"},"Value":{"type":"string"}}}},"IncludeContacts":{"type":"array","items":{"type":"object","properties":{"Device1Id":{"type":"string"},"Device1Type":{"type":"string"},"Device1StatusId":{"type":"integer"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"GenderId":{"type":"integer"},"BirthDate":{"type":"string"},"AdditionalDate":{"type":"string"}}}}}}}}}}}}},"/api/v2/SMS/DeleteFutureMessages":{"post":{"operationId":"post_SMS_DeleteFutureMessages","summary":"Delete Future Messages SMS","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"PhoneNumber":{"type":"string"},"CustomerMessageID":{"type":"string"},"CustomerParameter":{"type":"string"}}}}}}}}}},"/api/v2/SMS/GetSentMessages":{"post":{"operationId":"post_SMS_GetSentMessages","summary":"Get Sent Messages","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Phone":{"type":"string"},"FromDate":{"type":"string"},"ToDate":{"type":"string"},"Level":{"type":"string"}}}}}}}}}},"/api/v2/SMS/SendSms":{"post":{"operationId":"post_SMS_SendSms","summary":"Simple example | Advanced example","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Message":{"type":"string","minLength":1},"Recipients":{"type":"array","items":{"type":"object","properties":{"Phone":{"type":"string","pattern":"^\\+?[0-9]{9,15}$"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"Representative":{"type":"string"},"CustomerMessageID":{"type":"string"},"CustomerParameter":{"type":"string"}},"required":["Phone"]},"minItems":1},"Settings":{"type":"object","properties":{"Sender":{"type":"string","minLength":1,"maxLength":14},"CampaignName":{"type":"string"},"TimeToSend":{"type":"string"},"DelayInSeconds":{"type":"integer"},"CustomerMessageID":{"type":"string"},"CustomerParameter":{"type":"string"},"DeliveryNotificationUrl":{"type":"string"},"Priority":{"type":"integer"},"MaxSegments":{"type":"integer"},"IgnoreUnsubscribeCheck":{"type":"boolean"},"ExpireDate":{"type":"string"},"IgnorePossibleSendingTime":{"type":"boolean"},"CheckTimeRestiction":{"type":"boolean"},"ShortenUrlEnable":{"type":"boolean"},"AllowDuplicates":{"type":"boolean"},"TrackPurchaseTData":{"type":"boolean"}},"required":["Sender"]},"GroupNumbers":{"type":"array","items":{"type":"object","properties":{"GroupNumber":{"type":"integer"}}}},"ExcludeGroupNumbers":{"type":"array","items":{"type":"object","properties":{"GroupNumber":{"type":"integer"}}}}},"required":["Message","Recipients","Settings"]}},"required":["Data"]}}}}}},"/api/v2/SMS/Whitelist/AuthenticateOtp":{"post":{"operationId":"post_SMS_Whitelist_AuthenticateOtp","summary":"AuthenticateOtp","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"SenderId":{"type":"string"},"OtpCode":{"type":"string"},"UserId":{"type":"string"},"Username":{"type":"string"},"Comments":{"type":"string"}}}}}}}}}},"/api/v2/SMS/Whitelist/SenderIdIsAllowed":{"post":{"operationId":"post_SMS_Whitelist_SenderIdIsAllowed","summary":"SenderIdIsAllowed using json","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"SenderId":{"type":"string"},"CustomerId":{"type":"integer"},"Username":{"type":"string"}}}}}}}}}},"/api/v2/SMS/Whitelist/SendOtp":{"post":{"operationId":"post_SMS_Whitelist_SendOtp","summary":"SendOtp","tags":["SMS"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"SenderId":{"type":"string"},"UserId":{"type":"string"},"Username":{"type":"string"},"OtpType":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Campaign/Get":{"post":{"operationId":"post_Umail_Campaign_Get","summary":"Get Campaign","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignId":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Campaign/Job":{"post":{"operationId":"post_Umail_Campaign_Job","summary":"Get job status","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"JobToken":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Campaign/List":{"post":{"operationId":"post_Umail_Campaign_List","summary":"Get Campaign List","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignIds":{"type":"array","items":{"type":"string"}},"StartDate":{"type":"string"},"EndDate":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Campaign/Send":{"post":{"operationId":"post_Umail_Campaign_Send","summary":"Simple example | Advanced example","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignId":{"type":"string"},"Duplicate":{"type":"integer"},"IncludeContacts":{"type":"array","items":{"type":"object","properties":{"FirstName":{"type":"string"},"Email":{"type":"string"}}}}}}}}}}}}},"/api/v2/Umail/Campaign/Stop":{"post":{"operationId":"post_Umail_Campaign_Stop","summary":"Stop Future Campaign","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignId":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Campaign/Update":{"post":{"operationId":"post_Umail_Campaign_Update","summary":"Update Campaign","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"DuplicateFromCampaignId":{"type":"string"},"StringReplace":{"type":"array","items":{"type":"object","properties":{"Field":{"type":"string"},"Search":{"type":"string"},"Replace":{"type":"string"}}}}}}}}}}}}},"/api/v2/Umail/GetMailNotification":{"post":{"operationId":"post_Umail_GetMailNotification","summary":"Get Mail Notification","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"BatchSize":{"type":"string"}}}}}}}}}},"/api/v2/Umail/Message/Send":{"post":{"operationId":"post_Umail_Message_Send","summary":"Simple example | Advanced example | Example Base64 File attached","tags":["Mail"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignName":{"type":"string"},"CampaignRefId":{"type":"string"},"FromAddress":{"type":"string"},"ReplyAddress":{"type":"string"},"FromName":{"type":"string"},"Subject":{"type":"string"},"Body":{"type":"string"},"IncludeContacts":{"type":"array","items":{"type":"object","properties":{"Email":{"type":"string"},"ContactId":{"type":"integer"},"ContactRefId":{"type":"integer"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNumber":{"type":"string"},"GenderId":{"type":"integer"},"BirthDate":{"type":"string"},"AdditionalDate":{"type":"string"},"Text1":{"type":"string"},"Number1":{"type":"string"},"Date1":{"type":"string"}}}},"IgnoreUnsubscribeCheck":{"type":"string"},"EmbeddedImages":{"type":"string"},"ScheduledSending":{"type":"string"},"Attachments":{"type":"array","items":{"type":"object","properties":{"Name":{"type":"string"},"Url":{"type":"string"},"ContentType":{"type":"string"},"FileData":{"type":"string"}}}},"AllowDuplicates":{"type":"string"},"UpdateContacts":{"type":"string"},"IncludeGroupNumbers":{"type":"array","items":{"type":"string"}},"IgnorePossibleSendingTime":{"type":"string"},"TrackPurchaseTData":{"type":"string"}}}}}}}}}},"/api/v2/Voice/Campaign/SendExisting":{"post":{"operationId":"post_Voice_Campaign_SendExisting","summary":"Send Exsiting Campaign","tags":["IVR"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"CampaignId":{"type":"string"},"List":{"type":"array","items":{"type":"object","properties":{"Phone":{"type":"string"},"CustomerMessageID":{"type":"string"}}}}}}}}}}}}},"/api/v2/Voice/GetNotification":{"post":{"operationId":"post_Voice_GetNotification","summary":"Pull option using JSON","tags":["IVR"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"BatchSize":{"type":"string"}}}}}}}}}},"/api/v2/Voice/Message/Send":{"post":{"operationId":"post_Voice_Message_Send","summary":"Send Text to Speech message","tags":["IVR"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"List":{"type":"array","items":{"type":"object","properties":{"TextToSpeech":{"type":"string"},"Phone":{"type":"string"},"CustomerMessageID":{"type":"string"}}}}}}}}}}}}},"/api/v2/WhatsApp/CreateTemplate":{"post":{"operationId":"post_WhatsApp_CreateTemplate","summary":"Create Template simple | Create Template advance","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"TemplateName":{"type":"string"},"SharingLevel":{"type":"string"},"TemplateContents":{"type":"string"},"Category":{"type":"string"},"ParametersExample":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"value":{"type":"string"}}}},"Attachment":{"type":"string"},"TemplateComponents":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"buttons":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"text":{"type":"string"}}}}}}}}}}}}}}}},"/api/v2/Whatsapp/DeleteFutureMessages":{"post":{"operationId":"post_Whatsapp_DeleteFutureMessages","summary":"Delete Future Messages Whatsapp","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"PhoneNumber":{"type":"string"},"CustomerMessageID":{"type":"string"},"CustomerParameter":{"type":"string"}}}}}}}}}},"/api/v2/WhatsApp/GetTemplate":{"post":{"operationId":"post_WhatsApp_GetTemplate","summary":"Get Template","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"TemplateId":{"type":"string"}}}}}}}}}},"/api/v2/WhatsApp/GetTemplateList":{"post":{"operationId":"post_WhatsApp_GetTemplateList","summary":"Get Template List","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{}}}}}}}}},"/api/v2/WhatsApp/GetWhatsAppChats":{"post":{"operationId":"post_WhatsApp_GetWhatsAppChats","summary":"Get WhatsApp Chats","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"FromDateTime":{"type":"string"},"LastMessageDatetime":{"type":"string"}}}}}}}}}},"/api/v2/WhatsApp/SenderInfo":{"post":{"operationId":"post_WhatsApp_SenderInfo","summary":"Get Whatsapp sender info","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"array","items":{}}}}}}}}},"/api/v2/WhatsApp/SendWhatsApp":{"post":{"operationId":"post_WhatsApp_SendWhatsApp","summary":"Simple example | Advanced example | OTP example","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"TemplateId":{"type":"string"},"TemplateParameters":{"type":"array","items":{"type":"object","properties":{"Name":{"type":"string"},"Type":{"type":"string"},"Value":{"type":"string"}}}},"Recipients":{"type":"array","items":{"type":"object","properties":{"Phone":{"type":"string"},"CouponCode":{"type":"string"},"MessageMedia":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"MessageMediaFileUid":{"type":"string"},"MediaFileName":{"type":"string"}}}},"ChatAssignToMe":{"type":"boolean"},"ChatAssignToUserId":{"type":"integer"},"Buttons":{"type":"array","items":{"type":"object","properties":{"ButtonIndex":{"type":"integer"},"FieldSource":{"type":"string"},"FieldName":{"type":"string"},"payload":{"type":"string"},"Value":{"type":"string"}}}},"GroupNumbers":{"type":"array","items":{"type":"object","properties":{"GroupNumber":{"type":"string"}}}},"ExcludeGroupNumbers":{"type":"array","items":{"type":"object","properties":{"GroupNumber":{"type":"string"}}}},"Settings":{"type":"object","properties":{"CampaignName":{"type":"string"},"TimeToSend":{"type":"string"},"DelayInSeconds":{"type":"string"},"CustomerMessageID":{"type":"string"},"CustomerParameter":{"type":"string"},"DeliveryNotificationUrl":{"type":"string"},"Priority":{"type":"string"},"IgnoreUnsubscribeCheck":{"type":"string"},"ExpireDate":{"type":"string"},"IgnorePossibleSendingTime":{"type":"string"},"CheckTimeRestiction":{"type":"string"},"AllowDuplicates":{"type":"string"},"TrackPurchaseTData":{"type":"string"},"ShortenUrlEnable":{"type":"string"}}}}}}}}}}}},"/api/v2/WhatsApp/SendWhatsAppChat":{"post":{"operationId":"post_WhatsApp_SendWhatsAppChat","summary":"Send Whatsapp Chat | Send WhatsApp Interactive List Message","tags":["Whatsapp"],"responses":{"200":{"description":"OK"},"401":{"description":"Unauthorized"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"Data":{"type":"object","properties":{"Message":{"type":"string"},"Phone":{"type":"string"},"MessageMedia":{"type":"string"},"Settings":{"type":"object","properties":{"CustomerMessageId":{"type":"string"},"CustomerParameter":{"type":"string"},"IgnoreUnsubscribeCheck":{"type":"boolean"}}},"MessageSections":{"type":"object","properties":{"ButtonText":{"type":"string"},"Sections":{"type":"array","items":{"type":"object","properties":{"Title":{"type":"string"},"Rows":{"type":"array","items":{"type":"object","properties":{"Id":{"type":"string"},"Title":{"type":"string"},"Description":{"type":"string"}}}}}}}}}}}}}}}}}}}}