Account, billing details and API token
On the Account page you edit your billing details, change your password and manage the API token you use to download consents into your own systems.
Account information
| Field | Note |
|---|---|
| Sign-in email | You cannot change it yourself. If you need to change it, contact us. |
| Company | |
| Company ID (IČO) | Next to it is the Load from ARES button. |
| VAT ID (DIČ) | Empty if you are not a VAT payer. |
| Street and number, City, Postcode, Country | Printed on invoices. |
| Contact person, Phone | |
| Billing email | Where we send invoices. Empty means the sign-in email. |
The Load from ARES button fills in the name, VAT ID and address from the public Czech business register based on the company ID. The details are pre-filled in the form; you check them and save.
A country other than CZ means invoicing without VAT under the reverse charge mechanism.
Changing your password
The Change password form asks for your current password, the new password and its confirmation. After the change, a security email arrives.
API access
In the API access block you generate a token for downloading consent records into your own systems.
| Action | What it does |
|---|---|
| Generate token | The token is shown only once. After that only the last four characters, the creation date and the date of last use are visible. |
| Regenerate token | Immediately replaces the existing one. An integration using the old token stops working. |
| Revoke token | Access is closed immediately. |
An account always has at most one token. The token is meant for server-to-server communication, not for use in a browser.
curl -H "Authorization: Bearer YOUR_TOKEN" "https://cookies-spravne.cz/api/v2/licenses"
curl -H "Authorization: Bearer YOUR_TOKEN" "https://cookies-spravne.cz/api/v2/consents?license_id=1&limit=100"The full reference, including parameters, pagination, limits and error codes, is in the API section.
The Last used field is your warning light. If you do not use the API and it still shows recent use, the token has probably leaked. Generate a new one.