Skip to main content

Overview

POST /partner/links creates a magic link. The body is a discriminated union on flow. Shared envelope fields apply to every flow; each flow adds its own config. Host: Partner API overview.

Shared envelope

campaign is lowercased and trimmed. Invalid slugs (spaces, uppercase leftovers, leading punctuation) are rejected with 400 — they are not rewritten, so the join key stays identical to the one in your campaign system. Fund-request and payout-claim links minted from a parent widget inherit the parent slug.

Smart (minimal)

M2M (prefill)

Lola (WhatsApp handoff)

Chat-closed corridor, amount, recipient and payout. referenceId is the sender (wa:<E.164>). See Lola flow for the full config example. Set BASE_URL from Partner API overview.
Do not send prices, capabilityKey, or funding instrument ids.

Common errors

Discover enabled flows

Next steps

Custom flow domains

Serve new magic-link URLs on your hostname.

API Reference

Full OpenAPI for every variant.