SpotGo
  1. Freight
SpotGo
  • Getting started
    • Introduction
    • Authentication
    • Opportunities vs Orders
    • Mappings
  • Order
    • Orders Processing
    • Integrating Your Order Document Processing: A Guide to Best Practices
    • /api/v1/orders/file
      POST
    • /api/v1/orders
      POST
    • /api/v2/orders/{orderId}
      GET
    • /api/v1/orders/{orderId}/file
      GET
  • Opportunity
    • Opportunities (Freight Qoutes)
    • /api/v1/opportunities
      POST
    • /api/v1/opportunities/file
      POST
    • /api/v1/opportunities/image
      POST
    • /api/v1/opportunities/{opportunityId}
      GET
    • /api/v1/opportunities/{opportunityId}/custom
      GET
    • /api/v1/opportunities/{opportunityId}/default
      GET
  • Freight
    • Freight publish
    • /api/v1/freights/share
      POST
    • /api/v1/freights
      GET
    • /api/v1/freights
      POST
    • /api/v1/freights/{freightId}
      GET
    • /api/v1/freights/{freightId}
      PUT
    • /api/v1/freights/{freightId}
      DELETE
  • Vehicles
    • /api/v1/vehicles
      POST
    • /api/v1/vehicles
      GET
    • /api/v1/vehicles/{vehicleId}
      PUT
    • /api/v1/vehicles/{vehicleId}
      DELETE
    • /api/v1/vehicles/{vehicleId}
      GET
  • Feedback
    • /api/v1/feedback
  • Webhook
    • Webhooks flow
    • /api/v1/webhooks
    • /api/v1/webhooks
    • /api/v1/webhooks/{subscriptionId}
  • Documents
    • Documents processing
    • /api/v1/documents
    • /api/v1/documents/{documentId}/file
    • /api/v1/documents/invoice/{documentId}
    • /api/v1/documents/receipt/{documentId}
    • /api/v1/documents/cmr/{documentId}
    • /api/v1/documents/insurance/{documentId}
  • AccountManagement
    • /api/v1/accounts
    • /api/v1/accounts/block
  • DriversDocuments
    • /api/v1/drivers-documents
    • /api/v1/drivers-documents/{documentId}
  1. Freight

/api/v1/freights/share

POST
https://api-test.spotgo.eu/api/v1/freights/share

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json; x-api-version=1.0
OK
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.spotgo.eu/api/v1/freights/share' \
--header 'Content-Type: application/json' \
--data-raw '{
  "freightIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6" // Freights Ids.
  ],
  "urlExpirationTime": "02:00:00", // Time for expiration, in example is 2 hours.
  "ownerEmail": "petras@spotgo.eu" // User in SpotGo email
}'
Response Response Example
200 - Example 1
{
  "url": "https://app-test.spotgo.eu/public/freights?token=MDE5OGJjNTgtYzY4My00M2ZjLWJhYzItZTEzYzQyYWNhMGFlLjA4LzE4LzIwMjUgMDg6NDM6MTEgKzAwOjAwLjA4LzE4LzIwMjUgMTA6NDM6MTEgKzAwOjAw.uLF15iy%2BFGPUA0lX4mcGuA%3D%3D",
  "validUntil": "2025-08-18T08:37:51.248Z"
}
Modified at 2025-08-18 08:41:24
Previous
Freight publish
Next
/api/v1/freights
Built with