Getting StartedPersonal API Tokens

Personal API Tokens

Personal API tokens authenticate CLI and API calls.

Use personal tokens instead of shared workspace tokens so internalpage can keep the page creator tied to the actual user or automation owner.

Token handling

  • Copy the raw token only once when it is created.
  • Store it in a password manager, CI secret, or local shell secret store.
  • Pass it as IP_TOKEN or through the CLI auth command.
  • Revoke old tokens when a laptop, CI job, or ownership boundary changes.
npx @internalpage/cli auth login --token ipat_xxx

For one-off commands, prefer an environment variable:

IP_TOKEN=ipat_xxx npx @internalpage/cli pages create ./report.html