Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Content-Type: application/json

  • Accept: application/json

Example Request Body
Code Block
{
    "persistentAccessToken": "jX7wUuyAIu8WHOBtSN7L0492y81dQZbJxc4oNweUVWIby6LHsS691QqsyIqeRw79"
}

Info

The response contains a full JSON representation of the authentication token.  The value in the tokenValue field is what should be passed in the X-Auth-Token header for authenticated requests.

Example Response
Code Block
200 OK
{
    "id": 11766,
    "dateCreated": "2022-10-15T18:51:28Z",
    "lastUpdated": "2022-10-15T18:51:28Z",
    "expires": "2022-10-16T06:51:28Z",
    "tokenValue": "acr2vdf088qmnrsjmomj5ne9tsbd0je1rspp84059vc9pii7ai6019g3eslv6024",
    "username": "john.smith@gmail.com"
}

...