Skip to content

Deep links

A deep link is a one-time URL that opens the Flume app with the user signed in. It lands on one of their searches, a product from that search, or an instant quote.

Create the link from your backend at the moment the user clicks. Then open it at once.

  • It works once.
  • It expires 7 days after you create it.
  • Flume never stores the URL. Do not store it either.
You sendThe link opens
search_session_uuidThat search's results
search_session_uuid and sku_uuidThat product. It must be a result of that search
search_session_uuid, sku_uuid and quote_uuidThat instant quote. It must be READY

search_session_uuid is always required.

FieldUse
targetWhat the link opens: product, search or quote. See What does the link open?
utm_contentNames the button that asked, for your own reporting. Max 64 characters
redirect_uriWhere Flume sends the user back to. Must be https, on a redirect host agreed with Flume

Without target, the link opens the most specific id you send.

You sendThe link opens
quote_uuidThe instant quote
sku_uuid, no quote_uuidThe product
NeitherThe search

With target, the link opens what you name, whatever else you send.

targetNeedsThe link opens
quotequote_uuidThe instant quote
productsku_uuidThe product, also when you send a quote_uuid
searchNothing moreThe search
  • A target without the id it needs returns 422 VALIDATION_FAILED. field names the missing id.
  • Flume checks every id you send, whatever target says. A sku_uuid must be a result of the search, and a quote_uuid must be the user's own READY quote for that product. A quote that is not READY returns 422 QUOTE_NOT_READY; a quote for another product returns 422 VALIDATION_FAILED with field: quote_uuid.

Idempotency-Key is optional on POST /deep-links.

  • A replay of the same key returns url: null. A link is a sign-in grant, so Flume does not repeat it.
  • To get a new link, call again with a new key.

Inside the iframe, the user can open the Flume app directly. The iframe creates the link itself. You do nothing.

Your iframe tag needs allow-popups and allow-popups-to-escape-sandbox for this. See Set up your page.

product_url in the save payload is a plain link to the product.

Deep linkproduct_url
Signs the user inYesNo
UsesOneUnlimited
ExpiresAfter 7 daysNever
Store itNoYes
Section titled “What does the user see when a link is spent?”

The Flume app shows "This link has expired or was already used". Create a new link on the next click.

  • 2,000 deep links per partner per UTC day. Over it: 429 RATE_LIMITED.
  • The host of url depends on the environment. Do not parse or rebuild the URL.