Users

Create temporary auth token

Create a one-time token that allows to access to the account by opening the link provided. It lasts only 1 hour and any attempting to use this token after 1 hour will result in a 401 Unauthorized response.

post/v2/users/{id}/token

Request

Query parameters

pageinteger

The page requested. Default to 1.

Example:1
per_pageinteger

The number of items per page. Default to 25.

Example:100
order_bystring

The field to order the results by. Default to id.

Example:id
directionstring

The direction method to sort results. Default to asc.

Example:desc

Headers

x-customer-api-keystring

Response

Sucess

Example response

{
  "data": {
    "user_id": 123456,
    "token": "kz1OrilDejZlzpId2kuxwu91LYdlzi2B",
    "created_at": "2024-08-01T16:03:50Z",
    "expires_at": "2024-08-01T17:03:50Z",
    "url": "https://api.brandtrack.fm/login/token/kz1OrilDejZlzpId2kuxwu91LYdlzi2B",
    "requested_by": 7303
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.