API Reference
The Spedisci.online API is a REST API that accepts JSON request bodies and returns JSON responses.
Base URL
https://demo1.spedisci.online/api/v2/Authentication
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer <your_token>See the Authentication page for details.
Content Type
All requests must include the Content-Type: application/json header.
Endpoints
Shipping
| Method | Path | Description |
|---|---|---|
POST | /shipping/rates | Get available carrier rates |
POST | /shipping/create | Create a shipping label |
POST | /shipping/delete | Delete a shipping label |
POST | /shippinglist/create | Close day — generate shipping list PDF |
Stock
| Method | Path | Description |
|---|---|---|
POST | /stock/update | Update a shipment locked in stock |
Pickup
| Method | Path | Description |
|---|---|---|
POST | /pickup/create | Schedule a carrier pickup |
Webhooks
Receive real-time event notifications via signed HTTP POST requests. See the Webhooks page for payload structure and signature verification.
Response Codes
| Code | Description |
|---|---|
200 | Success |
400 | Invalid request |
405 | Invalid input |
500 | Internal server error |
501 | Not implemented |
All API interactions happen over HTTPS. Plain HTTP requests will be rejected.
Last updated on