User
Gets the values decoded from the user's authentication token.
Authorizations
Responses
200
OK
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /api/User/DecodeToken HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
No content
Retrieves detailed account information for the currently authenticated user.
Authorizations
Responses
200
OK
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /api/User/Details HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"username": "text",
"email": "text",
"createdAt": "2025-08-11T02:45:32.163Z",
"updatedAt": "2025-08-11T02:45:32.163Z",
"isActive": true,
"roles": [
"Candidate"
],
"profile": {
"profileId": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "text",
"lastName": "text",
"bioMarkdown": "text",
"instituteName": "text",
"phoneNumber": "text",
"imageFile": {
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
},
"profileLinks": [
{
"profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"link": "text"
}
]
}
}
Updates the settings of the currently authenticated user's account.
Authorizations
Body
usernamestring | nullableOptional
newPasswordstring | nullableOptional
currentPasswordstring | nullableOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
409
Conflict
application/json
500
Internal Server Error
application/json
patch
PATCH /api/User/Account/Settings HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"username": "text",
"newPassword": "text",
"currentPassword": "text"
}
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"username": "text",
"email": "text",
"createdAt": "2025-08-11T02:45:32.163Z",
"updatedAt": "2025-08-11T02:45:32.163Z",
"isActive": true,
"roles": [
"Candidate"
],
"profile": {
"profileId": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "text",
"lastName": "text",
"bioMarkdown": "text",
"instituteName": "text",
"phoneNumber": "text",
"imageFile": {
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
},
"profileLinks": [
{
"profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"link": "text"
}
]
}
}
Creates or updates the profile of the currently authenticated user.
Authorizations
Body
firstNamestring | nullableOptional
lastNamestring | nullableOptional
biostring | nullableOptional
instituteNamestring | nullableOptional
phoneNumberstring | nullableOptional
imageFileIdstring · uuid | nullableOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /api/User/Profile/Save HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 250
{
"firstName": "text",
"lastName": "text",
"bio": "text",
"instituteName": "text",
"phoneNumber": "text",
"imageFileId": "123e4567-e89b-12d3-a456-426614174000",
"profileLinks": [
{
"profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"link": "text"
}
]
}
{
"profileId": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "text",
"lastName": "text",
"bioMarkdown": "text",
"instituteName": "text",
"phoneNumber": "text",
"imageFile": {
"cloudFileId": "123e4567-e89b-12d3-a456-426614174000",
"fileId": "text",
"name": "text",
"contentType": "text",
"size": 1,
"webContentLink": "text",
"webViewLink": "text",
"directLink": "text",
"createdAt": "2025-08-11T02:45:32.163Z"
},
"profileLinks": [
{
"profileLinkId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"link": "text"
}
]
}
Deletes a specific profile link associated with the authenticated user's profile.
Authorizations
Body
profileLinkIdstring · uuidOptional
Responses
200
OK
400
Bad Request
application/json
401
Unauthorized
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
delete
DELETE /api/User/Profile/Link HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"profileLinkId": "123e4567-e89b-12d3-a456-426614174000"
}
No content