Trace API
The Trace API is the core of edrone integration. All tracking events are sent to this endpoint.
Endpoint
POST https://api.edrone.me/trace
Request format
Send data as application/x-www-form-urlencoded:
curl -X POST https://api.edrone.me/trace \
-d "app_id=YOUR_APP_ID" \
-d "action_type=product_view" \
-d "product_ids=12345"
Response
Success
HTTP 200 OK
Headers:
x-edrone-event-id: abc123-def456-...
Error
HTTP 400 Bad Request
{
"error": "Missing required field: app_id"
}
Authentication
Authentication is done via app_id parameter. Get your App ID from Mission Control.
Rate limits
| Tier | Limit |
|---|---|
| Frontend | Unlimited |
| Backend | 100 requests/second |
Common parameters
Every request should include:
| Parameter | Required | Description |
|---|---|---|
app_id | Yes | Your edrone App ID |
action_type | Yes | Event type |
sender_type | Backend only | Set to server for backend requests |
Reference
- Fields - All available fields
- Action Types - Event types
- Required Fields - Required fields by event