Read the workspace-level ingest IP allowlist
curl --request GET \
--url https://app.hookie.ai/admin/api/ip-allowlist \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/ip-allowlist', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/ip-allowlist"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"ip_allowlist": [
"<string>"
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}IP allowlist
Read the workspace-level ingest IP allowlist
Owners and admins only. A GET never changes the list (before SEC-4 it cleared it).
GET
/
admin
/
api
/
ip-allowlist
Read the workspace-level ingest IP allowlist
curl --request GET \
--url https://app.hookie.ai/admin/api/ip-allowlist \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/ip-allowlist', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/ip-allowlist"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"ip_allowlist": [
"<string>"
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}