Mimecast (Legacy API 1.0)
This page documents the Mimecast Events (Legacy) template, which collects Mimecast SIEM logs over API 1.0 using a five-value application credential: a base URL, an application ID and key, and an access key and secret key.
| Template | Mimecast API | Credentials |
|---|---|---|
| Mimecast CG Events | API 2.0 | Client ID, Client Secret |
| Mimecast Events (Legacy) (this page) | API 1.0 | Base URL, Application ID, Application Key, Access Key, Secret Key |
Mimecast's published end-of-life plan removed the API 1.0 tiles from the Cloud Gateway Administration Console at the end of June 2025, which stopped new API 1.0 applications from being created. Existing applications keep working while their service-account user, access key and secret key stay valid, but Mimecast has stated it intends to start expiring them once most integrations have moved, and has not published that date.
If you are connecting Mimecast for the first time, or if the API 1.0 tile is no longer in your console, go to Mimecast Cloud Gateway instead — it is a shorter setup with two credentials rather than five. This page is here for tenants still running on 1.0 keys, and for migrating off them.
Authentication is a request signature rather than a token: each call is signed with HMAC-SHA1 using the secret key, and carries the access key, the application ID and the application key. That is why five values are collected where the Cloud Gateway template needs two — see Under the hood.
The setup has two halves:
- In Mimecast — turn on Enhanced Logging, register an API application, and create keys against a service account. This produces five values: a Base URL, an Application ID, an Application Key, an Access Key and a Secret Key.
- In Fluency — install the Mimecast Events (Legacy) application template and paste those five values into its form.
What arrives
The same SIEM streams the Cloud Gateway integration collects, over the older endpoint. The MTA types describe the life of a message through the gateway; the Targeted Threat Protection types describe what Mimecast's inspection services found.
| Stream | What it records | Depends on |
|---|---|---|
| Receipt | The MTA accepting a connection for a message — sender, recipient, sending IP, subject, initial verdict. | Enhanced Logging |
| Process | Mimecast policy evaluation of that message. | Enhanced Logging |
| Delivery | The MTA handing the message to its destination, or failing to. | Enhanced Logging |
| Journal | Journaled copies of internal mail. | Enhanced Logging (internal) |
| AV / Spam | Malware and spam verdicts raised during processing. | Enhanced Logging |
| URL Protect | Rewritten-link click verdicts. | Targeted Threat Protection — URL Protect |
| Attachment Protect | Attachment sandboxing and safe-file conversion outcomes. | Targeted Threat Protection — Attachment Protect |
| Impersonation Protect | Display-name, domain-similarity and internal-name impersonation hits. | Targeted Threat Protection — Impersonation Protect |
| Internal Email Protect | Threats found in internal and outbound mail. | Internal Email Protect |
Before you begin
An existing API 1.0 application, or a console that still offers one. Check Services → API and Platform Integrations → Your Application Integrations before working through Part 1. If there is no Add API Application button and no API 1.0 card under Available Integrations, the tenant is past the cutoff and the only path is Cloud Gateway.
Enhanced Logging, switched on. Mimecast only generates the SIEM data this integration reads for log types enabled in Enhanced Logging. With it off, every step below succeeds, the application installs, the pipeline reads Running, and nothing ever arrives.
A Mimecast administrator account in the Basic Administrators group, with Gateway → Tracking → Read granted. Key creation authenticates as that account, so it has to be a real, usable login — and it is worth using a dedicated service account rather than a person's, because the credential dies with the user.
Access to the Fluency portal with permission to install applications.
Mimecast serves SIEM logs for roughly seven days from the current date, so a gap in collection longer than that is a permanent gap. Enhanced Logging is also not retroactive: it starts generating data when you save it, not before.
Part 1 — Mimecast
Work through this half in the Mimecast Administration Console, signed in as the administrator account described above.
1. Turn on Enhanced Logging
Open the Administration menu and go to Account → Account Settings.

Expand the Enhanced Logging section at the foot of the page and tick all three options — Enhanced inbound email logging, Enhanced outbound email logging and Enhanced internal email logging — then Save.

Leaving one unticked silently removes that direction of mail from the feed. Outbound and internal are the ones people skip, and they are what data-exfiltration and internal-phishing detections run on.
Mimecast begins logging when you save, and the logs become available to SIEM integrations about thirty minutes later.
2. Register the API application
Go to Services → API and Platform Integrations.

Under Available Integrations, scroll to the Fluency Security card and click Generate Keys. This is Mimecast's own listing for the Fluency SIEM integration and pre-fills the application category; on a console where the card is absent, Your Application Integrations → Add API Application produces the same result.

