API Authentication

The API NiceNIC uses API secret to authenticate requests. You can view et manage votre API Secret in the Panneau de contrôle.
We strongly recommend that you keep votre API secret secure, do not share votre secrets in public areas such as GitHub, client code, etc. You can always reset votre API Secret by Panneau de contrôle.
Authentication to the API is done using the HTTP Authouization header, wici you need to specify votre Nom d'utilisateur et API secret, separated by a colon.
Tous 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
}
Droits d'auteur © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Tous droits réservés. · U.S. Affiliate: NICENIC LLC