Docs API Reference SMS Messages Copy as Markdown View as Markdown Add to AI Use these docs in your AI app
Connect Claude, ChatGPT, Gemini or Grok to the PayPlus docs, so it answers from the current documentation and API reference. The connector only reads the published docs: no sign-in, and no access to your PayPlus account.
✦ Explain this page SendSMS POST https://restapidev.payplus.co.il/api/v1.0 /SMS/SendSMSCopy
Environment Production https://restapi.payplus.co.il/api/v1.0/Staging https://restapidev.payplus.co.il/api/v1.0/
Headers api-keystring required API Key
secret-keystring required Secret Key
Request body application/json Field Type Description namerequired string Name of the message typerequired string phonesstring[] contentrequired string Content 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_urlstring string 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_settingsrequired object send_settings.daterequired string Required if type is 'later'. Example: 2022-02-20 send_settings.hourrequired string Required if type is 'later'. Example: 16:00 send_settings.typerequired string Possible values are: ''immediate'' / ''later''One of: immediate, later sms_sender_uidstring Should be active sender name. Can be use only for SMS agreement_signedrequired boolean You must approve our terms and conditions for every sending of message generate_short_linksboolean If you would like we will create shortcut for all your links in your message content show_unsubscribe_linkboolean To show unsubscribe link at the end of the SMS message type only unsubscribe_link_titlestring What is the word to show in the message to unsubscribe
Edit the request body Responses 200 200Field Type Description brandobject brand.namestring Example: Company Namebrand.uuidstring Example: 67a8cc93-75ac-4832-8386-3eb5b24bf3d0docUIDstring Example: 1fa79282-61d1-4898-b7b9-afa67f46d34anumberstring Example: SCP/50042barcodestring Example: 472819632332439customerobject customer.uuidstring Example: faa6280f-dba5-4889-9b15-de60e1527bdccustomer.emailstring Example: [email protected] customer.phonestring Example: 123456789customer.vat_numberstring Example: 1231231customer.subject_codestring Example: 987654321customer.customer_namestring Example: John Doedoc_datestring Example: 2022-11-15doc_typestring Example: inv_taxmore_infoany currency_codestring Example: ILScustomer_uuidstring Example: faa6280f-dba5-4889-9b15-de60e1527bdccopyDocAddressstring Example: https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdforiginalDocAddressstring Example: https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdfvalidDocumentGeneratedboolean Example: truetotal_items_base_currencyinteger Example: 150
400 400cURL Node.js Python PHP C# Java Copy curl --request POST \
--url 'https://restapidev.payplus.co.il/api/v1.0/SMS/SendSMS' \
--header 'api-key: YOUR_API_KEY' \
--header 'secret-key: YOUR_SECRET_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"type": "string",
"phones": [
"string"
],
"content": "string",
"groups_uid": [
"string"
],
"callback_url": "string",
"contacts_uid": [
"string"
],
"send_settings": {
"date": "string",
"hour": "string",
"type": "immediate"
},
"sms_sender_uid": "string",
"agreement_signed": false,
"generate_short_links": false,
"show_unsubscribe_link": false,
"unsubscribe_link_title": "string"
}' Try it Fill in: api-key, secret-key
200 400Copy {
"barcode" : "472819632332439" ,
"brand" : {
"name" : "Company Name" ,
"uuid" : "67a8cc93-75ac-4832-8386-3eb5b24bf3d0"
} ,
"copyDocAddress" : "https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf" ,
"currency_code" : "ILS" ,
"customer" : {
"customer_name" : "John Doe" ,
"email" : "[email protected] " ,
"phone" : "123456789" ,
"subject_code" : "987654321" ,
"uuid" : "faa6280f-dba5-4889-9b15-de60e1527bdc" ,
"vat_number" : "1231231"
} ,
"customer_uuid" : "faa6280f-dba5-4889-9b15-de60e1527bdc" ,
"docUID" : "1fa79282-61d1-4898-b7b9-afa67f46d34a" ,
"doc_date" : "2022-11-15" ,
"doc_type" : "inv_tax" ,
"more_info" : null ,
"number" : "SCP/50042" ,
"originalDocAddress" : "https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf" ,
"total_items_base_currency" : 150 ,
"validDocumentGenerated" : true
} Last updated: 28 May 2025
Was this page helpful? 👍 Yes 👎 No