API Authentication

The API NiceNIC uses API secret to authenticate requests. You can view și manage tău API Secret in the Panou de control.
We strongly recommend that you keep tău API secret secure, do not share tău secrets in public areas such as GitHub, client code, etc. You can always reset tău API Secret by Panou de control.
Authentication to the API is done using the HTTP Authsauization header, waici you need to specify tău Nume utilizator și API secret, separated by a colon.
Toate 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
}
Drepturi de Autor © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Toate Drepturile Rezervate. · U.S. Affiliate: NICENIC LLC