Skip to Content
API v2 (legacy)Overview

API Reference (v2 — legacy)

This API version is deprecated. It keeps working until 28 February 2027; since 3 September 2026 every response carries the Deprecation, Sunset and Link: <.../api/2026-09>; rel="successor-version" headers. New integrations must use the Client API 2026-09; existing ones should follow the migration guide. The driver app endpoints (/api/v2/driver/*) are not affected.

The Spedisci.online API v2 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