Skip to Content
API ReferenceOverview

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

MethodPathDescription
POST/shipping/ratesGet available carrier rates
POST/shipping/createCreate a shipping label
POST/shipping/deleteDelete a shipping label
POST/shippinglist/createClose day — generate shipping list PDF

Stock

MethodPathDescription
POST/stock/updateUpdate a shipment locked in stock

Pickup

MethodPathDescription
POST/pickup/createSchedule 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

CodeDescription
200Success
400Invalid request
405Invalid input
500Internal server error
501Not implemented

All API interactions happen over HTTPS. Plain HTTP requests will be rejected.

Last updated on