Authentication

To authenticate with the CleverCards API, send a POST /login request using the username and password associated with your API credentials. You must also include your unique API key, which is issued when your account is created.

If the credentials are valid, the CleverCards API will respond with an access token.
This token must be included in the Authorization header of all subsequent API requests:

Authorization: "<your_token_here>"

Note: The access token is required to authorize any protected API operation.

Login Failure Scenarios

A login request to the CleverCards API may fail under the following conditions:

  • The provided username or password is incorrect.
  • The API key is missing or invalid.
  • The user account is suspended, deactivated, or lacks API access permissions.
  • The request payload is malformed or missing required fields.

Ensure that all credentials are accurate and properly formatted before retrying the request.