Skip to main content
POST
/
api
/
v1
/
prompts
Create Prompts
curl --request POST \
  --url https://api.athenahq.ai/api/v1/prompts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "website_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prompts": [
    {
      "prompt": "best project management software",
      "type": "discovery",
      "volume": "1000",
      "current_monthly_searches": 5400,
      "current_total_value": 1250,
      "topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "countries": [
        "United States",
        "France"
      ],
      "primary_country": "United States",
      "persona_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "location_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "tag_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "is_paused": false
    }
  ]
}
'
{
  "success": true,
  "count": 1,
  "prompt_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json
website_id
string<uuid>
required

Website to create the prompts on.

prompts
object[]
required
Required array length: 1 - 1000 elements
source
enum<string>

Attribution source (UI server action only; ignored for API-key callers).

Available options:
manual,
ai_generated,
bulk_upload

Response

Prompts created

success
boolean
required
Example:

true

count
integer
required
Example:

1

prompt_ids
string<uuid>[]
required