API Authentication
The NiceNIC API uses API secret to authenticate requests. You can view i manage el teu API Secret in the Panell de Control.
We strongly recommend that you keep el teu API secret secure, do not share el teu secrets in public areas such as GitHub, client code, etc. You can always reset el teu API Secret by Panell de Control.
Authentication to the API is done using the HTTP Authoization header, waquí you need to specify el teu Nom d'usuari i API secret, separated by a colon.
Tots 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
Authorization: username:api_secret
Content-Type: application/json
### Response format
```json
{
"code": 0,
"msg" : "success",
"data" : {} // Specific data
}






