GETTING STARTED

API keys

AlgaPSA authenticates public REST API requests with API keys. You create a key in the AlgaPSA app, copy it once, and then send it on each request in the X-API-Key header.

Where to create a key

For a normal integrator workflow, create the key from your own user profile in AlgaPSA. In the current product UI, that setup flow lives under Profile → API Keys.

If you want the click-by-click product walkthrough, read Set up API keys in AlgaPSA.

How keys authenticate requests

Include your key in the X-API-Key header. Requests with a missing or invalid key are rejected.

curl
curl https://algapsa.com/api/v1/boards \
  -H "X-API-Key: $ALGA_API_KEY"

Permissions

API keys inherit the permissions of the user who created them. If a key cannot access an endpoint, first check whether the underlying user would be allowed to do the same thing in AlgaPSA.

Client-scoped keys

A key can also be limited to a set of clients by authorization policy bundles, assigned either to the key itself or to the user, role, or team behind it. Client-scoped bundles are configured under Settings > Security > Policies and need the Pro plan (Enterprise edition). A client-scoped key only sees records that belong to its clients, and the narrowing is applied in the database query rather than after the fact:

  • List endpoints for clients, contacts, interactions, tickets, and time entries return only in-scope records. Totals and pagination are calculated from that narrowed set, so page counts match what you can actually read. Time sheets are still listed, but their entries, entry counts, and hour totals include only in-scope time entries.
  • Reading a single out-of-scope client, contact, interaction, or time entry returns 404, exactly as if it did not exist. An out-of-scope ticket can return 403 instead.
  • Attaching a document (POST /api/v1/documents) to an out-of-scope client or contact returns 404.
  • Creating a time entry for an out-of-scope client returns 403 and has no side effects; for example, no time sheet is created for the period.

The same narrowing applies to tools called through the AlgaPSA MCP server with that key. If an integration unexpectedly gets empty lists or 404s, check whether the key, or its user, has a client-scoped bundle assigned.

Storage and rotation

  • Store keys in a password manager, secret manager, or environment variable store.
  • Create separate keys for separate integrations.
  • Rotate by creating a replacement key first, then deactivating the old one.
  • Do not commit keys into source control or paste them into public issue trackers.

Related pages