ShareTrip API
Clients call this API to get a share trip link for a trip. Either trip_id or feed_unique_id needs to be passed to generate the share link
API Endpoint:
https://integration.freighttiger.com/saas/trip/share - Integration/Sandbox Environment
https://www.freighttiger.com/saas/trip/share - Production Environment
Headers Parameters:
Field key | Data Type | Description | Example |
---|---|---|---|
Authorization | string | JWT token required to authenticate API call. | Authorization: Bearer eyJhbGciOiJIUzI1Ni |
Query parameters:
Field key | Data type | Description | Example value |
---|---|---|---|
trip_id | integer | trip id for which share link to be generated | 512342 |
feed_unique_id | string | feed unique id for which share link to be generated | 632642-1564386538-584104 |
tracking_only | boolean | is the link only for tracking? Values:
| default: false |
Responses:
Status code 200 Created share trip link successfully
{
"status": "success",
"link": "https://www.freighttiger.com/v5/shareTrip?shareKey=TRP-8c360897-42be-4eaa-a115-6cb2254a74f0&_view=true"
}
Status code 422 Resource not found
{
"status": false,
"response": "Failed to fetch Trip Info."
}
"UnAuthorized"
Post your questions in the comment box to get answers from the experts who watch this page.
For engineering support: visit FT Support