Skip to main content
The HoopAI Platform Emails REST API gives you full programmatic access to email marketing operations. Create and manage drag-and-drop or HTML templates, retrieve scheduled email campaigns and workflow campaigns, fetch bulk-action campaign lists, and pull delivery statistics — all through a single, consistent interface.

Base URL

https://services.leadconnectorhq.com

Authentication

Every request requires a Bearer token and an API version header.
Authorization: Bearer <access_token>
Version: 2021-07-28
Use an access token generated with user type Sub-Account, or a Private Integration Token from a Sub-Account. See OAuth 2.0 for details.

OAuth scopes

ScopeAccess granted
emails/schedule.readonlyRead scheduled campaigns and campaign statistics
emails/builder.readonlyRead email templates
emails/builder.writeCreate, update, and delete email templates

Quick start

Fetch all email templates for a location:
curl -X GET "https://services.leadconnectorhq.com/emails/builder?locationId=<locationId>&limit=10&offset=0" \
  -H "Authorization: Bearer <access_token>" \
  -H "Version: 2021-07-28"

Endpoints

MethodPathDescription
GET/emails/scheduleGet campaigns
POST/emails/builderCreate a new template
GET/emails/builderFetch email templates
POST/emails/builder/dataUpdate a template
DELETE/emails/builder/{locationId}/{templateId}Delete a template
PATCH/emails/builder/{templateId}Update a template with settings
GET/emails/stats/location/{locationId}/{source}/{sourceId}Get campaign statistics
GET/emails/campaigns/workflowsGet workflow campaigns
GET/emails/campaigns/bulk-actionsGet bulk action campaigns
Last modified on March 4, 2026