Note: Application, Database, and Static Site Hosting will be removed from both MyKinsta and the MyKinsta API on 31 January 2026. Your existing services will continue to run without interruption; however, you will need to manage them through the Sevalla dashboard using your MyKinsta credentials.
After this date, all API endpoints related to Application, Database, and Static Site Hosting will be provided exclusively through the Sevalla API. For more details about this transition, see Sevalla.
You can use the internal connections endpoint to send a POST request to create an internal connection between your application and database hosted on Kinsta. This request can be done from your terminal or using an automated script or CI/CD pipeline (e.g. CircleCI, Jenkins, etc.).
You can obtain the id from the applications endpoint.
Deprecated in favor of Sevalla API docs.
Internal connection created successfully
No or invalid API key provided to the request
Error occurred while creating the connection
{- "target_type": "dbResource",
- "target_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1"
}{- "result": "success"
}