WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Utility Endpoints
  • Generate WebNIC Token v2
    POST
  • Get Account Balance
    GET
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Utility Endpoints

Generate WebNIC Token v2

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/reseller/v2/api-user/token
Last modified:2025-09-03 03:49:52
Endpoint used to acquire new JWT Access Token for WebNIC RESTFUL API v2.
Multiple API Credential Supported
You can create more than 1 API Credential in WebNIC Portal.
IP Allowed List
Your IP Address must be added as authorized access IP.
Credential is encapsulated by its environment
Credentials are limited to its respective environment. OTE token used in Production environment will not work.
Token validity is 60 minutes. Always reuse to reduce latency that caused by rapid token request action.

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/reseller/v2/api-user/token' \
--header 'Content-Type: application/json' \
--data-raw '{
  "username": "api-xxxxxxxxxxx",
  "password": "secret-key"
}'
Response Response Example
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": {
        "access_token": "eyJhbGciOi...wMzUifX0...ujeHdIXhmhA",
        "expires_in": 3600
    }
}
Modified at 2025-09-03 03:49:52
Next
Get Account Balance
Built with