---
title: "POST /AccessTokens/Login"
method: POST
path: "/AccessTokens/Login"
tags: ["AccessTokens"]
---

# POST /AccessTokens/Login

`POST /AccessTokens/Login`

## Request body

- QPilotCoreModelsDtoRequestsLoginDto
  - `accessScope` 'None' | 'Merchant' | 'Site' | 'Customer' | 'Administrator' | 'All', required
  - `email` string, required
  - `password` string, required
  - `emailVerificationToken` string, nullable
  - `integration` 1 | 2 | 3 | 4 | 5 | 6 | 7

## Response `200`

Success

- QPilotCoreModelsDtoResponsesLoginResponseDto
  - `userEmail` string, nullable
  - `userId` integer
  - `user` QPilotCoreModelsUsersUser
    - `id` integer
    - `email` string, required
    - `password` string, byte, required
    - `role` 'None' | 'Merchant' | 'Administrator'
    - `subscriptionId` string, nullable
    - `subscriptionStatus` 'None' | 'Trial' | 'Active' | 'Inactive'
    - `subscriptionPaymentMethodDescription` string, nullable
    - `subscriptionNextBillingDate` string, date-time, nullable
    - `subscriptionUpdatedUtc` string, date-time, nullable
    - `createdUtc` string, date-time
    - `updatedUtc` string, date-time
    - `activeTier` 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256
    - `chargifyProductHandle` string, nullable
    - `phoneNumber` string, nullable
    - `firstLogin` integer
    - `accountOwnerEmail` string, nullable
    - `emailVerificationStatus` 'Unknown' | 'Verified' | 'Unverified' | 'PendingVerification'
  - `token` string, byte, nullable
  - `tokenAuth` string, nullable
  - `tokenBearerAuth` string, nullable
  - `accessScope` 'None' | 'Merchant' | 'Site' | 'Customer' | 'Administrator' | 'All'
  - `customerId` string, nullable
  - `createdUtc` string, date-time
  - `updatedUtc` string, date-time
  - `expiresUtc` string, date-time

---

[API](https://skmtc.net/qpilot/apis/qpilot-api.md) · [All operations](https://skmtc.net/qpilot/apis/qpilot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qpilot/qpilot-api/revisions/b2f13a808fdd/schema)
