Elicus API v1 · draft, not live yet

Elicus Subscribe API

The email sign-up service behind the newsletter form in WPMozo and Neural Forms plugins and themes. It receives an address only when a site admin fills in the form and presses Subscribe, and it never receives anything about the site.

  1. The admin chooses

    On one of our products' own screens, enters an email, ticks consent, presses Subscribe.

  2. The site sends one request

    The WordPress server posts five fields, once. No background calls.

  3. subscribe.elicus.com stores it

    Checks it, saves it, then answers. Retries Mailchimp if it is down.

  4. The person confirms

    Mailchimp sends a confirmation email. Nothing is sent to them until they confirm.

What the request carries

  • email
  • productslug
  • alsoslugs
  • consenttrue
  • request_idrandom id
  • hpempty

What it never carries

  • Site URL or domain name
  • Product, WordPress or PHP versions
  • Installation or licence IDs
  • Content, users, orders or settings

One service, every plugin, nothing automatic

Elicus makes the WPMozo and Neural Forms plugins and the WPMozo Canvas theme. Their admin screens may show a short form offering product news by email, once per site. This API is where that form sends its sign-up. It is the only thing it does.

  • Opt-in only. The consent box is never ticked in advance, and the form can be dismissed for good.
  • Double opt-in. Every new address receives a confirmation email first.
  • One request per brand ticked. Sent only when Subscribe is pressed. Our products make no other calls to this service.
  • No site data. The request names our products, never the site.

Endpoint

POSThttps://subscribe.elicus.com/v1

Requests are sent from the WordPress server with Content-Type: application/json, body up to 2 KB. Browsers do not call the API directly, so it sends no CORS headers. A GET on /v1/health returns {"ok":true}.

Request body

FieldTypeRequiredMeaning

Any other field makes the request invalid. Brand, list and tags are never taken from the request: the service works them out from the product slugs.

Responses

A sign-up is accepted only after it has been stored. If Mailchimp is unreachable, the stored sign-up is retried later and is not lost.

StatusBodyWhat the product does

Examples

Request

curl -X POST https://subscribe.elicus.com/v1 \
  -H "Content-Type: application/json" \
  -d '{
    "email": "admin@example.com",
    "product": "wpmozo-wishlist",
    "also": ["wpmozo-wishlist-lite-for-woocommerce", "wpmozo-canvas"],
    "consent": true,
    "request_id": "7f0d3c2e-5a8b-4f61-9c2d-1e4b6a9f0c35",
    "hp": ""
  }'

202 Accepted (new or already stored)

{ "status": "accepted" }

400 Bad Request

{ "error": "consent_required" }

Example values only. admin@example.com and the id above are not real.

Lists and tags

Each brand has its own Mailchimp audience, chosen on the server from the product slug. A new address is added as pending and becomes subscribed only when its owner confirms.

Tags added to each sign-up

TagAdded when
source:plugin-dashboardEvery sign-up through this API
plugin:<slug> / theme:<slug>For the product used, and for each other active product of the same brand on the site
edition:free / edition:proFrom each tagged product's edition

What it never changes

  • Existing tags, including Customer from our stores, stay as they are. Only the tags above are added.
  • A contact who unsubscribed, was cleaned or was archived is not added back. The sign-up is recorded as skipped.
  • A pro product tag records that it was installed. It is not treated as proof of purchase.

One form per site

Sites often run several of our products at once, for example the WPMozo Canvas theme with WPMozo Blocks and Addons and Neural Forms. The form appears once for the whole site, with one unticked box per brand installed. Each ticked brand is one request, which names the product whose screen showed the form and the site's other active products of that brand, so the contact is tagged with each of them. After that, no product on the site asks again, unless a product of a new brand is added.

Products

The product slug is its folder name, the same wherever it was downloaded. Only listed, active slugs are accepted.

ProductSlugEditionStatus

Limits and abuse

  • Requests are limited per connecting IP address and per email address, by the minute and by the day. Over the limit, the answer is 429 with Retry-After.
  • An unusual rush of new addresses is stored but not sent to Mailchimp until someone has checked it.
  • The same email and product are stored once. Sending again gets the same answer as the first time.
  • A hidden field (hp) must stay empty. Filled in, the request is answered normally and discarded.
  • The IP address is kept only as a salted hash, to spot abuse.
  • The plugins hold no keys or secrets. Mailchimp credentials stay on the server.

In WordPress

Our products share one small library that shows the form on their own admin screens. It decides once for the whole site, so a site running several of our products is asked once.

  • Shows only on our products' own screens, only to administrators, and never in the first week.
  • One form for the site, with one unticked box per brand. "Not now" hides it for 30 days; after two of those, or after "No thanks", it stops.
  • Once answered, it is not shown again for that brand.
  • A retry reuses the same request_id, so it can never sign anyone up twice.
  • The request's user agent is Elicus-Notices/1.0, not WordPress's default, which includes the site address.
  • In themes, the form appears only inside the theme's own settings page.

Privacy

The service keeps the email address, the product slugs, the time of consent and a salted hash of the connecting IP. They are used only to send the newsletter the person asked for and to prevent abuse. Every email has an unsubscribe link, and removal requests go to the brand's address.

Policies: WPMozo · Neural Forms