Create an API key

Last updated on Dec 01, 2026

One API key works for the REST API, the CLI, the SDK and the MCP server. API access comes with every plan.

Create a key

  1. Open API Keys in the sidebar.
  2. Click Create Key.
The API Keys page with the Create Key button framed
Figure 1. Desktop version
  1. Give it a Name you will recognize, for example "CLI tool" or "CI/CD pipeline".
  2. Under Scopes, choose what the key may do. Use Select all for full access.
  3. Optionally set an Expiration date.
  4. Click Create.
The Create Key dialog with a name, scopes and an expiration date
Figure 2. Desktop version
  1. Copy the key straight away. It starts with pq_live_ and is shown only once.

Scopes

Scope Allows
posts:read Read posts
posts:write Create, update, publish and delete posts
accounts:read Read connected accounts
workspaces:read Read workspaces
workspaces:write Create and update workspaces
media:read Read media
media:write Upload, move and delete media

A request that needs a scope the key does not have is refused with 403.

Revoke a key

Click the trash icon next to the key and confirm Revoke. Anything using it loses access immediately.

Rate limit

Requests are rate-limited per key. If you get a 429 response, wait for the time in the Retry-After header, then retry.

Next

Start with the API quick start, or browse the API reference.