API How-Tos

https://api.ionos.com/docs/dbaas
api.ionos.com
Click here for the OpenAPI Specification File
To make authenticated requests to the API, you must include a few fields in the request headers. Please find relevant descriptions below:

Header
Required
Type
Description
Authorization
yes
string
HTTP Basic authorization. A base64 encoded string of a username and password separated by a colon. [email protected]:password
X-Contract-Number
no
integer
Users with more than one contract may apply this header to indicate the applicable contract.
Content-Type
yes
string
Set this to application/json.

We use curl in our examples, as this tool is available on Windows 10, Linux and macOS. Please refer to our blogpost about curl on Windows if you encounter any problems:
cURL in Linux: what you need to know to get started
IONOS Digitalguide
Getting started with cURL in Windows
IONOS Digitalguide
Export as PDF
Copy link
On this page
Quick Links:
DBaaS API - OpenAPI Specification
Request parameter headers
Examples