On the Details step:

- Application Name — anything recognisable.
Fluency Securityis the default. - Category — SIEM Integration.
- Service Application — tick Enable Extended Session.
- Description — free text.
Without it, the access and secret keys this application issues are subject to the account's ordinary session lifetime and stop working without warning. Collection then fails quietly, and the fix is a full key regeneration. This checkbox is the single most consequential setting on the form.
The Settings step asks for a developer name and contact address. Any value is accepted; use something a future administrator can trace.

Review the Summary and click Add. Mimecast returns to the integrations page with a summary panel for the new application.
3. Record the Application ID and Application Key
Open the application from Your Application Integrations to see its details. The Application ID is shown in full; the Application Key is masked behind an eye icon. Both have a copy button.

Unlike the access and secret keys in the next step, these two can be read again at any time from this panel.
A newly added API application cannot issue access and secret keys immediately. If Create Keys fails or is unavailable, come back in half an hour — this is expected behaviour, not a fault.
4. Create the access key and secret key
Return to Your Application Integrations. At the end of the application's row, open the ⋯ menu and choose Create Keys.
The wizard runs Account → Authentication → Verification → Keys, and it authenticates as the administrator account the keys will belong to:

- Account — the email address of the Basic Administrator service account. In most cases this is the address shown in the top-right corner of the console.
- Authentication — the account type (Cloud for a Mimecast cloud password) and that account's password.
- Verification — complete multi-factor authentication if the account requires it.
- Keys — Mimecast issues the pair.

Once you navigate away from this page the access key and secret key cannot be recovered; the only remedy is to create a new pair. Mimecast's own warning on this screen also asks that the two are not stored or sent together.
You should now be holding all five values:
| Value | Where it came from |
|---|---|
| Base URL | Your tenant's region — see step 5 |
| Application ID | The application details panel |
| Application Key | The application details panel, behind the eye icon |
| Access Key | The Create Keys wizard, shown once |
| Secret Key | The Create Keys wizard, shown once |
5. Find the Base URL
API 1.0 is served regionally, and the wrong region fails authentication rather than redirecting. The base URL follows the pattern https://<region>-api.mimecast.com — for example https://us-api.mimecast.com for the United States, https://eu-api.mimecast.com for Europe, https://de-api.mimecast.com for Germany. Mimecast's global base URLs list is authoritative; the tenant's region is also visible in the console URL you are signed in to.
API 2.0 is served from a single global gateway that routes to the tenant's region on its own, which is why the Cloud Gateway template takes two parameters where this one takes five.
Part 2 — Fluency
Install the Application
Go to Platform → Applications → Install Application From Template and choose Mimecast Events (Legacy) from the Email Audit and Protection category.
| Parameter | Notes |
|---|---|
| Base URL | The regional endpoint from step 5, for example https://us-api.mimecast.com. |
| Application ID | From the application details panel. |
| Application Key | From the application details panel, behind the eye icon. |
| Access Key | From the Create Keys wizard. |
| Secret Key | From the Create Keys wizard. |

