Authentication Endpoint

Authorize login to PRP API

/authentication/login endpoint

Payroll Point API endpoints use a JSON Web Token (JWT) token for authentication and authorization. An authentication endpoint is available that will accept your product API Key and provide a valid token needed to connect to the endpoints.

To request a new access token, send an HTTP GET request to the apiDomain URL, setting the api-key header to the API Key provided by Symmetry.

Sample Request

  curl --location --request GET 'https://api.symmetry.com/authentication/login'  \
  --header 'api-key: y0urAPI-KeyG0esH3re'

Success

{
  "accessToken": "yoUrTokEnISh3re!"
}

Unauthorized Response

An invalid, expired, or empty token will produce the following HTTP 401 unauthorized response.

{
  "message": "Unauthorized"
}

📘

Token Expiration

Tokens are valid for 24 hours. Once expired, you will receive the following response from the Payroll Point endpoints and must request a new token.



Jump to top