Skip to content

Auto-join a band via a pending email invitation matching the caller's own verified email

POST
/api/band/join-pending

Fallback for onboarding: the invite token from the signup link can be lost across in-app-browser / OAuth redirect hops (sessionStorage does not survive every hop). This looks up any pending invitation by the caller’s own authenticated email instead of trusting a client-carried token.

Joined

object
ok
required
boolean
data
nullable

Already a member

object
ok
required
boolean
error
required
string
code
string

Unauthenticated

object
ok
required
boolean
error
required
string
code
string

No pending invitation for this email

object
ok
required
boolean
error
required
string
code
string

Server error

object
ok
required
boolean
error
required
string
code
string