Skip to main content

🔗 share_url field in Creator API get_products

Learn how the Creator API, MCP get_products tool, and Otto's product-link answers now return each product's direct share link — plus how bundle-only products are handled.

🔗 share_url field in Creator API get_products

Big news for anyone building on top of the Creator API: every product returned by get_products now includes a share_url field! 🎉 This is the direct, ready-to-share link to that product, built the exact same way as the Copy product link button in your dashboard. No more stitching links together yourself, it's just there, waiting for you.

Say you're pulling product data to build a quick storefront widget or a creator dashboard, now you get a clean link like https://yourdomain.com/your-product or https://withme.so/you/your-product right in the response, ready to drop into a button or a message. 🙌

Which link you get

If you've got a verified custom domain set up, share_url proudly uses that! ✨ If you haven't connected one yet, no worries, it'll use your trusty withme.so link instead. Either way, you're covered.

Free link products

Got free link products? share_url hands you the destination URL you set for that link. Haven't set a destination yet? It'll fall back to your hub link instead, so there's always something useful to share.

Bundle-only products

Here's a fun edge case: some products are sold only as part of a bundle, not on their own. Since there's no standalone page for them, these bundle-only products skip share_url entirely, makes sense, right? 🤔

But don't worry, you're not left without options! Instead, these products carry a bundle_only field plus a bundled_into field. bundled_into tells you exactly which bundle (or bundles!) the product lives in, along with that bundle's own shareable link, so you can always point people to the right page.

Where this shows up

You'll see all of this whether you're calling get_products directly through the Creator API or asking through the MCP tool. Even better: if you ask Otto for a product's link, Otto's answer now uses this same share_url logic too, so you get the same smart, accurate link every time! 🤖

Zero setup required on your end, these fields just show up automatically for every product, ready to go.

Questions? Stuck on something? Message us from the chat bubble and we'll jump in to help! 💬

Did this answer your question?