API Keys

API Keys

Use API keys to authenticate programmatic requests to the PostNext API. Manage your keys at postnext.io/account/api-keys.

The PostNext Account Settings with the API Keys card under the billing and access options

Create an API key

  1. Go to postnext.io/account/api-keys.
  2. Create a new key and copy it immediately. The full key is only shown once.

Authenticate requests

Include your API key in every request using the x-api-key header:

curl -H "x-api-key: YOUR_KEY" https://postnext.io/api/...

All API responses are JSON.

Keep keys secure

  • Do not commit keys to source control or expose them in client-side code.
  • If a key is exposed, delete it immediately at postnext.io/account/api-keys and create a replacement.
  • Use one key per integration so you can rotate or revoke individual keys without affecting others.