Skip to main content
POST
/
content
/
ctas
/
create
Create CTA
curl --request POST \
  --url https://ai.wisepilot.app/api/v1/content/ctas/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "website_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "headline": "<string>",
  "parent_asset_id": "<string>",
  "subheadline": "<string>",
  "button_text": "<string>",
  "subtext": "<string>",
  "destination_url": "<string>",
  "position": "abtf",
  "product_line_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "parentAssetId": "<string>",
    "parentAssetTitle": "<string>",
    "position": "<string>",
    "headline": "<string>",
    "subheadline": "<string>",
    "buttonText": "<string>",
    "subtext": "<string>",
    "destinationUrl": "<string>",
    "status": "<string>",
    "clickRate": 123,
    "conversionRate": 123,
    "useCount": 123
  }
}

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Body

application/json
website_id
string<uuid>
required
headline
string
required
parent_asset_id
string

Parent blog asset content_id

subheadline
string
button_text
string
subtext
string
destination_url
string
position
enum<string>
Available options:
abtf,
exit,
footer,
sidebar
product_line_id
string<uuid>

Response

CTA created

success
boolean
required
data
object