Press Install. The application then appears in the Installed Applications view, where its badge reads Running once the pipeline is up.
Unlike most templates, Mimecast Events (Legacy) takes no datalake or datalake index name parameter — the destination is fixed by the template rather than chosen on the form, so there is nothing here to collide with another application. To see where the data actually lands, open the installed application's details panel with the blue eye button and read its Actions list, which records every object the install created.
Confirm it is running
The application appears under Installed Applications as Mimecast Events (Legacy): Default. Its badge should read Running in green within a few seconds; Aborted in red means the pipeline stopped on an error, and the details panel will carry the message.
Give the first collection 15 to 30 minutes with normal mail flow. Once data is arriving, the Data Lake → Search facet selector carries per-source configurations for the Mimecast streams — Default-Mimecast_MTA_Receipt, Default-Mimecast_URL_Protect, Default-Mimecast_Attachment_Protect and Default-Mimecast_Impersonation_Protect — which is a quick way to confirm which streams are actually populated. See Confirm data is arriving.
Migrating to Cloud Gateway
Moving to API 2.0 replaces the credential, not the data. The streams, the Enhanced Logging dependency and the seven-day retention window are identical; what changes is that five values become two and the regional base URL disappears.
- Register an API 2.0 application and collect its client ID and secret — Mimecast Cloud Gateway, Part 1. Enhanced Logging is already on, so that step is a check rather than a change.
- Install Mimecast CG Events alongside the legacy application. Give it a datalake index name the legacy application is not already writing to; check the legacy application's Actions list first, because its destination is not shown on the install form.
- Confirm the new application is collecting, then uninstall the legacy one in Fluency.
- Delete the API 1.0 application in Mimecast, which revokes the access and secret keys outright.
Running both for a few days is cheap insurance and, because Mimecast serves seven days of logs, a short overlap costs nothing in duplicated retention. Do not leave both running indefinitely — two applications polling the same tenant double the API load for no benefit.
Maintenance
Rotating the keys
The access and secret keys cannot be re-displayed, so rotation means issuing a new pair:
- In Mimecast, open the application from Your Application Integrations, then ⋯ → Create Keys, and complete the wizard as the same service account.
- Copy the new Access Key and Secret Key.
- In Fluency, uninstall the Mimecast Events (Legacy) application and install it again with the new pair. Template parameters are read-only after install, so reinstalling is the supported way to change a credential.
The Application ID and Application Key do not change. Given that API 1.0 is at end of life, a forced rotation is a good moment to migrate rather than reissue.
Removing the integration
Uninstall the application in Fluency first — the red Uninstall button at the foot of its details panel — so the pipeline stops cleanly before its credentials stop working. Then delete the API application in Mimecast.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Create Keys fails or is missing right after adding the application | The thirty-minute wait after registration has not elapsed | Wait and retry. |
| The API 1.0 card and Add API Application button are gone | The tenant is past Mimecast's June 2025 cutoff for new API 1.0 applications | There is no way back; use Cloud Gateway. |
| The application shows Aborted immediately after install | Wrong Base URL for the tenant's region, or a mistyped key | API 1.0 does not redirect across regions — confirm the region first, then re-copy the keys. |
| Authentication worked, then stopped for no apparent reason | Enable Extended Session was not ticked when the application was created, or the service account was disabled or had its password reset | Check the account first. If Extended Session is off, the application has to be recreated — which is no longer possible on a post-cutoff console. |
| Running, but nothing arrives | Enhanced Logging is off, or was switched on less than half an hour ago | Administration → Account → Account Settings → Enhanced Logging; tick all three, save, wait thirty minutes. |
| MTA events arrive but no URL/Attachment/Impersonation events | The account's role lacks the Monitoring Menu read permissions, or the tenant has no Targeted Threat Protection subscription | Check the role first, then the subscription. |
| Only inbound mail is logged | Only Enhanced inbound email logging was ticked | Tick outbound and internal as well. |
Under the hood
Engineering reference — the API 1.0 request signature and why it needs five values
This section describes the Mimecast API 1.0 mechanics behind the five parameters. Administrators connecting Mimecast do not need it.
API 1.0 has no token exchange. Every request is signed on the spot, which is why the credential is four secrets plus an endpoint rather than an ID and a secret:
| Value | Role in the request |
|---|---|
| Base URL | The regional host. There is no global gateway and no cross-region redirect. |
| Application ID | Sent as the x-mc-app-id header — identifies the registered application. |
| Application Key | Mixed into the string that gets signed, never sent on the wire. |
| Access Key | The public half of the credential, sent in the Authorization header. |
| Secret Key | Base64-decoded and used as the HMAC-SHA1 key. Never sent. |
Each call sets x-mc-date (the request timestamp), x-mc-req-id (a fresh GUID) and x-mc-app-id, then builds the string to sign by concatenating:
<x-mc-date>:<x-mc-req-id>:<request URI>:<application key>
That string is signed with HMAC-SHA1 using the Base64-decoded secret key, and the result goes out Base64-encoded as:
Authorization: MC <access key>:<signature>
SIEM logs come from POST <base URL>/api/audit/get-siem-logs, which returns log file metadata and then the files themselves. Retention is about seven days.
Why the migration matters beyond end-of-life dates. The 1.0 credential is bound to a user account — key creation authenticates as that administrator, and the keys die with the account, its password reset, or its session policy. API 2.0's client credentials are bound to the application and a role, so a departing administrator no longer takes the integration down with them.
References
Mimecast
- API 1.0 End of Life — Mar 2025 — the end-of-life stages and the June 2025 cutoff
- API 1.0 to 2.0 migration guide — endpoint-by-endpoint mapping
- Global base URLs — the regional endpoint list
- Managing API applications — the application and key lifecycle
- Authorization — the request-signing scheme in full
Fluency
- Mimecast Cloud Gateway — the API 2.0 template, and where new setups go
- Install Application From Template — every template and its parameters
- Confirm data is arriving
- Email Security integrations — the rest of this category