---
title: "POST /token/auth"
method: POST
path: "/token/auth"
tags: ["token"]
---

# POST /token/auth

`POST /token/auth`

Add authentication token

## Request body

- AuthToken
  - `count` integer
  - `data` object[]
    - `active` boolean
    - `create_date` string
    - `creator_guid` string
    - `expire_date` string
    - `guid` string
    - `ip_address` string
    - `lastusage_date` string
    - `limit_calls` integer
    - `name` string
    - `usage_calls` integer
    - `user_object` object
      - `email` string
      - `firstname` string
      - `id` integer
      - `lastname` string
      - `partid` integer
      - `enabled` boolean
      - `usergroup` string
      - `username` string

## Response `201`

AuthTokenCreateSuccessfulResponse

- AuthTokenCreateSuccessfulResponse
  - `data` object
    - `token` string
  - `message` string

## Other responses

- `400` — FailureResponse

## Changes

> 16 revisions in range; 1 could not be searched.

- **2021-11-03** `8b089db7394c` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-11-03** `31e15898198d` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-19** `2ab28454b40f` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-13** `b1f82f1cf2a3` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-13** `ee397eaefd08` — 7 info
  - the endpoint scheme security `SecurityDefinitions` was added to the API
  - the endpoint scheme security `in` was added to the API
  - the endpoint scheme security `name` was added to the API
  - the endpoint scheme security `type` was added to the API
  - …3 more

[Full history](https://skmtc.dev/sipcapture/apis/homer-app/changes/token/auth/post.md)

---

[API](https://skmtc.dev/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.dev/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sipcapture/homer-app/revisions/2f261ecc6074/schema)
