Create Sandbox Key
create_sandbox_keyGenerate a free Porkbun sandbox API key with no credentials or approval to rehearse domain registration, DNS, and renewal workflows against an isolated fake account.
Instructions
Instantly create a free SANDBOX API key — NO credentials or approval needed (works before you have any keys). Returns a pk1_sb_ / sk1_sb_ pair for a throwaway test account seeded with $1000 fake credit. Set the returned keys as PORKBUN_API_KEY / PORKBUN_SECRET_API_KEY (or pass them to any tool) and the whole API runs against an isolated sandbox: no real registry actions, DNS changes, certificates, or charges. Ideal for rehearsing register → DNS → renew end-to-end before using a live key. Optional name labels the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label/title for the sandbox key. |