List your company subscriptions
curl --request GET \
--url https://api.noonum.ai/v2/segments/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/segments/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/segments/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/segments/subscriptions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"limit": 20,
"taxonomyAccess": true,
"results": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"symbol": "<string>",
"subscribedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>"
}Segments
List your company subscriptions
Returns the companies you are subscribed to, oldest subscription first, and how many your plan lets you hold at once. Expired subscriptions are left out.
GET
/
segments
/
subscriptions
List your company subscriptions
curl --request GET \
--url https://api.noonum.ai/v2/segments/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/segments/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/segments/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/segments/subscriptions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"limit": 20,
"taxonomyAccess": true,
"results": [
{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"symbol": "<string>",
"subscribedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>"
}Authorizations
Response
Your subscriptions and your plan's limit.