# Trigger New Matches

```http
POST https://api.synup.com/api/v4/connected-accounts/trigger-matches
```

This API fetches all locations from connected Google My Business and Facebook Page profiles and attempts to match them with locations in your account.

**Behavior:**
- Supports batch processing – multiple connected accounts can be processed in a single request.
- Matches locations based on business name, address, and other identifying attributes.
- Helps ensure consistency between external platforms and your account.

Source: https://developer.synup.com/api/connected-accounts/trigger-new-matches

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Content-Type` | string | required |  |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `input` | object | required |  |
| `input.connectedAccountIds` | array of string | required | List of connected account IDs to process |

## Example request

```bash
curl -X POST 'https://api.synup.com/api/v4/connected-accounts/trigger-matches' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "connectedAccountIds": [
      "6eb312f7-df32-4d76-ad8a-26bcfeab601e",
      "7eb3q2f7-df34-4dt6-hd88-269cfoal6m1b"
    ]
  }
}'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Match triggering process initiated |
| `400` | Invalid request - Missing or invalid parameters |
| `401` | Unauthorized - Invalid or missing API key |
| `403` | Forbidden - Insufficient permissions |
