API Authentication

The NiceNIC APIで uses API secret to authenticate requests. You can view と manage あなたの API Secret in the コントロールパネル.
We strongly recommend that you keep あなたの API secret secure, do not share あなたの secrets in public areas such as GitHub, client code, etc. You can always reset あなたの API Secret by コントロールパネル.
Authentication to the API is done using the HTTP Authまたはization header, wこちら you need to specify あなたの ユーザー名 と API secret, separated by a colon.
すべて 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
}
著作権 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 無断転載を禁じます. · U.S. Affiliate: NICENIC LLC