Public REST API #
The Pro add-on registers public REST API endpoints for external integrations:
Available Endpoints #
POST /wp-json/ghl-crm/v1/contacts— Create or update contacts.POST /wp-json/ghl-crm/v1/sync— Trigger sync operations.GET /wp-json/ghl-crm/v1/status— Check sync status.GET/POST /wp-json/ghl-crm/v1/webhooks— Webhook management.
Authentication #
Public endpoints use Bearer token authentication. Include your API key in the Authorization header:
Authorization: Bearer your-api-key-here
Security #
- IP whitelist — Restrict access to specific IP addresses.
- Rate limiting — Prevents abuse.
- Must be enabled in settings (
rest_api_enabled).
Editor-Only Endpoints (Free) #
The free plugin includes internal endpoints for the admin panel: connection status, forms, and tags. These require edit_posts capability.
