GET/api/partner/users/:userId

Fresh tokens and status

Returns a fresh signed-in session for one of your users, with their approval status. Call it each time you open the embed, so the session you hand it is new.

Path parameters

Field Type Required
userId string yes
200 OK
{
  "success": true,
  "message": "User retrieved",
  "result": {
    "userId": "8f2c1d4e-6b7a-4c3d-9e1f-2a3b4c5d6e7f",
    "jwt": "eyJhbGciOi…",
    "refreshJwt": "eyJhbGciOi…",
    "status": "pending",
    "referralToken": "maya-ortiz"
  }
}

Prio may display inaccurate info at times, please double check the responses.