CHANNEL

All Channels

get
/api/v1/channel
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful response

application/json
get
/api/v1/channel
200

Successful response

No content

Create Channel

post
/api/v1/channel
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptionalExample: {"name":"Demo Channel","typeId":1,"scopes":[18]}
Responses
200

Successful response

application/json
post
/api/v1/channel
200

Successful response

No content

Single Channel

get
/api/v1/channel/{channelId}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
channelIdintegerRequiredExample: 3
Responses
200

Successful response

application/json
get
/api/v1/channel/{channelId}
200

Successful response

No content

Edit Channel

put
/api/v1/channel/{channelId}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
channelIdintegerRequiredExample: 3
Body
objectOptionalExample: {"name":"Updated Channel Name","typeId":2,"scopes":[4,7],"enabled":true,"cidr":"10.0.0.0/24,172.16.0.0/12"}
Responses
200

Successful response

application/json
put
/api/v1/channel/{channelId}
200

Successful response

No content

Single Channel - Scopes

get
/api/v1/channel/{channelId}/scopes
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
channelIdintegerRequiredExample: 3
Responses
200

Successful response

application/json
get
/api/v1/channel/{channelId}/scopes
200

Successful response

No content

Single Channel - Toggle

post
/api/v1/channel/{channelId}/toggle
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
channelIdintegerRequiredExample: 2
Body
objectOptional
Responses
200

Successful response

application/json
post
/api/v1/channel/{channelId}/toggle
200

Successful response

No content

Delete Channel

delete
/api/v1/channel/{channelId}/delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
channelIdintegerRequiredExample: 11
Responses
200

Successful response

application/json
delete
/api/v1/channel/{channelId}/delete
200

Successful response

No content

Verify Channel Token

get
/api/v1/channel/verify/token/{token}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequiredExample: abc123def456ghi789jkl012mno345pqr678stu901vwx234
Responses
200

Successful response

application/json
get
/api/v1/channel/verify/token/{token}
200

Successful response

No content

Retrieve Channel Data By Token

get
/api/v1/channel/retrieve/token/{token}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequiredExample: abc123def456ghi789jkl012mno345pqr678stu901vwx234
Responses
200

Successful response

application/json
get
/api/v1/channel/retrieve/token/{token}
200

Successful response

No content

Retrieve Organization With Channel Token

get
/api/v1/channel/{token}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tokenstringRequiredExample: abc123def456ghi789jkl012mno345pqr678stu901vwx234
Responses
200

Successful response

application/json
get
/api/v1/channel/{token}
200

Successful response

No content

Last updated