Skip to main content

Imports

Base URL: https://app.neuroflash.com/api/audience-service

Auto-generate target audience profiles from text descriptions, URLs, documents, or brand voices.

Import a target audience from URLs

POST/v1/workspaces/{workspaceId}/target-audiences-url-imports

Parses content from URLs and returns a prepared create command for a target audience

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace ID

Request Body

FieldTypeRequiredDescription
audienceModelIdstringYes
urlsarray<string>YesA list of strings

Response

FieldTypeDescription
countrystring
genderDistributionobject
femalenumber
malenumber
nonBinarynumber
preferNotToSaynumber
interestsarray<string>A list of strings stored in the database as JSON
maxAgeinteger
minAgeintegerWe store age range as separate min/max fields in the database
namestring
nativeLanguagestring
needsarray<string>A list of strings stored in the database as JSON
painPointsarray<string>A list of strings stored in the database as JSON
residencestring
sharedboolean

Example

tip

Pass 1–10 URLs per request. The service fetches and analyses all pages, then synthesises a single audience profile. Use your brand's homepage or a specific product page for best results.

curl -X POST "https://app.neuroflash.com/api/audience-service/v1/workspaces/{workspace_id}/target-audiences-url-imports" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"audienceModelId": "538b1efc6f88ad88feebf7acd8c618facb54fe82",
"urls": ["https://your-brand.com"]
}'

Response:

{
"country": "US",
"genderDistribution": {
"female": 0.5,
"male": 0.5,
"nonBinary": 0.5,
"preferNotToSay": 0.5
},
"interests": [
"string"
],
"maxAge": 65,
"minAge": 18,
"name": "Young urban professionals",
"nativeLanguage": "de",
"needs": [
"string"
],
"painPoints": [
"string"
],
"residence": "Berlin",
"shared": true
}