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