> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gotohuman.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Request a review

> Use our SDK or API to send requests for human review based on a review type you created.

## Prepare

> [tab] HTTP
>
> Send requests for review to our API directly.
>
> Details are documented in [Request review](https://docs.gotohuman.com/api-reference/request-review.md).

> [tab] n8n
>
> In your n8n workflow, add our verified gotoHuman community node.
>
> Read more in our [n8n integration guide](https://docs.gotohuman.com/Integrations/n8n.md).

> [tab] Make
>
> In your Make scenario, add a new module, search for `gotoHuman` and select our `Create a Review Request` module.
>
> When setting up a connection, enter your gotoHuman **API key**.
>
> Read more in our [Make integration guide](https://docs.gotohuman.com/Integrations/make-com.md).

> [tab] Python SDK
>
> Install our SDK:
>
> ```
> pip install gotohuman
> ```
>
> Set environment variables with your gotoHuman API key and the ID of your [agent](https://docs.gotohuman.com/agent-setup):
>
> ```
> GOTOHUMAN_API_KEY=YOUR_API_KEY
> GOTOHUMAN_AGENT_ID=YOUR_AGENT_ID
> ```
>
> If you're using a `.env` file, don't forget to load it:
>
> ```python theme={null}
> from dotenv import load_dotenv
> load_dotenv()
> ```
>
> Initialize the SDK:
>
> ```python theme={null}
> from gotohuman import GotoHuman
>
> gotoHuman = GotoHuman()  # reads GOTOHUMAN_API_KEY and GOTOHUMAN_AGENT_ID
> ```
>
> You can also pass both values explicitly:
>
> ```python theme={null}
> gotoHuman = GotoHuman(api_key="YOUR_API_KEY", agent_id="YOUR_AGENT_ID")
> ```

> [tab] JS SDK
>
> Install our SDK:
>
> ```
> npm i gotohuman
> ```
>
> Set environment variables with your gotoHuman API key and the ID of your [agent](https://docs.gotohuman.com/agent-setup):
>
> ```
> GOTOHUMAN_API_KEY=YOUR_API_KEY
> GOTOHUMAN_AGENT_ID=YOUR_AGENT_ID
> ```
>
> Initialize the SDK:
>
> ```javascript theme={null}
> import { GotoHuman } from "gotohuman"
>
> const gotoHuman = new GotoHuman()
> ```
>
> You can also pass both values explicitly:
>
> ```javascript theme={null}
> const gotoHuman = new GotoHuman({
>   apiKey: "YOUR_API_KEY",
>   agentId: "YOUR_AGENT_ID",
> })
> ```

## Send request

Pass the ID of the review type and the agent identity you created and pass the data to review as shown in the review type editor.

> [tab] HTTP
>
> ```json theme={null}
> {
>   "agentId": "ag123456",
>   "formId": "abcdef12345",
>   "data": {
>     "crmUpdate": {
>       "entryId": "123456abcdef",
>       "amount": 42000,
>       "stage": "proposal"
>     }
>   },
>   "config": {
>     "fields": {
>       "stageSelect": {
>         "options": [
>           { "id": "proposal", "label": "Proposal" },
>           { "id": "negotiation", "label": "Negotiation" },
>           { "id": "won", "label": "Won" }
>         ]
>       }
>     }
>   },
>   "meta": {
>     ...
>   }
> }
> ```

> [tab] n8n
>
> Read more in our [n8n integration guide](https://docs.gotohuman.com/Integrations/n8n.md).

> [tab] Make
>
> Read more in our [Make integration guide](https://docs.gotohuman.com/Integrations/make-com.md).

> [tab] Python SDK
>
> ```python theme={null}
> review = gotoHuman.create_review("YOUR_REVIEW_TYPE_ID")
> review.set_review_data({
>     "example1": "value1",
>     "example2": true,
> })
> review.set_review_config({...})
> review.set_meta_data({...})
> try:
>     response = review.send_request()  # or: await review.async_send_request()
>     print("Review sent successfully:", response)
> except Exception as e:
>     print("An error occurred:", e)
> ```

> [tab] JS SDK
>
> ```javascript theme={null}
> const reviewRequest = gotoHuman.createReview("YOUR_REVIEW_TYPE_ID")
>   .setReviewData({
>     "example1": "value1",
>     "example2": true,
>   })
>   .setReviewConfig({...})
>   .setMetaData({...})
>
> await reviewRequest.sendRequest()
> ```

See [API Reference](https://docs.gotohuman.com/api-reference/request-review.md) for the request properties.

### Images / Videos

For images and videos – including CDN storage, URLs, base64, file uploads, and image editing – see [Images and videos](https://docs.gotohuman.com/images-videos.md).

### Assign reviewers

To send a review request only to selected users of your team, add a list of email addresses of those users. Use the email address used when signing up for gotoHuman.\
Available on Team plan and above.\
This otherwise defaults to all users or the user who [triggered](https://docs.gotohuman.com/manual-triggers.md) the workflow.

> [!TIP]
>
> You can also [assign reviewers on the review type](https://docs.gotohuman.com/create-template.md#assign-to-specific-reviewers) for all requests of that type. A request-level assignment takes precedence over the review type assignment.

> [tab] HTTP
>
> ```json theme={null}
> {
>   "formId": "abcdef12345",
>   "fields": {
>     ...
>   },
>   "assignTo": ["reviewer@acme.org"]
> }
> ```

> [tab] n8n
>
> Our n8n node shows a field `Assigned Users`. Select `All Users` or alternatively `Only selected users` and map or enter their email addresses.
>
> Read more in our [n8n integration guide](https://docs.gotohuman.com/Integrations/n8n.md).

> [tab] Make
>
> Our module shows a field `Assigned Users`. Select `All Users` or alternatively `Only selected users` and map or enter their email addresses.
>
> Read more in our [Make integration guide](https://docs.gotohuman.com/Integrations/make-com.md).

> [tab] Python SDK
>
> ```python theme={null}
> review = gotoHuman.create_review("abcdef12345")
> review.set_review_data({...})
> review.assign_to_users(["reviewer@acme.org"])
> try:
>     response = review.send_request()
>     print("Review sent successfully:", response)
> except Exception as e:
>     print("An error occurred:", e)
> ```

> [tab] JS SDK
>
> ```javascript theme={null}
> const reviewRequest = gotoHuman.createReview("abcdef12345")
>   .setReviewData({...})
>   .assignToUsers(["reviewer@acme.org"])
>
> await reviewRequest.sendRequest()
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.