Authentication
You'll need to authenticate your requests to access any of the endpoints in the GroundControl API. You first need an API key. If you don't have one yet, just go to your project in the GroundControl dashboard, then navigate to Settings → API keys and create one.
Once you have an API key, you just need to pass an Authorization
header when making requests. Example using cURL:
Example request with API key
curl https://api.groundcontrol.sh/projects/YOUR_PROJECT_ID \
-H "Authorization: Bearer YOUR_API_KEY"
The id of your project can be found in the URL of your project in the dashboard. For example, if your project URL is https://app.groundcontrol.sh/projects/P1234
, then your project id is P1234
. You can also find this id in the settings of your project.