Sign in

Update CTA

documented

Update an existing CTA's properties (and associated Campaign).

PUT /api/v2/ctas/{cta_id}/Call-To-Actions (CTAs)no implementation yet0 runs
No 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}}"}}'