Skip to main content

Complete Profile Verification

GET 

/company/auth/isComplete

Endpoint to check if the user profile is complete. Performs the following operations:

  1. Validates JWT token
  2. Retrieves authenticated user data
  3. Verifies mandatory profile fields
  4. Returns completion status

Verified fields:

  • Full name
  • Phone number
  • Address
  • Tax data (NIF)
  • Associated company data

Detailed flow:

  1. Client sends request with valid JWT token
  2. Server verifies authentication (401 if invalid)
  3. Searches for user in database
  4. Verifies mandatory profile fields
  5. Returns completion status (true/false)

Example of successful response:

{
isCompleted: true
}

Error codes:

  • 401: Invalid or missing token
  • 404: User not found
  • 500: Internal server error

Responses

Profile Completion Status