projectsend.org
← All posts

API token abilities in ProjectSend

An API token in ProjectSend acts on exactly what its abilities allow. Here is what each ability unlocks and what changed for existing tokens in 2.8.0.

· By ProjectSend Team

A developer fits a shaped blue-violet key into a connector slot on a friendly server panel; Risograph print style, warm paper ground

An API token in ProjectSend acts on exactly what its abilities allow — not on what its owner can do on the web. This note is based on ProjectSend 2.10.0 (November 2026). The ability model expanded in 2.8.0 to include separate abilities for file details — expiry dates, download limits, categories and public access. If a call returns 200 but a field does not change, the token is likely missing one of them.

What abilities are

Three conditions must hold on every API request: the token carries the ability, the token's owner still holds the matching role permission — a demotion takes effect immediately, without anyone touching the token — and the edition supports the feature. The token creation screen shows only the abilities your account holds and that the current edition can act on. Every operation in the OpenAPI reference at /api names its own requirement.

Abilities and what they unlock

The list below covers the abilities that come up most often. The API guide has the complete reference with every endpoint's requirement. The token creation screen is authoritative for what your account can grant: it shows only the abilities your role holds and that the current edition supports.

  • upload — list files and upload new ones
  • upload_public — make a file public, or set its public flag when uploading
  • set_file_expiration_date — set an expiry date when uploading or editing a file
  • limit_downloads — set a download limit on a file
  • set_file_categories — assign categories to a file
  • upload_to_public_folders — upload directly into a public folder
  • edit_files — read and edit metadata on files you uploaded; share files and work with folders
  • edit_others_files — the same as edit_files, but for files others uploaded
  • manage_clients, edit_clients — list and manage client accounts; edit_clients can also set a client's password and remove their second factor
  • manage_users, edit_users — list and manage staff accounts; edit_users can also set a staff member's password and remove their second factor
  • view_actions_log — read the activity log

Give each integration its own token with only the abilities it needs. If a token is ever compromised, its scope limits what can be done with it.

More integrations and client portal notes are in the Client portals section. If you're connecting a no-code tool like Zapier or n8n, the Automating ProjectSend with Zapier and n8n note covers that setup.

What happens without an ability

A token missing an ability does not get a 403 when it tries to set that field. It gets a 200, and the field is left as it was. Send "public": true on a token without upload_public and the response shows a file that is still private. The API follows the same logic the web interface uses: a form field a role cannot touch is saved without that field, with no error.

This applies to the file detail abilities added in 2.8.0 — upload_public, set_file_expiration_date, limit_downloads and set_file_categories. An older token that sets any of these gets back a 200 and nothing changes. Recreate the token with those abilities ticked if the integration relies on them.

The edit_clients and edit_users note

These two abilities extend to full control of the accounts they can reach. A token with edit_clients can set a client's password and remove their second factor — the same as signing in as that client. edit_users does the same for staff accounts the token's owner outranks. The token creation screen warns about this, as of ProjectSend 2.7.0 (October 2026). Give these abilities only to a token you would trust with direct access to those accounts.

A token cannot touch its own owner's credentials through the API, and cannot manage any staff account that holds a higher role than its owner.

What to check if you upgraded from before 2.8.0

Two changes in 2.8.0 may affect integrations that were working before. The first adds file detail abilities that older tokens do not carry; the second tightens how existing abilities like edit_others_files behave. Both have a silent outcome — no error is returned — which makes them easy to miss.

  • File detail abilities are now explicit. Making a file public, setting its expiry date, its download limit or its categories each require their own ability on the token (upload_public, set_file_expiration_date, limit_downloads, set_file_categories). Tokens created before 2.8.0 do not carry them, and those fields are silently left unchanged. If your integration sets any of these, recreate the token with the abilities ticked. The 2.8.0 release notes cover this under "Important — Do These Yourself".
  • A token does only what it was given, even when its owner could do more. Before 2.8.0, edit_others_files also covered the token owner's own files. Now edit_files covers the owner's files and edit_others_files covers everyone else's. Check any integration that edits its own files using edit_others_files.

The 2.8.1 release also tightened the staff management side: a token that manages staff accounts now needs to hold the abilities those accounts' roles carry. Only a token holding every ability can create or manage an administrator.

Reading a token's effective abilities

The endpoint GET /api/v1/me returns the abilities the token actually has in practice — the intersection of what it was granted and what its owner holds right now. It is the first call to make when debugging a failed or silently wrong integration.

curl -H "Authorization: Bearer YOUR_TOKEN" \
     -H "Accept: application/json" \
     https://your-install.example.com/api/v1/me

Run it after any role change on the owner's account to confirm what the token can still do.

Questions

If something here does not match what you see, the API guide has the full reference. Questions are welcome in Discord. If something looks wrong or you know a better way, GitHub issues is the right place. The docs live in the app repository, so corrections are welcome as pull requests too.

Frequently asked questions

Why does a call succeed but the field I sent does not change?
The token is missing the ability for that field. The API returns 200 and leaves the field unchanged rather than refusing with 403. Check the token's abilities in Settings → API tokens.
Do I need to recreate tokens I created before 2.8.0?
If the token sets a file public, sets an expiry date, a download limit or categories, yes — those abilities did not exist before 2.8.0. Without them the fields are silently left unchanged.
What is the risk with edit_clients and edit_users?
A token with either ability can set a client's or staff member's password and remove their second factor, which amounts to signing in as that account. Give these only to a token you would trust with direct account access.
How do I see what abilities a token actually has?
GET /api/v1/me returns the token's effective abilities — the intersection of what it was granted and what its owner currently holds.

ProjectSend Team. Written by the people who build and maintain ProjectSend, the open-source client portal developed in the open since 2011.

Keep reading

ProjectSend is free and open source

It's GPL v2 and built in the open. If something here didn't work for you, or you know a better way to do it, let us know: that's how the docs and the software get better.

Prefer not to run a server? ProjectSend Cloud is the hosted version, run by the same people.