Individual Lookup
Generate one personalized snippet from a single prompt. Synchronous, returns the text directly.
POST /personalize_with_ai
Pass a complete, self-contained prompt describing the personalization you want. The response contains the generated text in ai_generated_text.
Headers
Content-Type
application/json
Body
api_key
string
Your API Key.
prompt
string
The prompt describing the personalization to generate.
Response
ai_generated_text
string
The copy the model wrote. null when nothing came back.
This is the same name as the list column the List Lookup route writes to, so the same field works on both routes.
The record is under data. See Response Format for the fields every endpoint returns.
Example
{
"api_key": "your_api_key",
"prompt": "Write a one-sentence cold email icebreaker for Sam Altman, CEO of OpenAI."
}{
"status": "success",
"data": {
"ai_generated_text": "Sam, as someone building the future of AI, I thought you'd appreciate a quick note from one curious mind to another."
},
"credits_used": 0.5,
"credits_remaining": 4822.5,
"success": true
}{
"status": "error",
"error": {
"code": "validation_error",
"message": "prompt: Field required"
},
"success": false
}To personalize every contact in a list in one call instead, use List Lookup.