Get API Key
Each request to prefs.is API requires a valid API Key (API Token). Here you can create your key ahead of time for further and subsequent use.
Generate Key Form
Choose your own key-id and a seed-phrase below. Store those credentials somewhere securely as there is no way to retrieve them at a later time once a key is generated.
Generate Key via API
Keys can be generated via the /getkey API
Response:
{
"status": "success",
"token": "38c26...7cb1",
"ts": "2025-10-29 12:58:52",
"message": "New key generated."
}
The token is your API key. The response will include a hint whether it is a new or an existing token (message field).
HINT: For security reasons, generated keys could be stored as a system variable on the server side.
IMPORTANT!
Remember to safely store away your secret key-id and seed-phrase as there is no way to retrieve them if a key is lost. You may loose ability to recover your data should the key be lost. All data will then be purged after a period of inactivity.