# fyi.opensocial.migrateReceive

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.migrateReceive)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.migrateReceive/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.migrateReceive/examples)

## Definitions

### `fyi.opensocial.migrateReceive`

**Type**: `procedure`

Destination host: receive a migrated group. Creates the account for the existing DID, recreates its spaces, and replays the group's records. Returns recommended DID credentials for the PLC operation.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `serviceJwt` | `string` | Yes |  |
| `snapshot` | `unknown` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `recommendedCreds` | `unknown` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Destination host: receive a migrated group. Creates the account for the existing DID, recreates its spaces, and replays the group's records. Returns recommended DID credentials for the PLC operation.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "serviceJwt": {
              "type": "string"
            },
            "snapshot": {
              "type": "unknown"
            }
          },
          "required": [
            "did",
            "serviceJwt",
            "snapshot"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "recommendedCreds": {
              "type": "unknown"
            }
          },
          "required": [
            "recommendedCreds"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.migrateReceive",
  "lexicon": 1
}
```
