get
https://api.smoothpos.net/mycompany/privatedata/.json
Fetches the private data value stored against your company under the given key. Private data is for storing secrets and any data that needs to be encrypted.
Treat these values as sensitive. Don't log them, and don't expose them to browsers or other client-side code.
The key is the whole last part of the URL
Smooth POS stores the key exactly as it appears in the path, .json included, so courier_api_key.json is stored as courier_api_key.json. Always use the same URL to save, read and delete.
Needs the mycompany_update permission on your API user.
Required permission:
| Group | Permission |
|---|---|
| Admin | Update company details and settings (includes view) |
