Add a CTA
ctas_create[writes flayr data · write scope] Adds a call to action written by the person, claims-checked, optionally tagged as a goal (goalKey; isPrimary makes it the brand's primary goal and demotes the previous one). Nothing here creates or runs an ad. Free. Needs the Pro plan or higher.
(Wraps POST /api/v2/hook-studio/ctas.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"card": "<card>",
"line": "<line>",
"destination": "<destination>",
"platforms": "<platforms>"
},
"name": "ctas_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| line | Yes | ||
| status | No | ||
| brandId | No | A brand id from GET /api/v2/brands. Required for an account-wide key; a brand-bound key may omit it. | |
| goalKey | No | The goal this CTA serves, a short slug such as `tech-checkup`. | |
| offerId | No | ||
| adButton | No | The ad button. Default: the ads config default CTA. | |
| isPrimary | No | The brand's primary goal. Setting it demotes the previous primary. | |
| platforms | Yes | ||
| destination | Yes | An https link, or "bio" for the link in bio. | |
| paidEligible | No | Ads may use this CTA. Default: true for a primary, false otherwise. |