Getting Started
In this guide, you will learn how to set up and use the seven API. We will show you how to use one of our API clients and how to make your first API request. Additionally, you will find out where to find all the information you need next to fully leverage the power of our robust REST API.
Before you can make requests to the seven API, you need to create an API key in the web app in the Developer section.
Choose Your Client
Before making your first API request, you need to select the API client you want to use. In addition to the good old cURL HTTP requests, seven also offers clients for JavaScript, Python, PHP, and many other programming languages. The following example shows you how to install each client.
# cURL is most likely already installed on your computer.
curl --version
Making your first API request
After selecting your preferred client, you can make your first call to the seven API. Below you can see how to send a GET request to the "SMS" endpoint to send a message.
curl -X POST https://gateway.seven.io/api/sms \
-H "X-Api-Key: IHR_API_SCHLÜSSEL" \
-H "Accept: application/json" \
-d "to=49176123456789" \
-d "from=AcmeInc" \
-d "text=hallo welt"
Read the documentation for the SMS endpoint →
What's next?
Great, now you have set up an API client and made your first request to the API. Here are some links that might be useful for further exploring the seven API: