Basics
Create Prompts
Changed onCreates one or more prompts on a website. Returns the created prompt ids. Each prompt's geography (countries / primary_country) and any attached location_ids are validated for compatibility before insert.
post/api/v1/prompts
Request
- Base URLhttps://api.athenahq.ai
- AuthAPI key in header x-api-key
Request body
Example request
{
"prompts": [
{
"prompt": "best project management software",
"type": "discovery",
"volume": "1000",
"current_monthly_searches": 5400,
"current_total_value": 1250,
"countries": [
"United States",
"France"
],
"primary_country": "United States"
}
]
}Response
Prompts created
Example response
{
"success": true,
"count": 1
}Changes
- warning
the
//request property's maxLength was set to2000 - info
added the non-success response with the status
- warning