curl --request POST \
--url https://ai.wisepilot.app/api/v1/generate/ad-copy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "google",
"campaign_context": "<string>",
"website_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ad_type": "rsa",
"target_icp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>"
}
'{
"success": true,
"data": {
"success": true,
"content": "<unknown>",
"error": "<string>",
"evalResult": {
"score": 123,
"passed": true
}
}
}Generate ad copy for Google or Meta platforms using the ad-copy execution profile.
curl --request POST \
--url https://ai.wisepilot.app/api/v1/generate/ad-copy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "google",
"campaign_context": "<string>",
"website_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ad_type": "rsa",
"target_icp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>"
}
'{
"success": true,
"data": {
"success": true,
"content": "<unknown>",
"error": "<string>",
"evalResult": {
"score": 123,
"passed": true
}
}
}API key prefixed with cr_ (e.g. cr_a1b2c3...)