Skip to content

API Keys

The PHC platform allows users to create and manage API Keys that can be used by applications to access the LifeOmic API. Instead of having to do the normal authentication process of entering in user credentials, an API Key can be supplied instead that acts on behalf of the user and provides the same level of access within the account.


You can also delete a key from the API Keys screen. Deleting a key makes it invalid immediately. Only delete a compromised key or a key you no longer wish to use.

Setting up API Keys

  1. Go to to sign in and complete the steps to access your account in PHC.
  2. From any page in PHC, click the PHC logo at the top of the page.
  3. From the home page, click the Account Info tile. Account
  4. Click the API Keys tab.
  5. Click Add.
  6. Enter a name in the Name field.
  7. Enter a number in the Days before expiration field. (The minimum number of days is 1 and the maximum is 365.)
  8. Click Add.
    API Keys Add

  9. After the key is created, a New API Key dialog shows the key value. Copy and store the API key value in a secure location, such as a password manager. Note: This is the only time you can copy the key value.
    API Key Value

  10. From the API Keys screen, you can see the list of current API keys. Every API Key has an expiration date. Once a key has expired it can no longer be used. This is in place to encourage users to rotate their keys on a regular schedule. API Keys Confirm

Best Practice

A best practice is to rotate API keys on a regular basis. To ensure this, all API keys have a required expiration with a maximum length of 365 days. Determine the rotation interval that works best for your use case.

Because API keys tend to spread into code repositories or unnecessary locations during active development (for instance, docker containers), optimizing the continuous delivery pipeline to handle API key rotation will ensure this process is streamlined.

Last update: 2021-07-27