Dropcolis Partner API

Documentation API pour intégration partenaires

1 888 458 6998info@dropcolis.cadropcolis.ca

Quick Start

Get Started in 3 Steps:

  1. Get Credentials: Contact Dropcolis to receive your public_key and secret_key
  2. Generate Signature: Use HMAC-SHA256 to sign your requests (see examples below)
  3. Make Requests: Include required headers: X-Api-Key, X-Timestamp, X-Signature

Available Endpoints

Partner API (Authentication Required)

GET /v1/health
Check API health status
POST /v1/orders
Create a new delivery order
GET /v1/orders
List all orders with filtering and pagination
GET /v1/orders/{order_id}
Get order details by ID
POST /v1/orders/{order_id}/cancel
Cancel an order
POST /v1/rates/quote
Get delivery rate quote
POST /v1/webhooks/test
Send test webhook to your endpoint

Public Tracking (No Authentication)

GET /track/{order_id}
Track order status (JSON response)
GET /track/{order_id}/html
Track order status (HTML page)

Authentication

All partner API endpoints require HMAC-SHA256 authentication:

Required Headers:

Signature Generation:

string_to_sign = timestamp + "\n" + method + "\n" + path + "\n" + body
signature = HMAC_SHA256(secret_key, string_to_sign)
X-Signature = "v1=" + hex(signature)

Additional Resources

Code Examples

See the ReDoc documentation for complete code examples in multiple languages including: