---
title: "Create Auth Token"
method: POST
path: "/auth"
tags: ["Authorization", "auth"]
---

# Create Auth Token

`POST /auth`

## Request

- Base URL: `https://api.fonestorm.com/v2`
- URL: `https://api.fonestorm.com/v2/auth`
- Auth: none declared

Create an authentication token to use for API requests.

## Request body

- object
  - `username` string, required: FracTEL username
  - `password` string, password, required: FracTEL password
  - `expires` integer: FracTEL Token Life Time in Seconds | Default is 3600 seconds | Maximum is 86400 seconds (24 hours)

## Response `201`

Created

- object
  - `auth` Authorization
    - `token` string, required: JSON Web Token.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `default`: Error

---

[API](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail.md) · [All operations](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail/llms.txt) · [OpenAPI document](https://skmtc.dev/fonestorm/apis/fractel-api-2-12-87c-hail/revisions/9738d9b806d4?raw)
