MailGraf
TR
API and webhooks

API introduction

Learn what you can do with the MailGraf API and where to find the contract for each endpoint.

Updated 23 Aug 2026Open API keys in app

The MailGraf REST API lets your own systems exchange data with a MailGraf account. Use it when a CRM, commerce platform, form or workflow needs to add contacts, manage list membership or read campaign results without a manual export.

What you can do

The current public API supports these tasks:

  • create or update a contact using their email address
  • retrieve contacts and discover lists
  • add or remove a contact from a list
  • add an email address to the account block list
  • send custom behaviour events that can start automations
  • read campaigns and their delivery reports

Campaign creation, campaign sending and account administration remain in the MailGraf app.

How access works

  1. Create an API key

    Open Settings > API keys and click Create API key. The full key is shown once, so copy it to a secret manager or secure server configuration.
  2. Authenticate each request

    Send the key in the Authorization header as a bearer token. Read Authentication before connecting a production service.
  3. Call the public API

    Send requests to https://api.mailgraf.com/v1. Start with the read-only account check in Send your first request.

Use the right documentation

Help Center articles explain tasks and integration choices in plain language. The API reference is the contract for endpoint paths, request fields, response schemas and error codes. If the two appear to differ, follow the API reference and report the Help Center article so it can be corrected.

Where the full reference lives

Open the API reference to explore every available endpoint and its current contract.

Frequently asked questions

What can I connect to the MailGraf API?

You can connect a CRM, commerce platform, form, workflow or your own server-side service.

Can I manage campaigns through the API?

You can read campaigns and delivery reports. Creating or sending a campaign is not part of the current public API.

Where can I see every endpoint and response?

The API reference lists the current endpoints, request fields, response schemas and error codes.

Related articles

Was this helpful?

Still need help?

Write to us and a person will answer.

Contact us
MailGraf

Professional email marketing platform.

Don't miss out

Get the latest email marketing tips and exclusive updates.

ISO CertifiedGDPR CompliantCSA Certified

MailGraf is a trading name of MailGraf Digital Ltd, registered in England and Wales, No. 13282175. ICO ZB250899.