It would be very helpful if someone could post a clear explanation for setting up the SMS setting on Erpnext.
This has been helpful for Twilio: Twilio Integration With Frappe Framework | Avil Page
The equivalent of the parameters from the above tutorial in Postman looks like this:
I suggest you achieve a successful SMS message send in Postman or bruno, and then match the relevant parameters with the SMS Settings in Frappe.
In the case of the above:
My SMS gateway access token refreshes every 12 hours. So, how can I use it?
You have two options:
- Create a Background Job to refresh the token and store it in the parameters.
- Set a
send_smshook to override the core frappe.core.doctype.sms_settings.sms_settings.send_sms method with a function that fits your API requirements. (probably more reliable, if you code it right)
Both require custom code in your own frappe app.


