Skip to content

Use service credentials

Authenticate requests with an API key and set the client header so API activity shows the tool that sent it.

Use the secret

Send the secret as a bearer token on every request.

Shell
curl https://projectfeed.app/api/v1/tasks \
  -H "Authorization: Bearer pf_YOUR_API_KEY"

See Authentication for the other accepted headers and Scopes for what each scope allows.

Show which client sent a write

The optional X-Project-Feed-Client header tags posts, tasks, comments, and other content created through the API with the tool that sent it. The value is not case sensitive, and a version after a slash, as in cli/1.4.0, is ignored. These names and aliases are accepted. Anything else is ignored.

codex
codex, openai-codex
claude
claude, claude-code, claude-ai
grok
grok, xai
cursor
cursor
gemini
gemini
openai
openai, chatgpt
cli
cli, pf, pfeed
ios
ios
android
android
Shell
curl https://projectfeed.app/api/v1/posts \
  -H "Authorization: Bearer pf_YOUR_API_KEY" \
  -H "X-Project-Feed-Client: claude-code" \
  -H "Content-Type: application/json" \
  -d '{"projectId":"prj_abc123","title":"Canal gate update","content":"The gate is ready for review."}'

Project Feed shows the client name on content and task activity. Callers set the header themselves, so it does not prove who made a request and grants no access. The CLI sends cli by default. Set PFEED_CLIENT or PROJECT_FEED_CLIENT to change it, for example when an AI assistant drives the CLI.

Common setups

CI deploy bot
One key per repository or environment with posts:write and tasks:write. It publishes release notes and marks shipped tasks done.
Issue sync
A key with tasks:write and comments:write, stored as a secret in the other tool. For GitHub, check the native integration first.
Scheduled report
A read-only key with posts:read that a scheduled job uses to build a digest. A leaked read key can still expose the data it can read.

Fix request problems

Requests return 401
Check the bearer format and whether the key expired, was revoked, or was rotated. Its creator must still be an active workspace member with an enabled account. Check a replacement with the auth check endpoint before you restart the job.
Requests return 403
Check the key's effective scopes, the workspace, and the creator's role. If a scope is missing, choose Edit permissions on the key. You do not need a new secret. Add only the scope the request needs.
Writes show the wrong client
Set X-Project-Feed-Client to one of the accepted values, or set PFEED_CLIENT for the CLI.
Image preview
100%