cURL
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 } ] }
Get the current user’s profile.
Returns user info, organization details, and all assignments with ship data.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Complete profile response.
User profile for /users/me endpoint.
Show child attributes
Organization info for profile.