Get information about a team
curl --request GET \
--url https://partners.clerk.chat/reseller/teams/{teamId}import requests
url = "https://partners.clerk.chat/reseller/teams/{teamId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partners.clerk.chat/reseller/teams/{teamId}', 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://partners.clerk.chat/reseller/teams/{teamId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://partners.clerk.chat/reseller/teams/{teamId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partners.clerk.chat/reseller/teams/{teamId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partners.clerk.chat/reseller/teams/{teamId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"inboxCount": 123,
"userCount": 123,
"planTier": {
"name": "<string>",
"externalId": "<string>"
}
}reseller
Get information about a team
GET
/
reseller
/
teams
/
{teamId}
Get information about a team
curl --request GET \
--url https://partners.clerk.chat/reseller/teams/{teamId}import requests
url = "https://partners.clerk.chat/reseller/teams/{teamId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partners.clerk.chat/reseller/teams/{teamId}', 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://partners.clerk.chat/reseller/teams/{teamId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://partners.clerk.chat/reseller/teams/{teamId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://partners.clerk.chat/reseller/teams/{teamId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partners.clerk.chat/reseller/teams/{teamId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"inboxCount": 123,
"userCount": 123,
"planTier": {
"name": "<string>",
"externalId": "<string>"
}
}Path Parameters
Response
200 - application/json
Available options:
fraud, free, starter, unlimited, mfa_nonvoip Show child attributes
Show child attributes
⌘I