Quickstart
This guide will get you all set up and ready to use the OneSend API.
Before you can make requests to the OneSend API, you will need to grab your API key from your dashboard.
Choose your client
Before making your first API request, you need to pick which API client you will use. Currently we only support REST Calls, but SDKs will be available in the near future.
# cURL is most likely already installed on your machine
curl --version
Making your first API request
After picking your preferred client, you are ready to make your first call to the OneSend API. Below, you can see how to send a POST request to the Short Messages endpoint to send an SMS.
Request
POST
/api/short_messagescurl https://api.onesend.de/api/short_messages \
-H "Authorization: ProjectKey {token}" \
-d '{"to": "+491573123123123", "from": "OneSend", "message": "My first SMS"}'
What's next?
Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the OneSend API: