Appearance
Quick Start
This guide will help you make your first API call in just a few minutes.
Prerequisites
- Your access key (from Company page > Access key management subtab)
- Your secret key (from profile drawer in top right corner)
- Basic knowledge of HTTP requests
Step 1: Get Your Credentials
Access Key:
- Navigate to the Company page
- Go to the Access key management subtab
- Copy your access key
Secret Key:
- Click on your profile in the top right corner (profile drawer)
- Copy your secret key
Step 2: Make Your First API Call
Retrieve your company information:
bash
curl -X GET "https://api.<tenant>.pradeo-security.com/v2/company" \
-H "x-access-key: YOUR_ACCESS_KEY" \
-H "x-secret-key: YOUR_SECRET_KEY"Response:
json
{
"id": "<company-id>",
"name": "My business",
"creationDate": "2024-07-14T14:53:59.354Z",
"lastModificationDate": "2024-09-05T16:01:02.000Z",
"address": { ... },
"selectedResponsePolicy": { ... },
"deletedAt": null
}Step 3: Provision Your First Device
- Create a device group:
bash
curl -X POST "https://api.<tenant>.pradeo-security.com/v2/device-groups" \
-H "x-access-key: YOUR_ACCESS_KEY" \
-H "x-secret-key: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My First Group"
}'You can pass an externalId parameter at creation to pass your own id.
Troubleshooting
Cannot connect to API
Check:
- Verify your tenant ID is correct
- Verify the format:
api.<tenant>.pradeo-security.com - Test DNS resolution:
nslookup api.<tenant>.pradeo-security.com - Test connectivity:
ping api.<tenant>.pradeo-security.com
Wrong credentials error
Check:
- Verify your access and secret keys are correct
- Verify credentials are not expired
- Ensure you're using the correct keys for your tenant
Connection timeout
Check:
- Verify network connectivity
- Check if firewall allows outbound HTTPS connections
- Verify the endpoint URL is correctly formatted
- Try health endpoint to verify server is responding
Next Steps
- Configuration Examples - See integration examples
- MDM Integration - Learn about device management
- MTI Integration - Learn about application analysis
