Login with username/password
Authenticates the user by login name and password and returns a JWT access/refresh token pair.
If the login has access to multiple databases the resulting token is a multi-db token; use the
SwitchCompany/SwitchStore endpoints to select a specific database/store afterwards.
Returns 403 Forbidden if the account's password has expired (temporary password not yet changed).
Permissions: All users.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
Login credentials (user name and password).
Responses
Request Example for post/v3/Account/Token
curl /v3/Account/Token \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{}'
{
"AccessToken": "string",
"RefreshToken": "string"
}