me

Set Attribution

Write-once first-touch signup attribution.

The email/password signup path stores signup_source directly on the INSERT (POST /v1/auth/signup), but the Google OAuth flow never sends a JSON body — so the portal calls this once after the first authenticated page load, forwarding whatever UTM/referrer it stashed in localStorage when the visitor first landed.

Guards:

  • Only fills NULL columns — a later visit with different UTM tags can never overwrite the original acquisition channel.
  • Values are trimmed and length-capped server-side.
post/v1/me/attribution

Request

  • Base URL: https://api.ctindex.io
  • URL: https://api.ctindex.io/v1/me/attribution
  • Auth: none declared

Cookies

ctix_sessionstring nullable

Request body

sourcestring nullable
referrerstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.