---
title: "Login using redirect, without exposing the user credentials.
Please note, this doesn't validate the user credentials, and will allow creating tokens for incorrect credentials"
method: POST
path: "/website/users/loginredirect/"
tags: ["Website (Users)"]
---

# Login using redirect, without exposing the user credentials.
Please note, this doesn't validate the user credentials, and will allow creating tokens for incorrect credentials

`POST /website/users/loginredirect/`

## Headers

- `Content-Language` unknown

## Request body

- WebsiteUsersLoginRedirectRequest
  - `Credentials` CoreAPICredentials, required
    - `CompanyID` integer, required — Company identifier
    - `APIKey` string, required — API key secret
  - `EmailAddress` string, required — User email address
  - `Password` string, required — User password

## Response `200`

OK

- ResponseWebsiteUsersLoginRedirectResponse
  - `Status` 'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
  - `UserErrorMessage` string, nullable — Error message, in a user readable format
  - `TechnicalErrorDetails` string, nullable — Technical error details, let us know if you received this.
  - `Data` WebsiteUsersLoginRedirectResponse
    - `RedirectURL` string, nullable

---

[API](https://skmtc.dev/myofficeguy/apis/sumit-api-full.md) · [All operations](https://skmtc.dev/myofficeguy/apis/sumit-api-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myofficeguy/sumit-api-full/revisions/6f1a9725c9ed/schema)
