| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

##### bankLinkId

- **Type**: string  
- **Required**: Yes  
- **Length**: between 1 and 256  
- **Pattern**: `^[a-zA-Z0-9_-]+$`  
  
  The client-provided identifier of the bank link.

##### Optional sync configuration

- **webhooks**: array of strings  
  - The types of webhook events to emit after syncing.  
  - **Allowed**:  
    - `banktransaction.created`  
    - `transaction.match.created`

##### ADD string

- **force**: boolean  
  - Defaults to false  
  - Set to `true` to force a full sync even if no new transactions are detected.

##### accept

- **Type**: string  
- **Enum**:  
  - Defaults to application/json  
  - **Allowed**:  
    - `application/json`  
    - `application/problem+json`

# Responses

### 200  Sync triggered

- **Type**: object  
- **Fields**:  
  - **message**: string  
  - Human-readable confirmation message.

### 400  The server cannot or will not process the request due to something that is perceived to be a client error

### 401  Authentication credentials were either missing or incorrect

### 403  Authentication credentials used do not have permissions to perform the request

### 404  The requested resource was not found on the server

### 409  Request conflict with the current state of the target resource

### 500  The server encountered an unexpected condition that prevented it from fulfilling the request

* Updated 12 days ago

---

```shell
curl --request POST \
     --url https://api.astrada.co/bank-links/bankLinkId/sync \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"force":false}'
```

```
{
  "message": "Transactions synced successfully"
}
```

* Updated 12 days ago
