# get_site_transfer

Source: https://modulify.ai/docs/api/sites/get-site-transfer

Reads the transfer invitation you sent for a site that is still waiting for its recipient.

- Title: Read the pending transfer of a site
- Scope: `sites:read`
- Access: Read only
- Endpoint: `POST /v1/get_site_transfer`

It returns who the site goes to, when you sent the invitation and whether it is still open, the same invitation the **Manage transfer** dialog shows. It answers `null` when you have no open invitation for the site, and an invitation someone else in the workspace sent is not shown.

An invitation stays open for 7 days, until the recipient accepts it from the emailed link or their pending invitations, or until `cancel_site_transfer` withdraws it. The invitation link itself is never returned. See [Transfer to another person](https://modulify.ai/docs/projects/transfer-a-project#transfer-to-another-person).

## Request

Call it with a `POST` to `https://api.modulify.ai/v1/get_site_transfer`, sending the inputs below as a JSON object. The token needs the `sites:read` scope.

It only reads and changes nothing, so retrying it is safe.

```bash
curl -X POST https://api.modulify.ai/v1/get_site_transfer \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"projectId":"PROJECT_ID"}'
```

Over MCP, the same method is the [get_site_transfer tool](https://modulify.ai/docs/mcp/sites/get-site-transfer).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |

## Response

Every call answers with the [JSON envelope](https://modulify.ai/docs/api/requests-and-responses#the-response) of `success`, `message`, `data`, `code` and `version`. `data` holds the result described above, and on a method that returns a total, `count` carries it. The [response headers](https://modulify.ai/docs/api/requests-and-responses#headers-on-every-method-call) carry the call's `X-Request-Id` and what is left of your per-minute budget in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. [Errors](https://modulify.ai/docs/api/errors) explains every status code a call can answer with.