SpotGo
  1. Documents
SpotGo
  • Getting started
    • Introduction
    • Authentication
    • Opportunities vs Orders
    • Mappings
  • Order
    • Orders Processing
    • /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
      POST
    • /api/v1/freights/{freightId}
      PUT
    • /api/v1/freights/{freightId}
      DELETE
  • Vehicles
    • /api/v1/vehicles
    • /api/v1/vehicles
    • /api/v1/vehicles/{vehicleId}
    • /api/v1/vehicles/{vehicleId}
    • /api/v1/vehicles/{vehicleId}
  • Feedback
    • /api/v1/feedback
  • Webhook
    • Webhooks flow
    • /api/v1/webhooks
    • /api/v1/webhooks
    • /api/v1/webhooks/{subscriptionId}
  • Documents
    • Documents processing
    • /api/v1/documents
      POST
    • /api/v1/documents/{documentId}/file
      GET
    • /api/v1/documents/invoice/{documentId}
      GET
    • /api/v1/documents/receipt/{documentId}
      GET
    • /api/v1/documents/cmr/{documentId}
      GET
  • AccountManagement
    • /api/v1/accounts
    • /api/v1/accounts/block
  1. Documents

/api/v1/documents

POST
https://api-test.spotgo.eu/api/v1/documents
Documents
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.spotgo.eu/api/v1/documents' \
--header 'Content-Type: application/json; x-api-version=1.0' \
--data-raw '{
    "file": "string",
    "fileName": "string",
    "fileType": "Pdf",
    "type": "Invoices",
    "metadata": {
        "property1": "string",
        "property2": "string"
    }
}'
Response Response Example
200 - Example 1
{}

Request

Body Params application/json; x-api-version=1.0
file
string  | null 
optional
fileName
string  | null 
optional
fileType
enum<string> 
optional
Allowed values:
PdfImage
type
enum<string> 
optional
Allowed values:
InvoicesReceiptsCmrsFines
metadata
object  | null 
optional
Additional properties
string  | null 
optional
Examples

Responses

🟢200OK
text/plain; x-api-version=1.0
OK
Body
object {0}
🟠400Bad Request
Modified at 2025-05-04 13:27:46
Previous
Documents processing
Next
/api/v1/documents/{documentId}/file
Built with