A AfroLink

Developer Corner

Partner signup forms

Official partner sites can submit AfroLink signup forms through the protected partner signup endpoint.

Required fields

Submit partner, locale, first name, last name, email, company name, country code, industry IDs and accepted terms. Optional fields include phone, source URL, click_id, marketing opt-in, plan slug and billing cycle.

Free and paid plans

Free plan signups return a signup ID with requires_payment false. Paid plans return a Stripe Checkout URL and keep Stripe webhooks as the source of truth for paid subscription state.

POST https://admin.kongokafe.com/wp-json/kongokafe/v1/afrolink/public/partner-signups
X-AfroLink-Partner-Key: afl_live_xxxxxxxx

{
  "partner": "kongokafe",
  "email": "member@example.com",
  "plan_slug": "premium",
  "cycle": "monthly"
}

Attribution

Include click_id when the signup originated from a track_url click. AfroLink stores hashed IP and user-agent data and sends a welcome email when the lead is accepted.