Quote ICP lead lists
curl --request POST \
--url https://app.loice.ai/api/v1/icp/generations/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysisId": "cmh0a1",
"includeEmails": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({analysisId: 'cmh0a1', includeEmails: false})
};
fetch('https://app.loice.ai/api/v1/icp/generations/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/icp/generations/quote';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({analysisId: 'cmh0a1', includeEmails: false})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/icp/generations/quote"
payload = {
"analysisId": "cmh0a1",
"includeEmails": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"points": 1200,
"available": 5000,
"affordable": true,
"shortfall": 0,
"lists": [
{
"profileId": "cmh0p1",
"name": "Outbound sales teams",
"wanted": 1200
}
]
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}API Reference
Quote ICP lead lists
What POST /api/v1/icp/generations would cost with the same options, read-only: nothing is held, created or charged. Pass points to the start as expectedPoints. Like the start, it needs the workspace’s payment method and uses the lead-search create budget.
Billing
Free — this endpoint does not consume points.
POST
/
api
/
v1
/
icp
/
generations
/
quote
Quote ICP lead lists
curl --request POST \
--url https://app.loice.ai/api/v1/icp/generations/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysisId": "cmh0a1",
"includeEmails": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({analysisId: 'cmh0a1', includeEmails: false})
};
fetch('https://app.loice.ai/api/v1/icp/generations/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/icp/generations/quote';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({analysisId: 'cmh0a1', includeEmails: false})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/icp/generations/quote"
payload = {
"analysisId": "cmh0a1",
"includeEmails": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"points": 1200,
"available": 5000,
"affordable": true,
"shortfall": 0,
"lists": [
{
"profileId": "cmh0p1",
"name": "Outbound sales teams",
"wanted": 1200
}
]
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}Authorizations
Body
application/json

