Read the pending transfer of a site

get_site_transfer

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

POST /v1/get_site_transferScopesites:readRead only

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.

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.

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.

Inputs

Input Type Required Description
projectId string Yes The site id.

Response

Every call answers with the JSON envelope 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 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 explains every status code a call can answer with.