# GASP — provide a foreign sync response

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/requestSyncResponse`

Base URL: `https://{fqdn}`

Used by a peer overlay node to request a sync response. The engine's
`provideForeignSyncResponse` method handles the request. The topic
to sync is provided in the `x-bsv-topic` header.

## Header parameters

- `x-bsv-topic` (string, required)
  The topic name being synced.

## Body

Content type: `application/json`

Example:

```json
{}
```

## Responses

### 200

Sync response from the engine.

Example:

```json
{}
```

### 400

Bad request — validation error or missing required field.

- `status` (string, required)
- `message` (string, required)
- `code` (string)
  Stable machine-readable error code (see specs/errors.md).

Example:

```json
{
  "status": "string",
  "message": "string",
  "code": "string"
}
```

### 500

Unexpected internal error.

- `status` (string, required)
- `message` (string, required)
- `code` (string)
  Stable machine-readable error code (see specs/errors.md).

Example:

```json
{
  "status": "string",
  "message": "string",
  "code": "string"
}
```