Get phpMyAdmin link
Returns a direct sign-on link to phpMyAdmin for the specified database.
Returns a direct sign-on link to phpMyAdmin for the specified database.
Use this when a visual database interface is needed for SQL queries, imports, exports, or table management. The database name must be the full name returned by the list databases endpoint.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
usernamestringRequiredExample:
u123456789namestringRequiredExample:
Full database name as returned by the list databases endpoint.
u123456789_test_dbResponses
200
Success response
application/json
linkstringRequiredExample:
Direct sign-on URL to phpMyAdmin for the specified database.
https://auth-db123.hostinger.com/signon.php?sid=abc123401
Unauthenticated response
application/json
500
Error response
application/json
get/api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link
GET /api/hosting/v1/accounts/{username}/databases/{name}/phpmyadmin-link HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"link": "https://auth-db123.hostinger.com/signon.php?sid=abc123"
}Last updated
Was this helpful?