List workspaces
curl --request GET \
--url https://intentleads.si/api/v1/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspace": false,
"balance_usd": 412.5,
"month": {
"start": "2026-11-09",
"end": "2026-12-09"
},
"workspaces": [
{
"id": "6f1d2c3b-4a5e-4f60-8172-93a4b5c6d7e8",
"name": "Acme Medical",
"created_at": "2026-10-14T06:12:41.528311+00:00",
"members": 2,
"this_month": {
"intent_leads": 412,
"search_results": 0,
"website_visitors": 18,
"spent_usd": 43
},
"budget": {
"budget_usd": 500,
"spent_usd": 43,
"left_usd": 457
}
}
]
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}List workspaces
Workspaces: one per client, each with its own lanes, keys, exclusions and leads, all paid from your organization’s balance.
With a workspace’s own key: {"workspace": true} and no list, so a client’s key never sees the organization.
Free. This doesn’t spend your balance.
GET
/
api
/
v1
/
workspaces
List workspaces
curl --request GET \
--url https://intentleads.si/api/v1/workspaces \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/workspaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspace": false,
"balance_usd": 412.5,
"month": {
"start": "2026-11-09",
"end": "2026-12-09"
},
"workspaces": [
{
"id": "6f1d2c3b-4a5e-4f60-8172-93a4b5c6d7e8",
"name": "Acme Medical",
"created_at": "2026-10-14T06:12:41.528311+00:00",
"members": 2,
"this_month": {
"intent_leads": 412,
"search_results": 0,
"website_visitors": 18,
"spent_usd": 43
},
"budget": {
"budget_usd": 500,
"spent_usd": 43,
"left_usd": 457
}
}
]
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}