API Authentication

The NiceNIC API uses API secret to authenticate requests. You can view i manage twój API Secret in the Panel sterowania.
We strongly recommend that you keep twój API secret secure, do not share twój secrets in public areas such as GitHub, client code, etc. You can always reset twój API Secret by Panel sterowania.
Authentication to the API is done using the HTTP Authlubization header, wtutaj you need to specify twój Nazwa użytkownika i API secret, separated by a colon.
Wszystko 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
}
Prawa autorskie © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Wszelkie prawa zastrzeżone. · U.S. Affiliate: NICENIC LLC