Pria UI now available in Dark mode !
cURL
curl --request PUT \ --url http://localhost:3000/api/user/institutionJoin \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "joinId": "abc123xyz" } '
{ "success": true, "message": "Successfully joined institution", "userInstitution": { "_id": "<string>", "institution": "<string>", "status": "active" } }
Joins the user to an institution using a join code
JWT token passed in x-access-token header
The institution's join code
"abc123xyz"
Successfully joined or pending approval
true
"Successfully joined institution"
Show child attributes
Was this page helpful?