API Authentication

The NiceNIC API uses API secret to authenticate requests. You can view a manage vaše API Secret in the Ovládací panel.
We strongly recommend that you keep vaše API secret secure, do not share vaše secrets in public areas such as GitHub, client code, etc. You can always reset vaše API Secret by Ovládací panel.
Authentication to the API is done using the HTTP Authaleboization header, wtu you need to specify vaše Používateľské meno a API secret, separated by a colon.
Všetko API requests must be made over HTTP. API requests without authentication will also fail.
https://api.nicenic.net/v2/
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
                                            
### Response format
```json
{
    "code": 0,
    "msg" : "success",
    "data" : {} // Specific data
}
Autorské práva © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Všetky práva vyhradené. · U.S. Affiliate: NICENIC LLC