identity

GET /v2/identity/whoami

Changed on

Request

  • Base URL
    https://api.loyaltylion.com
  • URL
    https://api.loyaltylion.com/v2/identity/whoami
  • Auth
    • HTTP bearer
    • or HTTP basic

Response

200

Example response

{
  "identity": {
    "kind": "api_key",
    "account_id": 1,
    "program_id": 2,
    "scopes": [
      "read_customers",
      "read_orders"
    ],
    "integration": null
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added api_key oauth_client site_token_secret discriminator mapping keys to the response property for the response status