Update CTA
documentedUpdate an existing CTA's properties (and associated Campaign).
PUT /api/v2/ctas/{cta_id}/Call-To-Actions (CTAs)no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://snip.ly/api/v2/ctas/{{$cta_id}}/" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"message":"{{$message}}","campaign":"{{$campaign_id}}","button_action":{"text":"{{$button_text}}","url":"{{$button_url}}"}}'