Turn an audience description into targeting filters. AI credits apply
curl --request POST \
--url https://www.dench.com/api/v1/campaigns/builder/autofill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "string"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'string'})
};
fetch('https://www.dench.com/api/v1/campaigns/builder/autofill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/campaigns/builder/autofill"
payload = { "description": "string" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"targeting": {
"titles": [
"<string>"
],
"locations": [
"<string>"
],
"companySizes": [
"<string>"
],
"industries": [
"<string>"
],
"excludes": [
"<string>"
],
"companies": [
"<string>"
]
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}campaigns
Turn an audience description into targeting filters. AI credits apply
Turn an audience description into targeting filters. AI credits apply.
POST
/
campaigns
/
builder
/
autofill
Turn an audience description into targeting filters. AI credits apply
curl --request POST \
--url https://www.dench.com/api/v1/campaigns/builder/autofill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "string"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({description: 'string'})
};
fetch('https://www.dench.com/api/v1/campaigns/builder/autofill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/campaigns/builder/autofill"
payload = { "description": "string" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"targeting": {
"titles": [
"<string>"
],
"locations": [
"<string>"
],
"companySizes": [
"<string>"
],
"industries": [
"<string>"
],
"excludes": [
"<string>"
],
"companies": [
"<string>"
]
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}Authorizations
DenchApiKeyAgentSession
Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.
Body
application/json
Required string length:
3 - 300