Get ephemeral token
Changed onThis endpoint returns a token that can be passed to an application for authorized access. The lifetime of this token is 10 seconds.
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/tokens/ephemeral
- AuthAPI key in header api-key
Query parameters
The resource to return a redirect URL to.
Include a redirect url to the application formatted with the ephemeral token.
Response
OK
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ",
"redirect_url": "https://app.shipstation.com/oauth/callback?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the
/response's property type changed from no type toobjectfor status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed from the
/response propertyallOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking