דלגו לתוכן
תיעוד
תפריט
צפייה כ־Markdown

SendSMS

POSThttps://restapidev.payplus.co.il/api/v1.0/SMS/SendSMS

סביבה

כותרות (Headers)

stringחובה
API Key
stringחובה
Secret Key

גוף הבקשה application/json

שדהסוגתיאור
nameחובהstringName of the message
typeחובהstring
phonesstring[]
contentחובהstringContent of the SMS or TTS message
groups_uidstring[][`a22015eb-1c21-2d2c-b385-662a97d3e5da`] (array,optional) - One of the parameters groups_uid, contacts_uid, phones should be send
callback_urlstringstring URL to receive SMS notifications with sending status, URL must be secure [HTTPS] and the data will be sent using POST method. SMS response can be found in the next method.
contacts_uidstring[]
send_settingsחובהobject
send_settings.dateחובהstringRequired if type is 'later'. Example: 2022-02-20
send_settings.hourחובהstringRequired if type is 'later'. Example: 16:00
send_settings.typeחובהstringPossible values are: ''immediate'' / ''later''אחד מ: immediate, later
sms_sender_uidstringShould be active sender name. Can be use only for SMS
agreement_signedחובהbooleanYou must approve our terms and conditions for every sending of message
generate_short_linksbooleanIf you would like we will create shortcut for all your links in your message content
show_unsubscribe_linkbooleanTo show unsubscribe link at the end of the SMS message type only
unsubscribe_link_titlestringWhat is the word to show in the message to unsubscribe
עריכת גוף הבקשה

תשובות

200 200
שדהסוגתיאור
brandobject
brand.namestringדוגמה: Company Name
brand.uuidstringדוגמה: 67a8cc93-75ac-4832-8386-3eb5b24bf3d0
docUIDstringדוגמה: 1fa79282-61d1-4898-b7b9-afa67f46d34a
numberstringדוגמה: SCP/50042
barcodestringדוגמה: 472819632332439
customerobject
customer.uuidstringדוגמה: faa6280f-dba5-4889-9b15-de60e1527bdc
customer.emailstringדוגמה: [email protected]
customer.phonestringדוגמה: 123456789
customer.vat_numberstringדוגמה: 1231231
customer.subject_codestringדוגמה: 987654321
customer.customer_namestringדוגמה: John Doe
doc_datestringדוגמה: 2022-11-15
doc_typestringדוגמה: inv_tax
more_infoany
currency_codestringדוגמה: ILS
customer_uuidstringדוגמה: faa6280f-dba5-4889-9b15-de60e1527bdc
copyDocAddressstringדוגמה: https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf
originalDocAddressstringדוגמה: https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf
validDocumentGeneratedbooleanדוגמה: true
total_items_base_currencyintegerדוגמה: 150
400 400
האם העמוד עזר לך?
שאלו את ה־AI

שאלו שאלה על PayPlus. התשובות מבוססות על התיעוד שפורסם, עם קישורים לעמודים שמהם נלקחו.

תשובות AI עלולות לטעות. כדאי לבדוק בעמודים המקושרים.

החשבון שלך ב־PayPlusפתיחה בכרטיסייה חדשה
SendSMS · PayPlus Docs