Documentation Index

Fetch the complete documentation index at: https://help.elaine.io/llms.txt

Use this file to discover all available pages before exploring further.

Elaine API reference

Prev Next

 The Elaine functional API reference documents the HTTP-callable functions for recipients, campaigns, messages, content, data structures, imports, statistics, and templates. Start with the cURL request guide, then open the reference area that matches the object or operation you need.

Quick start

     
  1. Obtain an Elaine-issued Bearer JWT for a dedicated API identity.
  2.  
  3. Use the HTTPS endpoint /http/api/<function-name>.
  4.  
  5. Pass function parameters as an ordered JSON array.
  6.  
  7. Request a JSON response and evaluate the documented return value or error code.
export ELAINE_BASE_URL="https://your-elaine-domain.example"
export ELAINE_JWT="replace-with-an-elaine-issued-jwt"

curl --get "$ELAINE_BASE_URL/http/api/api_getElaineVersion" \
  --header "Authorization: Bearer $ELAINE_JWT" \
  --data-urlencode 'json=[false]' \
  --data-urlencode 'response=json'

Common integration use cases

Functional reference

                                                                                                                                                                                                                                                                           
Reference areaIncludes
General functionsInstance details, tenant data sources, versions, background jobs, and health information.
Recipients and groupsProfiles, group membership, subscriptions, opt-in queues, mappings, blacklist, and profile history.
Message managementCreate, copy, address, approve, start, pause, stop, inspect, and manage messages.
Marketing automationCampaign status, execution, and direct contact subscription.
Transactional messagesSubmit a transactional message and retrieve its status.
Content handlingCreate articles and compositions, import content, list folders, and personalize text.
Content propertiesRead, set, and delete content attributes.
Data fieldsCreate, change, inspect, and delete profile data fields.
ImportsRetrieve file-import processing status.
StatisticsRecipient-group and sent-message statistics.
TemplatesList templates and retrieve template content.
Return codesNegative function return values and their meaning.

Note

The functional reference is based on the established Elaine API contract. Availability depends on the Elaine release, licensed features, project configuration, and permissions of the API identity.