Inspect the current API key
null = legacy key with full access), and the customer id of the authenticated API key. Used by the regfish MCP server and other integrations for capability discovery.Authentication
Request example
curl --request GET \
--url 'https://api.regfish.com/meta/token' \
--header 'x-api-key: YOUR_API_KEY'Responses
{
"success": true,
"code": 0,
"response": {
"key_id": "example",
"token_l4": "example",
"permissions": [
"example"
],
"scope": "example",
"customer_id": 1
}
}{
"success": false,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"success": false,
"message": "Unexpected error",
"error": "Unexpected error"
}Become part of the community
The regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every regfish customer.