The OnePageCRM API module provides a streamlined Drupal service wrapper for the OnePageCRM REST API. It is designed as a foundational developer tool, enabling other Drupal projects to interact with OnePageCRM’s action-focused sales workflow programmatically.

Features

This module serves as a low-level API bridge for the One Page CRM REST API v3. It provides injectable Drupal services so you can work with contacts, companies, deals, notes, calls, meetings, actions, attachments, relationship types, custom fields (contact, company, deal), predefined actions and items, lead sources, statuses, pipelines, users, filters, countries, notifications, and webhooks without handling Guzzle requests, authentication, or response parsing yourself. Each resource is exposed as a dedicated service (e.g. one_page_crm_api.contacts, one_page_crm_api.deals). For the full list of endpoints and data structures, see the Official One Page CRM API Documentation.

Additional Requirements

  • OnePageCRM Account: An active subscription with API access enabled.
  • Drupal: ^10 or ^11. No modules outside core; the project uses Drupal Core's HTTP client (Guzzle).

One Page CRM API UI — Optional submodule that provides admin forms to test API endpoints (contacts, companies, deals, actions, etc.) and view request/response data.

Similar projects

While there are modules for larger CRMs like Salesforce or HubSpot, this is the first dedicated integration for the OnePageCRM platform on Drupal, specifically optimized for its unique "Next Action" sales process.

Supporting this Module

Support the maintenance of this API wrapper by reporting issues in the queue or contributing patches to expand API endpoint coverage.

Development ⚙

If you haven't already, install Docker and DDEV

git clone git@git.drupal.org:project/one_page_crm_api.git
cd one_page_crm_api
ddev config --project-type=drupal --docroot=web --php-version=8.4 --corepack-enable --project-name=one-page-crm-api
ddev add-on get ddev/ddev-drupal-contrib
ddev start
ddev poser
ddev symlink-project
ddev drush site:install -y
ddev drush pm:install one_page_crm_api -y
ddev drush config:export -y
ddev drush user:login
Supporting organizations: 

Project information

Releases