List a workspace's invite links
curl --request GET \
--url https://intentleads.si/api/v1/workspaces/{id}/invites \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/workspaces/{id}/invites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/workspaces/{id}/invites"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspace": "6f1d2c3b-4a5e-4f60-8172-93a4b5c6d7e8",
"invites": []
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "admin_key_required",
"message": "This needs an admin API key. Owners create one under Settings → API keys."
}{
"error": "workspace_not_found",
"message": "No such workspace in your organization."
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}List a workspace's invite links
Admin key of the organization, or of the workspace itself. Standard keys get 403 admin_key_required.
GET
/
api
/
v1
/
workspaces
/
{id}
/
invites
List a workspace's invite links
curl --request GET \
--url https://intentleads.si/api/v1/workspaces/{id}/invites \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/workspaces/{id}/invites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/workspaces/{id}/invites"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspace": "6f1d2c3b-4a5e-4f60-8172-93a4b5c6d7e8",
"invites": []
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "admin_key_required",
"message": "This needs an admin API key. Owners create one under Settings → API keys."
}{
"error": "workspace_not_found",
"message": "No such workspace in your organization."
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}