Testing with Postman
ImportingAccessing the Postman CollectionWorkspace
To get started with testing the SafeSky UAV API, followyou thesecan stepsaccess toour importfully the providedconfigured Postman Collection:workspace with pre-built requests and authentication:
-
Open Postman: LaunchAccess the Workspace: - Visit the SafeSky UAV API Postman
application.Workspace
ImportWhat's the CollectionIncluded:
ClickPre-configuredonAPItherequestsImportwithbuttonHMAC-SHA256in the top left corner of Postman.authenticationPasteAutomaticthesignaturefollowinggenerationURLusingpostmam_collection.jsonpre-request scripts
Setting Up AuthorizationYour Environment
ToAfter useforking the SafeSky API, you'll need tocollection, configure your APIenvironment key:variables:
-
OpenSelect theImported CollectionEnvironment:Locate - In the top-right corner of Postman, click on the environment dropdown
SetConfigure AuthorizationEnvironment Variables:
- Click
onthethreeeyedotsicon (👁️) next to thecollectionenvironmentnamedropdown,andthenchooseclick Edit. Go toSet theAuthorizationfollowingtab.variables:Verify
APIserver
https://sandbox-public-api.safesky.apphttps://sandbox-public-api.safesky.app
ss-api-key
(leave empty)
<your_api_key>
KeyImportant: Setx-ss-api-key- as a
Valuesecret:type<your_api_key>(replacevariableto<your_api_key>withkeepthe actualyour API key secure
Initial Value will be empty when you Current Value contains your personal API key
Click SaveVerify Environment Selection:
Understanding the Authentication
The collection includes a pre-request script that automatically:
Authorization, X-SS-Date, X-SS-Nonce, X-SS-Alg)
Handles timestamp generation for request bodies
Resolves environment variables in the canonical request
You don't need to manually configure authentication - just ensure your ss-api-key environment variable is set correctly.
Start Testing
Once the collectionenvironment is importedconfigured:
POST multiple UAV light - return traffic)
Review the Request: Check the request body and query parameters
Send the Available Endpoints
The collection includes the following pre-configured requests:
Troubleshooting
If you encounter authentication errors:
ss-api-key is correctly setserver variable points to https://sandbox-public-api.safesky.app