API Authentication

The NiceNIC API uses API secret to authenticate requests. You can view och manage din API Secret in the Kontrollpanel.
We strongly recommend that you keep din API secret secure, do not share din secrets in public areas such as GitHub, client code, etc. You can always reset din API Secret by Kontrollpanel.
Authentication to the API is done using the HTTP Authellerization header, whär you need to specify din Användarnamn och API secret, separated by a colon.
Alla 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
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alla rättigheter förbehållna. · U.S. Affiliate: NICENIC LLC