Closed mjheidari closed 9 months ago
Hello!
I'm currently working on a new version that includes the option to disable delivery reports. However, could you provide a bit more detail on your situation? Are these reports something your mobile operator charges for?
Also, if I provide a test build, would you be willing to give it a try? Since my local operators don't charge for delivery reports, I'd appreciate your help in verifying that the feature works correctly on your end.
Thanks.
Hello, @mjheidari !
You can now disable delivery reports in version 1.3.0 by including "withDeliveryReport": false
in the request body.
For example:
curl --request POST \
--url https://sms.capcom.me/api/3rdparty/v1/message \
--header 'authorization: Basic <credentials>' \
--header 'content-type: application/json' \
--data '{"message": "Message without delivery report","phoneNumbers": ["+79990001234"],"withDeliveryReport": false}'
Please try it out and let me know if you encounter any issues!
add option to off/on delivery report