Help centreAI assistants and integrations

Find and use your API key

Your API key is in Account settings under API keys. Send it in the x-api-key header with every request to https://api-app.postnext.io. Each account has one key.

Updated  · 1 min read

Find your key

  1. Open Account settings and choose API keys. The address is postnext.io/account/api-keys.
  2. Find your key under Current API Key.
  3. Click the copy button next to it.

What you see: The key is on your clipboard, ready to paste into your script or tool.

Send the key with a request

Add the key in the x-api-key header of each request:

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

The API answers in JSON. A request with your key acts as your account, and your plan limits apply. Every endpoint is in the API reference.

Make a new key

Click Regenerate API Key and confirm. The old key stops working at once.

All your scripts and tools use the same key. Put the new key in each of them.

Keep your key safe

  • Do not put the key in code that you share or publish.
  • Do not use the key in code that runs in a browser.
  • If someone else saw the key, make a new one at once.

More on the PostNext for developers page.

If it does not work

The API says you are not signed in

The key is missing or old. Check the x-api-key header, and copy the key again from API keys.

A tool stopped working after a new key

The old key stopped when you made a new one. Put the new key in that tool.

Still stuck?

Email contact@postnext.io. Write the email address of your PostNext account and what you tried.