curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"companies": [
{
"preferred_name": "<string>",
"names": [
"<string>"
],
"domains": [
"<string>"
],
"websites": [
"<string>"
],
"short_description": "<string>",
"long_description": "<string>",
"standard_industries": [
"<string>"
],
"employee_count_consensus": 123,
"revenue_estimate": {
"sources": [
"<string>"
],
"fiscal_year": 123,
"value_usd": {
"gte": 123,
"lte": 123
}
},
"total_funding_consensus": 123,
"latest_funding_consensus": 123,
"funding_stage": "<string>",
"founded_on_consensus": "<string>",
"location_consensus": {},
"linkedin_primary_slug": "<string>",
"logo_url": "<string>",
"tags": [
"<string>"
],
"naics_codes": [
"<string>"
],
"status_consensus": "<string>",
"twitter_handles": [
"<string>"
],
"facebook_urls": [
"<string>"
],
"instagram_handles": [
"<string>"
],
"youtube_urls": [
"<string>"
],
"github_usernames": [
"<string>"
],
"linkedin_id": "<string>",
"linkedin_slugs": [
"<string>"
]
}
]
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list"
payload = { "companies": [
{
"preferred_name": "<string>",
"names": ["<string>"],
"domains": ["<string>"],
"websites": ["<string>"],
"short_description": "<string>",
"long_description": "<string>",
"standard_industries": ["<string>"],
"employee_count_consensus": 123,
"revenue_estimate": {
"sources": ["<string>"],
"fiscal_year": 123,
"value_usd": {
"gte": 123,
"lte": 123
}
},
"total_funding_consensus": 123,
"latest_funding_consensus": 123,
"funding_stage": "<string>",
"founded_on_consensus": "<string>",
"location_consensus": {},
"linkedin_primary_slug": "<string>",
"logo_url": "<string>",
"tags": ["<string>"],
"naics_codes": ["<string>"],
"status_consensus": "<string>",
"twitter_handles": ["<string>"],
"facebook_urls": ["<string>"],
"instagram_handles": ["<string>"],
"youtube_urls": ["<string>"],
"github_usernames": ["<string>"],
"linkedin_id": "<string>",
"linkedin_slugs": ["<string>"]
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
companies: [
{
preferred_name: '<string>',
names: ['<string>'],
domains: ['<string>'],
websites: ['<string>'],
short_description: '<string>',
long_description: '<string>',
standard_industries: ['<string>'],
employee_count_consensus: 123,
revenue_estimate: {sources: ['<string>'], fiscal_year: 123, value_usd: {gte: 123, lte: 123}},
total_funding_consensus: 123,
latest_funding_consensus: 123,
funding_stage: '<string>',
founded_on_consensus: '<string>',
location_consensus: {},
linkedin_primary_slug: '<string>',
logo_url: '<string>',
tags: ['<string>'],
naics_codes: ['<string>'],
status_consensus: '<string>',
twitter_handles: ['<string>'],
facebook_urls: ['<string>'],
instagram_handles: ['<string>'],
youtube_urls: ['<string>'],
github_usernames: ['<string>'],
linkedin_id: '<string>',
linkedin_slugs: ['<string>']
}
]
})
};
fetch('https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"listId": "6a8d82b5c5017e82fb6082ac",
"companyIds": [
"68a1f5209c41d20014b3eb21",
"68a1f5209c41d20014b3eb22"
],
"notFound": [
{
"index": 2,
"reason": "not_from_search"
}
]
}{
"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>"
}
}Save hand-picked companies to a company list
Saves companies you picked from POST /companies/search into a company list and answers once they are in it. Send each company exactly as companies of the search returned it (each needs a preferred_name or a domains entry), up to 100 per call. What is saved is Fuse’s own copy of each company: every row your searches answer is kept for a day, and a pick is matched to it by its linkedin_primary_slug or, without one, its domains, so a value changed in a row is not saved. A pick that matches no row your searches answered in the last day is left out and listed in notFound (not_from_search); search again to save it. So is a pick without a linkedin_primary_slug whose websites two of the companies your searches answered share: it is never saved as either. When no pick matches, the call answers 422 COMPANIES_NOT_FROM_SEARCH and creates no list. To save every match of a search by its filters instead, use POST /companies/search/save-to-list. The destination is exactly one of listId or listName; listName is create-or-reuse by exact name (case-insensitive), a name shared by two lists is a 409, and system list names are refused. A company already in your workspace is reused rather than duplicated, and one already on the list stays once. Free: the search charged for the rows. The answer carries the list’s id, the id of every company saved and the picks left out.
Errors:
404LIST_NOT_FOUND—listIdis not one of your team’s lists.409LIST_NAME_AMBIGUOUS— Two of your company lists share that name; passlistIdinstead.409LIST_NAME_TAKEN— A company list with that name was created at the same moment; retry withlistId.422LIST_TYPE_MISMATCH—listIdnames a contact list.422LIST_NAME_RESERVED—listNameis a system/dynamic list title and cannot be a destination.422COMPANIES_NOT_FROM_SEARCH— No pick matches a row your company searches answered in the last day: nothing was saved and no list was created. Search again and send its rows.422VALIDATION_FAILED— The body failed validation: no companies, more than 100, or a company with neitherpreferred_namenordomains;paramnames the offending key.429RATE_LIMITED— Per-token rate limit for the company-search bucket exhausted; retry after the window in the RateLimit-Reset header.503UNEXPECTED_ERROR— The rows the searches kept could not be read, so nothing was saved and no list was created. Retry in a minute.
Requires one of the following token scopes: companies.
curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"companies": [
{
"preferred_name": "<string>",
"names": [
"<string>"
],
"domains": [
"<string>"
],
"websites": [
"<string>"
],
"short_description": "<string>",
"long_description": "<string>",
"standard_industries": [
"<string>"
],
"employee_count_consensus": 123,
"revenue_estimate": {
"sources": [
"<string>"
],
"fiscal_year": 123,
"value_usd": {
"gte": 123,
"lte": 123
}
},
"total_funding_consensus": 123,
"latest_funding_consensus": 123,
"funding_stage": "<string>",
"founded_on_consensus": "<string>",
"location_consensus": {},
"linkedin_primary_slug": "<string>",
"logo_url": "<string>",
"tags": [
"<string>"
],
"naics_codes": [
"<string>"
],
"status_consensus": "<string>",
"twitter_handles": [
"<string>"
],
"facebook_urls": [
"<string>"
],
"instagram_handles": [
"<string>"
],
"youtube_urls": [
"<string>"
],
"github_usernames": [
"<string>"
],
"linkedin_id": "<string>",
"linkedin_slugs": [
"<string>"
]
}
]
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list"
payload = { "companies": [
{
"preferred_name": "<string>",
"names": ["<string>"],
"domains": ["<string>"],
"websites": ["<string>"],
"short_description": "<string>",
"long_description": "<string>",
"standard_industries": ["<string>"],
"employee_count_consensus": 123,
"revenue_estimate": {
"sources": ["<string>"],
"fiscal_year": 123,
"value_usd": {
"gte": 123,
"lte": 123
}
},
"total_funding_consensus": 123,
"latest_funding_consensus": 123,
"funding_stage": "<string>",
"founded_on_consensus": "<string>",
"location_consensus": {},
"linkedin_primary_slug": "<string>",
"logo_url": "<string>",
"tags": ["<string>"],
"naics_codes": ["<string>"],
"status_consensus": "<string>",
"twitter_handles": ["<string>"],
"facebook_urls": ["<string>"],
"instagram_handles": ["<string>"],
"youtube_urls": ["<string>"],
"github_usernames": ["<string>"],
"linkedin_id": "<string>",
"linkedin_slugs": ["<string>"]
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
companies: [
{
preferred_name: '<string>',
names: ['<string>'],
domains: ['<string>'],
websites: ['<string>'],
short_description: '<string>',
long_description: '<string>',
standard_industries: ['<string>'],
employee_count_consensus: 123,
revenue_estimate: {sources: ['<string>'], fiscal_year: 123, value_usd: {gte: 123, lte: 123}},
total_funding_consensus: 123,
latest_funding_consensus: 123,
funding_stage: '<string>',
founded_on_consensus: '<string>',
location_consensus: {},
linkedin_primary_slug: '<string>',
logo_url: '<string>',
tags: ['<string>'],
naics_codes: ['<string>'],
status_consensus: '<string>',
twitter_handles: ['<string>'],
facebook_urls: ['<string>'],
instagram_handles: ['<string>'],
youtube_urls: ['<string>'],
github_usernames: ['<string>'],
linkedin_id: '<string>',
linkedin_slugs: ['<string>']
}
]
})
};
fetch('https://api.tryfuse.ai/api/v1/business/companies/save-selected-to-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"listId": "6a8d82b5c5017e82fb6082ac",
"companyIds": [
"68a1f5209c41d20014b3eb21",
"68a1f5209c41d20014b3eb22"
],
"notFound": [
{
"index": 2,
"reason": "not_from_search"
}
]
}{
"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
Body
companies and exactly one destination (listId | listName).