Skip to main content
POST
/
api
/
user
/
institutionCreateJoinId
Create institution join code
curl --request POST \
  --url http://localhost:3000/api/user/institutionCreateJoinId \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "joinId": "abc123xyz789",
  "message": "Join ID created successfully"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Response

Join code created successfully

success
boolean
Example:

true

joinId
string

The newly generated join code

Example:

"abc123xyz789"

message
string
Example:

"Join ID created successfully"