About this endpoint
What it does
Submits review text for asynchronous travel-review sentiment analysis. The request body provides the review content, and the response returns the job identifier and a status URL so you can check the job later.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | Provide review text to analyze the sentiment. |
Response
Returns a JSON object with two string fields: job_id and status_url. Use job_id to identify the submitted job, and status_url to check the job status.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | The submitted job identifier. |
| status_url | String | Yes | URL used to check the submitted job status. |
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 id from job_id.