/integrations/webcargo_embed

Get WebCargo embed token

Generates a WebCargo Sky Embed token for a FLIGHT task group. Assembles cargo data from the task group's tasks and returns an embed URL for the booking widget. | (GetWebcargoEmbedReq) -> (WebcargoEmbedResponse)

post/integrations/webcargo_embed/get_embed/v1/{task_group_id}

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/integrations/webcargo_embed/get_embed/v1/{task_group_id}
  • Auth
    HTTP bearer

Path parameters

task_group_idstring required

Request body

originstring required
destinationstring required
departurestring required
countrystring required

Response

Successful Response

access_tokenstring required
expires_ininteger nullable
urlstring required

Changes

No recorded changes to this operation across all 20 revisions of this API.