About this endpoint
What it does
Submits an async job to generate tours and activities product categories from the provided content and optional travel context. The response returns a job identifier.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| city | String | No | Specify the city of travel. |
| content | String | Yes | Provide the content to generate travel product categories. |
| context | String | No | Provide additional context to improve paraphrasing accuracy. |
| country | String | No | Specify the country related to travel. |
| language | String | No | Specify the language of the output, defaults to English. |
| max_quantity | Number | No | Specify the maximum length of the paraphrased content. |
Response
Returns a JSON object with a job_id string — the UUID of the submitted job. Poll the job status endpoint with this id to retrieve the result.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for the submitted async job. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job identifier from job_id.


