About this endpoint
What it does
Submits a job to generate hospitality product categories from the provided content. The request body supplies the source content and optional context, and the response returns a job identifier.
Request Body
| Parameter | Type | Description |
|---|---|---|
| city | String | Specify the city to travel. |
| content | String | Provide the content to generate travel product categories. |
| context | String | Provide additional context to improve paraphrasing accuracy. |
| country | String | Specify the country to travel. |
| language | String | Specify the language of the output. Default: English. |
| voice_tone | String | Specify the voice tone. Default: neutral. |
| max_quantity | Number | Maximum number of product categories to generate. Minimum: 1. |
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 | Description |
|---|---|---|
| job_id | String | The unique identifier of the submitted job. Format: UUID. |
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.



