API Endpoints

Deregister Webhook URL endpoint

Introduction This endpoint allows you to deregister and unsubscribe from a webhook in WP SMS. This endpoint can be useful if you no longer want to receive updates or notifications through the webhook, or if you need to deregister the webhook for any other reason. Authentication WP SMS supports Application Password authentication, which is available […]

Read More Read more

Register Webhook URL endpoint

Introduction This endpoint allows you to register and subscribe to a webhook in WP SMS. This endpoint can be useful if you want to receive updates or notifications through the webhook, or if you need to register the webhook for any other reason. Authentication Learn how to use the ‘Register Webhook URL’ endpoint in the […]

Read More Read more

Send SMS endpoint

Introduction This endpoint allows you to send SMS messages through the plugin. This endpoint can be useful if you want to send SMS messages to one or more recipients, or if you need to send SMS messages for any other reason. Request Curl PHP Response: Success

Read More Read more

Unsubscribe endpoint

This endpoint allows you to unsubscribe or opt-out of SMS messages. This endpoint can be useful if you no longer want to receive SMS messages, or if you need to unsubscribe from SMS messages for any other reason. Request Response

Read More Read more

Subscriber Verification endpoint

Introduction the subscriber verification endpoint is a specific URL that allows users to verify their phone numbers by entering a code that is sent to them via SMS. Users can access the subscriber verification endpoint by visiting the URL provided in the plugin’s settings. Once they enter the code received in SMS message, the plugin […]

Read More Read more

Subscribe to the newsletter endpoint

Introduction By visiting this endpoint, users can provide their phone number and subscribe to receive SMS messages from the website administrator. Once user submitted their phone number it should be verified by a code that is sent to the phone number provided by the plugin then they will be added to the subscriber’s list and […]

Read More Read more

Get SMS Credit endpoint

Introduction By visiting this endpoint, users can retrieve information about the remaining SMS credit balance. This endpoint can be used to monitor usage and ensure that there’s enough credit to send SMS to the subscribers. It can be accessed by the website administrator or anyone who has permission to see the credit information on the […]

Read More Read more