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

Along with a subscribe endpoint, WP SMS provides a REST API endpoint that allows you to unsubscribe users from your SMS newsletter programmatically. The Endpoint Replace site.com with your actual website URL. 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 WP SMS provides a REST API endpoint that allows you to subscribe users to your SMS newsletter programmatically. This is especially useful for integrating with custom forms or form builders that aren’t directly supported. The Endpoint Replace site.com with your actual website URL. Request Response

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