Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

URI: 

  • https://api.onlinephotosubmission.com/authentication-token

Optional URL Parameters: N/A

HTTP Method:POST

Required Headers:

  • Content-Type: application/json

  • Accept: application/json

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

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
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"
}




  • No labels