HTTP API - Set validity period for your messages

This page explains briefly how you can specify the validity period for your messages. Please find the necessary parameter below this page.

Ozeki NG SMS Gateway allows you to send SMS messages from various applications. If you use HTTP API for sending messages, you can set the validity period for your messages.

For specifying the validity period, please use the following parameter:

&vp=2021.07.26.+10%3A07%3A58

Please note that 2021.07.26.+10%3A07%3A58 is the URL-encoded form of 2021.07.26. 10:07:58.

With the use of this parameter, you can send validity information to the service provider. Therefore, the service provider can set messages to be valid for the specified period.

Please check the following example on how to use the above parameter:

https://127.0.0.1:9509/api?action=sendmessage&username=admin&password=abc123 &recipient=06203105366&messagetype=SMS:TEXT &messagedata=Hello+World&vp=2021.07.26.+10%3A07%3A58

More information