---
title: "Create Authentication Token"
method: POST
path: "/auth"
tags: ["Auth"]
deprecated: true
---

# Create Authentication Token

`POST /auth`

> **Deprecated.**

Creates an authentication token for an implementer to utilize for subsequent API requests.

## Request body

- CreateAuthTokenReq
  - `username` string, required — The B2B (business to business) back office username.
  - `password` string, required — The B2B (business to business) back office password.
  - `appTypeID` number, required — The version type identifier.

## Response `200`

Creating Authentication Token was successful.

- CreateAuthToken
  - `username` string — The B2B (business to business) back office username.
  - `authToken` string — The B2B (business to business) back office session token.
  - `expiresAt` string — The date and time the session token expires.
  - `security` object
    - `description` string — A custom description that describes the permission set.
    - `permissionSet` unknown[] — A list of the permissions the back office permissions assigned.
      - unknown
    - `permissionID` string — A unique identifier for the permission set.
  - `userID` string — A unique identifier created for each User on DriveWealth's platform.
  - `firstName` string — The Firm Name.
  - `lastName` string — The Firm Type.
  - `parentIBID` string — A unique identifier created for each User on DriveWealth's platform.

---

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