Call endpoints via curl as API

Hi we are trying project. I have disconnected devices. I configured one email endpoint as Loramail and if I test it is ok. I would call it via curl as an API:

curl -H “Content-Type: application/json;charset=UTF-8” -H “Authorization: Bearer TOKEN” -H “Accept: application/json, text/plain, /” -X POST -d ‘{“value1”:20,“value2”:10}’ -k https://IP/v2/users/lora/endpoints/Loramail
I obtained a 404 error.
Is it possible?
Best Regards.

Hi, is there any doc for endpoints API to test? Best Regards.