Authentication

Authentication is handled via credential validation and JWT token issuance. Use the endpoint below to validate your credentials and receive a token for use on all protected endpoints.

Validate Credentials

POSThttps://tdpudkswxg.execute-api.us-west-2.amazonaws.com/registration/validateUser

Request

{
  "username": "<partner_username>",
  "password": "<partner_password>"
}

Success (200)

{
  "token": "Bearer <jwt_token>"
}

Failure (401)

{
  "message": "Invalid Credentials"
}

Using the Token

All protected endpoints require an Authorization header with the token returned from the validation endpoint:

Authorization: Bearer <jwt_token>

Keep your token secure and do not share it publicly. Request a new token if you believe it has been compromised.