Skip to main content
GET
/
api
/
v1
/
users
/
me
Get Current User Profile
curl --request GET \
  --url https://api.seamind.xyz/api/v1/users/me \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "<string>",
    "emailVerified": true,
    "firstName": "<string>",
    "lastName": "<string>",
    "profilePictureUrl": "<string>",
    "role": "<string>",
    "state": "<string>",
    "lastLogin": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z"
  },
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "domain": "<string>"
  },
  "assignments": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "shipName": "<string>",
      "shipImoNumber": "<string>",
      "role": "<string>",
      "startDate": "2023-12-25",
      "dueDate": "2023-12-25",
      "endDate": "2023-12-25",
      "isActive": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Complete profile response.

user
UserProfileDTO · object
required

User profile for /users/me endpoint.

organization
OrganizationInfoDTO · object
required

Organization info for profile.

assignments
AssignmentWithShipDTO · object[]
required