Renlaer Documentation
  • PUBLIC API
  • Authentication
  • Reference
    • API Reference
      • Get subscriptions
      • Get channels
      • Get channel traffic
      • Create channel
      • Update channel
      • Proxy generation
      • Update proxy
  • Location Settings
    • Country
    • State and City
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Create channel

Create a new sub channel

Create a new sub channel

POST https://api.renlaer.com/V1/OpenApi/OpenApiCreateChannel

Headers

Name
Type
Description

UserId*

String

"Authentication" generated userId

Token*

String

"Authentication" generated token

Content-Type*

String

application/json

Request Body

Name
Type
Description

ChannelName*

String

ChannelLimitTrafficGb

Integer

Available flow values. If not filled or filled with 0, the traffic used is not limited.

{
    "Code": 1000,
    "Message": "Successful",
    "Data": {
        "ChannelId": id,
        "ChannelStatus": 1,
        "ChannelName": "name",
        "ChannelPassword": "password",
        "UsedTraffic": 0.0,
        "ChannelLimitTrafficGb": 0.0,
        "CreateTime": "2023-07-29T02:58:17.4265414+00:00"
    }
}
PreviousGet channel trafficNextUpdate channel

Last updated 1 year ago