ElephantSQL API

By Lovisa Johansson - posted
ElephantSQL API

We're happy to announce an instance API for your ElephantSQL PostgreSQL database!

An Instance API which allows you to list, create, update and delete ElephantSQL instances programmatically is now available. You can find your API key and further API documentation under the API tab from the control panel.

PostgreSQL API

Below is an example of how you can list your ElephantSQL instances.

List ElephantSQL instances

URL : https://customer.elephantsql.com/api/instances

Method: GET

Example request: curl -u YOUR-API-KEY: https://customer.elephantsql.com/api/instances

Example response: [{ "id": 1234, "plan": "turtle", region: "amazon-web-services::eu-west-1", name: "My test" }]

If you have any questions, comments or need feedback, please do not hesitate to contact us at support@elephantsql.com .