Join an institution
curl --request PUT \
--url https://pria.praxislxp.com/api/user/institutionJoin \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "60d5ec49f1b2c72b9c8e4d3a",
"referrer": "60d5ec49f1b2c72b9c8e4d3b"
}
'{
"success": true,
"ui": {
"_id": "<string>",
"user": "<string>",
"institution": "<string>",
"referrer": "<string>",
"creditAwarded": 123,
"creditAwardedDate": "2023-11-07T05:31:56Z"
},
"message": "Joined successfully"
}Membership
Join an institution
Joins the user to an institution. If the user is not the referrer, membership requires approval and an email is sent to the referrer. If the user already has a membership for the institution, the existing record is returned. Credit awards may be issued on join if configured.
PUT
/
api
/
user
/
institutionJoin
Join an institution
curl --request PUT \
--url https://pria.praxislxp.com/api/user/institutionJoin \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "60d5ec49f1b2c72b9c8e4d3a",
"referrer": "60d5ec49f1b2c72b9c8e4d3b"
}
'{
"success": true,
"ui": {
"_id": "<string>",
"user": "<string>",
"institution": "<string>",
"referrer": "<string>",
"creditAwarded": 123,
"creditAwardedDate": "2023-11-07T05:31:56Z"
},
"message": "Joined successfully"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Body
application/json
Was this page helpful?
⌘I