> ## Documentation Index
> Fetch the complete documentation index at: https://reach-owl.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Scraped Facebook Business Pages

> List, update, and delete Facebook business pages discovered by page scrapers. Optional WhatsApp verification and CSV export.

> Manage Facebook business pages discovered by page scrapers. Pages are tied to a scraper job (`facebook_page_search_id`).

## List pages for a scraper

```bash theme={null}
curl -H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" \
  "https://reachowl.com/api/v1/page-scrapers/12/pages?page=1&limit=50&search=dentist"
```

## List all scraped pages

| Parameter | Type | Description |
| - | - | - |
| `facebook_page_search_id` | integer | Filter to one scraper job |
| `location_id` | string | Filter by location |
| `keyword` | string | Filter by keyword |
| `search` | string | Match name, phone, category, or address |
| `page` | integer | Page number |
| `limit` | integer | Page size (1-500) |

```bash theme={null}
curl -H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" \
  "https://reachowl.com/api/v1/facebook-business-pages?facebook_page_search_id=12&page=1&limit=50"
```

## Get, update, or delete one page

```bash theme={null}
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://reachowl.com/api/v1/facebook-business-pages/99"

curl -X PATCH "https://reachowl.com/api/v1/facebook-business-pages/99" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Clinic",
    "phone": "+923001234567",
    "whatsapp": "+923001234567",
    "email": "hello@example.com",
    "address": "DHA Lahore",
    "category": "Dentist"
  }'

curl -X DELETE "https://reachowl.com/api/v1/facebook-business-pages/99" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

Updatable fields: `name`, `phone`, `phones`, `email`, `emails`, `whatsapp`, `address`, `category`, `snippet`, `description`, `url`.

## Delete multiple pages

```bash theme={null}
curl -X POST "https://reachowl.com/api/v1/facebook-business-pages/delete-multiple" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ids": [99, 100, 101]}'
```

## WhatsApp verification (optional)

Requires WhatsApp Connect on Browsers and `whatsapp_verification_enabled` on the scraper. The extension runs live checks.

```bash theme={null}
curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://reachowl.com/api/v1/facebook-business-pages/verify-whatsapp/summary?facebook_page_search_id=12"

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://reachowl.com/api/v1/facebook-business-pages/verify-whatsapp/pending?facebook_page_search_id=12&limit=50"

curl -X POST "https://reachowl.com/api/v1/facebook-business-pages/verify-whatsapp/start" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"facebook_page_search_id": 12}'

curl -X POST "https://reachowl.com/api/v1/facebook-business-pages/verify-whatsapp/stop" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"facebook_page_search_id": 12}'

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://reachowl.com/api/v1/facebook-business-pages/export-whatsapp-csv?facebook_page_search_id=12&only_confirmed=1"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.