Skip to content
Docs
Menu
View as Markdown

SendSMS

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

Environment

Headers

stringrequired
API Key
stringrequired
Secret Key

Request body application/json

FieldTypeDescription
namerequiredstringName of the message
typerequiredstring
phonesstring[]
contentrequiredstringContent 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_settingsrequiredobject
send_settings.daterequiredstringRequired if type is 'later'. Example: 2022-02-20
send_settings.hourrequiredstringRequired if type is 'later'. Example: 16:00
send_settings.typerequiredstringPossible values are: ''immediate'' / ''later''One of: immediate, later
sms_sender_uidstringShould be active sender name. Can be use only for SMS
agreement_signedrequiredbooleanYou 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
Edit the request body

Responses

200 200
FieldTypeDescription
brandobject
brand.namestringExample: Company Name
brand.uuidstringExample: 67a8cc93-75ac-4832-8386-3eb5b24bf3d0
docUIDstringExample: 1fa79282-61d1-4898-b7b9-afa67f46d34a
numberstringExample: SCP/50042
barcodestringExample: 472819632332439
customerobject
customer.uuidstringExample: faa6280f-dba5-4889-9b15-de60e1527bdc
customer.emailstringExample: [email protected]
customer.phonestringExample: 123456789
customer.vat_numberstringExample: 1231231
customer.subject_codestringExample: 987654321
customer.customer_namestringExample: John Doe
doc_datestringExample: 2022-11-15
doc_typestringExample: inv_tax
more_infoany
currency_codestringExample: ILS
customer_uuidstringExample: faa6280f-dba5-4889-9b15-de60e1527bdc
copyDocAddressstringExample: https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf
originalDocAddressstringExample: https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf
validDocumentGeneratedbooleanExample: true
total_items_base_currencyintegerExample: 150
400 400
Was this page helpful?
Ask AI

Ask a question about PayPlus. Answers come from the published docs, with links to the pages they use.

AI answers can be wrong. Check the linked pages.

Your PayPlus accountOpen in a new tab