Public API Doc
  • Introduction
  • Authentification
  • E-CUSTOMS SERVICES
    • Product Infos Generator (A.I)
      • Harmonized System Code
      • United Nations Code
      • Dimensions & Weight
      • Carbon footprint
      • Eco Codes and Taxes
      • World Product Pricing
    • HSCode services
      • Link (HSCode > HSCode)
      • Nomenclature
      • RTC / BTI
      • Check
      • A.I Customs Code Control
    • Documents import services
      • Landed Cost
      • Taxes Invoice
      • Export invoice
      • H7 Declaration (Akanea)
    • Duty & Taxes Calculator
      • Landed Cost Calculator
        • For E-Commerce
        • For Marketplace
        • For Shipping Comparator
        • For International Carrier
        • Using Product's HS Code
        • Using Product's SKU
        • Using Product's description
        • Using Product's barcode
      • Reverse Landed Cost Calculator
      • Locals taxes Calculator
        • Using Product's HSCode
        • Using Product's SKU
        • Using Product's description
        • Using Product's barcode
    • Rates Data Generator
      • Duties
      • Locals Taxes (VAT, GST, ...)
      • Specials Taxes (OM, OMR, ...)
      • SalesTaxes (USA)
    • Export Docs Generator
      • Exports invoice
      • Rectified Export invoice
      • Credit Note
      • Tax invoice
      • Exports Marketplace invoice
      • Postal customs declarations
      • Lithium Battery
      • Taxes refund or discount
      • Certificat of origin
      • EORI Subscription
    • Shipping Infos Generator
      • World Shipping Pricing
      • Carbon Footprint
  • E-COMMERCE MANAGEMENT
    • Customers (CRM)
    • Products (PIM)
    • Orders (OMS)
    • Tax Account
  • FREE API CONSUMPTION
    • Duty & Taxes Free Calculation
  • Questions & Answers
  • Go to the Web App
  • Go to the Website
Powered by GitBook
On this page
  • Get "id_token" (Authorization)
  • Response fields

Authentification

This endpoint allows you to authenticate and get your id_token to use the web services.

Get "id_token" (Authorization)

POST https://auth.transiteo.io/oauth2/token

This endpoint allows you to get the "id_token" thanks to the "client_id" & "refresh_token"

Headers

Name
Type
Description

content-type

string

application/x-www-form-urlencoded

Request Body

Name
Type
Description

client_id

string

"your client_id"

grant_type

string

refresh_token

refresh_token

string

"your refresh_token"

{
    "id_token": string,
    "access_token": string,
    "expires_in": number,
    "token_type": string
}
{
    "error": "invalid_grant"
}

Response fields

{
    "id_token": "your id_token",
    "access_token": "your access_token",
    "expires_in": 3600,
    "token_type": "Bearer"
}

"id_token"

Examples : "eyJraWQiOiI4eXVTYUd5WHNEUCtIOTU0UjYxd1Z4QkMyNHUydzRUclF5NEZ..." Type : string

"access_token"

Examples : "eyJraWQiOiJNUHE3ZFJydk1FaTZqRXB1cGdsa1BhN3ZuV0dWWE94MjJTY..." Type : string

"expire_in"

The id-token and access_token will expire in 3 600 seconds Value : "3600" Type : number

"token_type"

Value : "Bearer" Type : string

The "id_token" and "access_token" are available 1 hour.

PreviousIntroductionNextProduct Infos Generator (A.I)

Last updated 4 years ago