API Authentication

The NiceNIC API uses API secret to authenticate requests. You can view dhe manage tënd API Secret in the Paneli i Kontrollit.
We strongly recommend that you keep tënd API secret secure, do not share tënd secrets in public areas such as GitHub, client code, etc. You can always reset tënd API Secret by Paneli i Kontrollit.
Authentication to the API is done using the HTTP Authoseization header, wkëtu you need to specify tënd Emri i përdoruesit dhe API secret, separated by a colon.
Të gjitha 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
}
Të drejtat e autorit © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Të gjitha të drejtat e rezervuara. · U.S. Affiliate: NICENIC LLC