List the token owner's list folders of one kind
curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/folders \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/folders"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"folders": [
{
"id": "68a1f9aa9c41d20014b3f101",
"name": "Q3 pipeline",
"type": "contactList"
},
{
"id": "68a1f9aa9c41d20014b3f102",
"name": "Partners",
"type": "contactList"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Folders
List the token owner's list folders of one kind
The token owner’s folders of one kind: contactList and companyList folders organise lists (the folderId on GET /business/lists rows and PATCH /business/lists/{listId}), campaign folders organise campaigns, and agent folders organise agents. Not paginated — every folder of the kind is returned.
Errors:
422VALIDATION_FAILED— type missing or outside contactList|companyList|campaign|agent.429RATE_LIMITED— The lists rate bucket is exhausted.400INVALID_REQUEST— agent/campaign kinds only: the owning service rejected the request (its own code is relayed when it sends one).
Requires one of the following token scopes: lists.
GET
/
business
/
folders
List the token owner's list folders of one kind
curl --request GET \
--url https://api.tryfuse.ai/api/v1/business/folders \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.tryfuse.ai/api/v1/business/folders"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.tryfuse.ai/api/v1/business/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"folders": [
{
"id": "68a1f9aa9c41d20014b3f101",
"name": "Q3 pipeline",
"type": "contactList"
},
{
"id": "68a1f9aa9c41d20014b3f102",
"name": "Partners",
"type": "contactList"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Your API token (af_…) as the Basic-auth username, with an empty password.
Query Parameters
Folder kind to list: contactList or companyList (list folders), campaign (campaign folders) or agent (agent folders).
Available options:
contactList, companyList, campaign, agent Response
Success
Show child attributes
Show child attributes