Available features
curl --request GET \
--url https://api.nuwebgroup.com/v1/partner/reseller/features \
--header 'Authorization: Bearer <token>' \
--header 'X-NU-RESELLER-ID: <x-nu-reseller-id>'import requests
url = "https://api.nuwebgroup.com/v1/partner/reseller/features"
headers = {
"X-NU-RESELLER-ID": "<x-nu-reseller-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-NU-RESELLER-ID': '<x-nu-reseller-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.nuwebgroup.com/v1/partner/reseller/features', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nuwebgroup.com/v1/partner/reseller/features",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-NU-RESELLER-ID: <x-nu-reseller-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nuwebgroup.com/v1/partner/reseller/features"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-NU-RESELLER-ID", "<x-nu-reseller-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nuwebgroup.com/v1/partner/reseller/features")
.header("X-NU-RESELLER-ID", "<x-nu-reseller-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nuwebgroup.com/v1/partner/reseller/features")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-NU-RESELLER-ID"] = '<x-nu-reseller-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"type": "features",
"id": "timeslots",
"attributes": {
"slug": "timeslots",
"description": "This will allow events to add tickets to specific time slots.",
"isLimitation": false
}
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}Reseller
Available features
This endpoint can be used to retrieve a list of enabled platform features for your reseller account.
GET
/
reseller
/
features
Available features
curl --request GET \
--url https://api.nuwebgroup.com/v1/partner/reseller/features \
--header 'Authorization: Bearer <token>' \
--header 'X-NU-RESELLER-ID: <x-nu-reseller-id>'import requests
url = "https://api.nuwebgroup.com/v1/partner/reseller/features"
headers = {
"X-NU-RESELLER-ID": "<x-nu-reseller-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-NU-RESELLER-ID': '<x-nu-reseller-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.nuwebgroup.com/v1/partner/reseller/features', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nuwebgroup.com/v1/partner/reseller/features",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-NU-RESELLER-ID: <x-nu-reseller-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nuwebgroup.com/v1/partner/reseller/features"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-NU-RESELLER-ID", "<x-nu-reseller-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nuwebgroup.com/v1/partner/reseller/features")
.header("X-NU-RESELLER-ID", "<x-nu-reseller-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nuwebgroup.com/v1/partner/reseller/features")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-NU-RESELLER-ID"] = '<x-nu-reseller-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"type": "features",
"id": "timeslots",
"attributes": {
"slug": "timeslots",
"description": "This will allow events to add tickets to specific time slots.",
"isLimitation": false
}
}
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}Authorizations
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your hub user credentials.
Headers
The ID of the reseller this operation should be performed against.
Response
Successfully retrieved a list of available features.
Show child attributes
Show child attributes
⌘I
