Closed Mckill3r closed 2 hours ago
Hello after using the API
https://api.sms-gate.app/3rdparty/v1/message/...
i have a log like this one :
{ "id": "WaWs4....", "state": "Sent", "isHashed": true, "isEncrypted": false, "recipients": [ { "phoneNumber": "00640ea9d9bfdde3", "state": "Failed", "error": "Send result: RESULT_ERROR_GENERIC_FAILURE" } }
So isHashed is true but how to decode the value of phoneNumber
Thanks !
just find out in the doc :
(cloud-only) Whether the phoneNumber is the first 16 characters of the SHA256 hash of the E164 formatted phone number
Hello after using the API
https://api.sms-gate.app/3rdparty/v1/message/...
i have a log like this one :
{ "id": "WaWs4....", "state": "Sent", "isHashed": true, "isEncrypted": false, "recipients": [ { "phoneNumber": "00640ea9d9bfdde3", "state": "Failed", "error": "Send result: RESULT_ERROR_GENERIC_FAILURE" } }
So isHashed is true but how to decode the value of phoneNumber
Thanks !