API Authentication

The API NiceNIC uses API secret to authenticate requests. You can view dan manage anda API Secret in the Panel Kawalan.
We strongly recommend that you keep anda API secret secure, do not share anda secrets in public areas such as GitHub, client code, etc. You can always reset anda API Secret by Panel Kawalan.
Authentication to the API is done using the HTTP Authatauization header, wdi sini you need to specify anda Nama pengguna dan API secret, separated by a colon.
Semua 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
}
Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Hak Cipta Terpelihara. · U.S. Affiliate: NICENIC LLC