Schedule a meeting

Refresh User Token

Refresh User Token

Refresh an authentication token for a SkyPostal user using a valid refresh token.

URL

PROD https://api-amazon.skypostal.com

Endpoint

POST /api/refreshUserTokenHeaders

Request Credentials

Headers

userName

String - Required

This is the User Name provided by Skypostal.

userKey

String - Required

This is the User Key provided by Skypostal.

Authentication

Authentication

Bearer Token

String - Required

Use Bearer Token generated in the User Login endpoint.

The command will return the following format:

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_in": 21600,
    "token_type": "Bearer"
}