All changes
NewAPIConsole

Public and Secret API keys keep your app and server access apart

PushFire now issues Public keys for apps, Secret keys for servers and Restricted keys with chosen scopes, so a key in your app can never send messages.

API keys now come in types, so each part of your stack gets only the access it needs:

  • Public key (pf_pk_...): for mobile and web apps. It registers devices and manages subscribers and tags. It cannot send messages.
  • Secret key (pf_sk_...): for your servers. It sends push and email and starts workflows.
  • Restricted key (pf_rk_...): a key with only the scopes you choose.

Every project gets a Public and a Secret key. Open Developers → API keys to create, reveal, rotate or revoke keys and see when each was last used. Your old project token keeps working as a legacy key. See API keys.