Skip to main content

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

TierLimit
FrontendUnlimited
Backend100 requests/second

Common parameters

Every request should include:

ParameterRequiredDescription
app_idYesYour edrone App ID
action_typeYesEvent type
sender_typeBackend onlySet to server for backend requests

Reference