Home

API Key

An API key is a string of characters, typically 32 to 64 characters long, that a system uses to identify itself when calling an API. When you connect your accounting software to Stackord, for example, you generate an API key in Stackord and enter it into the accounting software. From then on, the accounting software presents that key with every request, and the API recognizes it and responds.

API keys should be treated like passwords. Anyone who has the key can make requests as if they were the authorized user. If an API key is exposed in a public code repository or shared insecurely, it should be revoked and regenerated immediately.

Most platforms allow multiple API keys to be created with different permission scopes. A key used for read-only reporting should not have write permissions. Separating keys by integration and scope limits the damage if one is compromised.