curl --request POST \
--url https://api.geogen.io/v1/entities/addprompt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entityId": "abc123def456...",
"prompt": "What are the best tools for SEO?",
"language": "en",
"geolocation": "us"
}
'{
"success": true,
"promptId": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Entities
Add Prompt
Create a new prompt for an entity.
POST
/
entities
/
addprompt
curl --request POST \
--url https://api.geogen.io/v1/entities/addprompt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entityId": "abc123def456...",
"prompt": "What are the best tools for SEO?",
"language": "en",
"geolocation": "us"
}
'{
"success": true,
"promptId": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
API key authentication. Format: Bearer wsk_your_api_key
Body
application/json

