BaseTender
  1. Auth
BaseTender
  • Documentazione
  • Auth
    • auth
      POST
  • Vehicles
    • /vehicles/plate/:plate
      GET
    • /vehicles/id/:id
      GET
    • /vehicles/all/:company_id
      GET
    • /vehicles/update/:id
      PUT
  • Companies
    • /companies/create
      POST
  • Users
    • /users/create
      POST
    • /users/createResetOauthPw
      POST
    • /users/resetOauthPw
      POST
    • /users/resetLegacyPw
      POST
  • Trips
    • /trips/all/:company_id/:user_id
      GET
    • /trips/mine/:company_id
      GET
    • /trips/quoted/:company_id
      GET
    • /trips/:id/set/status/:status
      POST
    • /trips/details/:id/:company_id
      GET
    • /trips/all_data/:trip_id
      GET
    • /trips/add
      POST
  • Offers
    • /offers/:id/set/status/:status
      POST
    • /offers/:id/set/offer_business/:offer
      POST
    • offers/:trip_id
      GET
  • Invoices
    • /invoices/mine/:company_id
      GET
    • /invoices/send
      POST
    • /invoices/documents/:trip_id/:type?
      GET
    • /invoices/documents/insert
      POST
    • /invoices/documents/delete/:document_id
      DELETE
  1. Auth

auth

POST
/auth
Autenticazione con credenziali di accesso. Email e password codificata con SHA512

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟢200token from auth
🟠403Wrong Credentials
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://tender.whyb.it:8443/v1/auth' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clientId": "test@test.it",
    "clientSecret": "1c01ba051a66cd5b43fcc0231b0fb2d5209e0cbcfa114a37fcc5f7fe5a6f30010ff3352207a24e4b5875d5372bda761121ff95de463c70d31290923cac1645a3"
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-09-23 11:01:33
Previous
Documentazione
Next
/vehicles/plate/:plate
Built with