API Authentication

The NiceNIC API uses API secret to authenticate requests. You can view і manage ваш API Secret in the Панель керування.
We strongly recommend that you keep ваш API secret secure, do not share ваш secrets in public areas such as GitHub, client code, etc. You can always reset ваш API Secret by Панель керування.
Authentication to the API is done using the HTTP Authабоization header, wтут you need to specify ваш Ім’я користувача і API secret, separated by a colon.
Всі 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
}
Авторське право © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Всі права захищені. · U.S. Affiliate: NICENIC LLC