Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Marketing / 4Dem Api
4Dem Api logo

4dem It 4Dem Api

43
AI ReadinessFoundational (D-)43/100
See full scorecard
Agent-ready OpenAPI document · curated by JenticMarketingEmail Marketingbearer208 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Manage 4Dem email and SMS marketing - recipients, address books, campaigns, automation workflows, senders, content, reports, and ecommerce stores - using bearer token auth.

Use for: I want to send an email campaign with 4Dem, Add a new recipient to an address book, Get the open and click report for a campaign, Schedule a marketing email for tomorrow morning

Not supported: Does not handle CRM pipelines, paid advertising, or website analytics - use for email and SMS marketing, recipient management, automation workflows, and campaign reporting only.

Jentic publishes the only available OpenAPI specification for 4Dem, keeping it validated and agent-ready. 4Dem is an Italian email marketing and marketing automation platform with 208 endpoints covering recipients, address books, campaigns, content, senders, reports, workflows, suppressions, custom fields, consents, SMS, e-commerce stores, and webhooks. Authentication uses HTTP bearer tokens obtained from the /authenticate endpoint and refreshed via /refresh_token. The API is suitable for managing the full lifecycle of an email programme from list management through send to performance reporting.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the 4Dem Api to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the 4Dem Api, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2F4dem.it%2F4dem" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2F4dem.it%2F4dem" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with 4Dem Api.

Manage recipients across address books - create, update, delete, search, and export contacts

Build and send email campaigns with templates, content blocks, and scheduled delivery

Run automation workflows that trigger on events, time delays, or recipient attributes

Pull deliverability reports including opens, clicks, bounces, and per-domain trends

Configure verified senders, custom fields, suppressions, and consent records

Send transactional and marketing SMS alongside email through the SMS endpoints

Sync e-commerce store data including products, attributes, and orders for behavioural targeting

Use Cases

Patterns agents use 4Dem Api for, with concrete tasks.

★ Email Campaign Send and Reporting

Schedule a marketing email to a segment and pull deliverability metrics afterwards. Create the campaign via the campaigns endpoints, attach content, schedule the send, then call the reports endpoints (e.g. /reports/campaigns/{campaignId}) for opens, clicks, bounces, and per-domain breakdowns. This replaces dashboard clicks with a programmable workflow.

Schedule campaign 'June Newsletter' to address book 12 for tomorrow at 09:00 CET, then 24 hours after send fetch /reports/campaigns/{campaignId} and persist opens, clicks, and bounces.

Behavioural Marketing Automation

Build a workflow that triggers on a recipient attribute change, an ecommerce event, or a time delay using the workflows resource. Combine with consents and suppressions to ensure only opted-in contacts receive automated messages, and with stores resources to react to product or order events.

Create a workflow 'Cart Abandon' that triggers when a recipient leaves /carts/{cartId} non-empty for 60 minutes, sending the cart-abandon email content.

List Hygiene And Suppressions

Maintain list quality by syncing hard bounces, complaints, and unsubscribes into 4Dem suppressions, and by exporting suppressions for use in adjacent tools. The suppressions, forgottens, and consents endpoints together enforce GDPR-style deletion and audit trails for Italian senders.

Pull all hard-bounced recipients from the last 7 days, add them to the global suppressions list, and remove them from address book 12.

Agent-Driven Email Operations

Let an AI agent run the routine email programme - schedule sends, refresh bearer tokens, pull reports, and add recipients - through Jentic. The agent searches by intent, loads the schema, and executes; bearer tokens, including refresh tokens, are managed transparently by Jentic.

Through Jentic, search 'send a 4dem campaign', load the campaign-create schema, prepare and schedule the campaign, and after send fetch the report into a database.

Key Endpoints

208 endpoints — jentic publishes the only available openapi specification for 4dem, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

POST

/authenticate

Obtain a bearer token

POST

/refresh_token

Refresh a bearer token

GET

/reports/campaigns/{campaignId}

Get a campaign's performance report

GET

/addressbook/

List address books

GET

/addressbook/{addressbookId}

Get a specific address book

GET

/apikeys

List API keys

POST

/authenticate

Obtain a bearer token

POST

/refresh_token

Refresh a bearer token

GET

/reports/campaigns/{campaignId}

Get a campaign's performance report

GET

/addressbook/

List address books

GET

/addressbook/{addressbookId}

Get a specific address book

GET

/apikeys

List API keys

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

