# Get an Authentication Token (API V2 only) Retrieves the access token, token type and the refresh token. Endpoint: POST /token Security: basic, X-PriceFx-jwt ## Header parameters: - `Pricefx-Key` (string, required) The Pricefx API key. Contact Pricefx Support to get your Pricefx-Key. ## Request fields (application/json): - `username` (string, required) - `partition` (string, required) - `password` (string, required) A clear-text password. ## Response 200 fields (application/json): - `access-token` (string, required) - `refresh-token` (string, required) - `token-type` (string, required) - `expires-in` (number, required) ## Response 400 fields (application/json): - `error` (string, required) ## Response 401 fields (application/json): - `error` (string, required) ## Response 403 fields