RelayAPI

ConvertKit (Kit) API

Create newsletter broadcasts via ConvertKit using RelayAPI — draft email campaigns alongside social media posts.

Quick Reference

PropertyValue
Platform keyconvertkit
Auth methodAPI Key + Secret
Content formatHTML (plain text auto-wrapped)
SchedulingYes
AnalyticsNo

By default, broadcasts are sent immediately when published. Set send_at in target_options to schedule for a specific time, or omit it for instant delivery.

Before You Start

You need a ConvertKit API key and API secret. Get these from your ConvertKit account settings.

Connect

curl -X POST https://api.relayapi.dev/v1/connect/convertkit \
  -H "Authorization: Bearer $RELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "your-convertkit-api-key",
    "api_secret": "your-convertkit-api-secret"
  }'

Send a Broadcast

curl -X POST https://api.relayapi.dev/v1/posts \
  -H "Authorization: Bearer $RELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Our latest newsletter content...",
    "targets": ["acc_convertkit123"],
    "scheduled_at": "now",
    "target_options": {
      "convertkit": {
        "subject": "Weekly Newsletter #10",
        "preview_text": "What we shipped this week"
      }
    }
  }'

target_options Fields

FieldTypeRequiredDescription
subjectstringNoEmail subject line. Falls back to first line of content.
preview_textstringNoDescription/preview text.
content_htmlstringNoFull HTML body. If omitted, plain text is auto-wrapped.
send_atstringNoISO 8601 timestamp to schedule delivery. If omitted, sends immediately.

Automations

Kit (formerly ConvertKit) uses the v4 API under https://api.kit.com/v4. Triggers fire on subscribe lifecycle and tag events.

Triggers

TypeFires on
kit_subscriber_activateSubscriber becomes active
kit_form_subscribeForm submission
kit_tag_addTag applied to a subscriber

Send nodes

NodeEndpointRequired fields
kit_add_subscriberPOST /subscribersemail, optional first_name
kit_add_tagPOST /tags/{tag_id}/subscriberstag_id, email
kit_send_broadcastPOST /broadcasts/{id}/sendbroadcast_id

Found something wrong? Help us improve this page.

On this page

Submit an Issue
Requires a GitHub account.View repo