4

4Dem Api

- Foundational (D-)
43/100
48
Foundational Compliance
47
Developer Experience & Jentic Compatibility
28
AI-Readiness & Agent Experience
43
Agent Usability
60
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
48

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: D+Signals: 4
68%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

25%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

47

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: DSignals: 4
2%

Example Density

How richly the API is illustrated with examples.

34%

Example Validity

Percentage of examples that conform to their schemas.

51%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

28

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
52%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

59%

Summary Coverage

Coverage of summaries across operations/tags/info.

43

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: D-Signals: 1
43%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

60

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
60%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the 4Dem API by hand means managing its bearer access token, calling authenticate and refresh_token to keep it current, and shaping campaign and recipient payloads yourself. Through Jentic you install once, import the 4Dem API from the API Directory, store the credentials once, and your agent calls it.

Permission scoping

4Dem puts the campaign and address-book id in the URL path (/reports/campaigns/{campaignId}, /addressbook/{addressbookId}), so a rule can pin your agent to one campaign or address book. You choose the operations it may call, so reading API keys is not included unless you add it.

Credential isolation

Your 4Dem access and refresh tokens are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'read a campaign report' or 'list address books', and Jentic returns the matching 4Dem operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Mailchimp API

→

Mailchimp is a global email marketing platform with similar list, campaign, and automation primitives.

Pick Mailchimp for global reach and broad ecosystem; pick 4Dem for an Italian-market platform with strong CPF/Italian data residency considerations.

Alternative

Brevo API

→

Brevo (formerly Sendinblue) covers email, SMS, and marketing automation with a similar feature surface.

Pick Brevo for email plus transactional SMS at competitive cost; pick 4Dem for Italian-language UX and local support.

Alternative

Klaviyo API

→

Klaviyo is built around ecommerce data with deep Shopify and BigCommerce integrations.

Pick Klaviyo when the brand is heavily ecommerce-driven and on Shopify; pick 4Dem for a broader email marketing platform with Italian focus.

Complementary

Mailjet API

→

Mailjet handles transactional email delivery alongside 4Dem's marketing campaigns.

Use Mailjet for high-volume transactional email and 4Dem for marketing campaigns and automation workflows.

FAQs

Specific to using 4Dem Api through Jentic.

Why is there no official OpenAPI spec for 4Dem?

4Dem publishes a developer reference at api.4dem.it/open-api but no canonical OpenAPI specification with the full endpoint surface modelled. Jentic generates and maintains this spec so that AI agents and developers can call 4Dem via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the 4Dem API use?

It uses HTTP bearer tokens. Obtain a token via POST /authenticate with API credentials, then send Authorization: Bearer {token} on subsequent requests. Refresh tokens via POST /refresh_token. Through Jentic, both the access and refresh tokens are stored encrypted in the vault and rotated automatically.

How do I send a campaign with 4Dem?

Build the campaign content via the contents endpoints, create the campaign on the campaigns resource, attach the address book, and schedule the send. After delivery, GET /reports/campaigns/{campaignId} returns opens, clicks, and bounces, and per-domain trends are available under /reports/campaigns/{campaignId}/domains/{activity}.

Can I send SMS through 4Dem?

Yes. The SMS endpoints support transactional and marketing SMS alongside email. Combine SMS with email workflows to run multi-channel sequences from a single provider.

How do I add a recipient to an address book through Jentic?

Run pip install jentic, then search 'add a 4dem recipient', load the recipients-create operation, supply the address book ID and recipient fields, and execute. Run it through Jentic One, the self-hosted execution layer to receive an agent API key for execution.

Does 4Dem support marketing automation workflows?

Yes. The workflows endpoints let you build trigger-based automations such as welcome sequences, cart abandon, and re-engagement campaigns. Workflows can read recipient attributes, ecommerce store data, and consent state to decide who enters the flow.

Can I limit what my agent is allowed to do with the 4Dem API?

Yes. Jentic One runs on your own infrastructure, and your own rules decide which 4Dem operations and credentials the agent may use. Because 4Dem puts the campaign and address-book id in the URL path, such as /reports/campaigns/{campaignId} and /addressbook/{addressbookId}, you can pin the agent to a single campaign or address book. You also choose which operations it may call, so sensitive endpoints like listing API keys at /apikeys stay off limits unless you explicitly grant them.

GET STARTED

Start building with 4Dem Api

Explore with Jentic One
View OpenAPI Document