Authentication Tokens

postAuthTokens

POST
/authTokens

Create an AuthToken to add an additional layer of authentication, security, and tracking for Apikeys and Sessions.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Create Authentication Token Request

Create Authentication Token Request

login*string

The Login that owns this resource.

customer*string

The customer identifier from the AuthToken used during authentication.

token*string

The auto-generated token identifier.

inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X POST "https://example.com/authTokens" \  -H "Content-Type: application/json" \  -d '{    "login": "t1_log_6372b01eed9b6a8c75ac8a3",    "customer": "000a1eafdfdb335179adf94c1d8bc36d",    "token": "261cf67bb2dc20f492abcdb39ecee847",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_atk_67d4721def0c98ba2f417bz",        "created": "2025-03-14 14:14:53.9897",        "modified": "2025-03-14 14:14:54.5877",        "creator": "t1_log_6372b01eed9b6a8c75ac8a3",        "modifier": "t1_log_6372b01eed9b6a8c75ac8a3",        "login": "t1_log_6372b01eed9b6a8c75ac8a3",        "token": "261cf67bb2dc20f492abcdb39ecee847",        "customer": "000a1eafdfdb335179adf94c1d8bc36d",        "used": 202503141414,        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}