Skip to content
Glossary
Platform and integrations

API key

A secret credential that identifies a program when it calls an API on your behalf.

Definition

An API key is a long secret string that a program sends with each request to prove it is allowed to use an API. It acts on behalf of the account that created it, so it should be treated like a password.

Good practice is to give each key only the permissions it needs, keep it out of shared code, and revoke it as soon as it is no longer used or may have leaked.

Example

Creating a read-only key for a reporting script and a separate key for the tool that creates posts.