Ping
pingVerify the Porkbun API connection and credentials. Returns the caller's public IP, whether the API key is valid, account (the username of the Porkbun account the key belongs to), and scopes: what the key may do (["full"], or a list…
Instructions
Verify the Porkbun API connection and credentials. Returns the caller's public IP, whether the API key is valid, account (the username of the Porkbun account the key belongs to), and scopes: what the key may do (["full"], or a list such as read, dns, domains, email, hosting, purchase, funding, account). A call outside the key's scopes fails with INSUFFICIENT_SCOPE and changes nothing; tell the user rather than retrying, since only they can widen the key's permissions. Use this as a first sanity check before making other calls, and to confirm you are in the account the user means (a domain in another account comes back as DOMAIN_NOT_FOUND, which also names the account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||