Skip to main content
API keys are self-managed from your Phygitals account. There is no separate key-management API — create, list, update, and revoke keys from Settings → API keys on phygitals.com while logged in.

Eligibility

Before you can create a key, your account must meet both requirements:
  1. API keys enabled — available on eligible accounts. If the section is unavailable, contact hello@phygitals.com.
  2. External Solana wallet linked — a self-custodied Solana wallet connected to your account. Embedded or custodial wallets do not qualify.
The Settings page shows specific reasons when you are not eligible.

Creating a key

1

Open Settings

Go to phygitals.com/settings and find the API keys section.
2

Name the key

Choose a descriptive name (for example production-bot or buyback-script). Names help you identify keys later — only the prefix of the secret is shown after creation.
3

Set expiration

Choose Never expires or pick a future date and time. Expired keys stop working immediately.
4

Copy the secret

The full key (phy_…) is displayed once. Copy it to your secrets manager before closing the dialog. You cannot view it again.

Limits

  • Up to 10 active keys per account at a time
  • Revoke unused keys before creating new ones if you hit the limit

Listing keys

The Settings page lists all active keys with:
FieldDescription
NameLabel you chose at creation
PrefixFirst characters of the secret (for identification only)
Scopesvm.buy.crypto, marketplace.take-claw-bid
ExpiresExpiration date, or “Never”
Last usedApproximate time of the most recent authenticated request

Updating expiration

You can change a key’s expiration from Settings:
  • Switch between Never expires and a specific date
  • Set a new future expiration on an existing key
Revoked keys cannot be updated. Create a new key instead.

Revoking a key

Revocation is immediate and permanent. A revoked key returns 401 on the next request. Revoke keys you no longer use — especially if a secret may have been exposed.
Revocation cannot be undone. Generate a new key if you still need programmatic access.

Security practices

  • One key per integration — use separate keys for different scripts or environments so you can revoke individually
  • Rotate on exposure — if a secret leaks, revoke it immediately and create a replacement
  • Prefer short expirations for experimental or temporary automation
  • Server-side only — keys authenticate as you; never ship them to browsers or mobile clients