Developer Tools

Mailtrap

Email Delivery Platform for testing and sending transactional emails

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Create Contact Export

    Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).

  • Get Billing Usage

    Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.

  • Get Contact

    Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.

  • Get Contact Export

    Retrieve the status of a contact export and its download URL when available.

  • Get Contact Field

    Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.

  • Get Contact Import Status

    Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.

  • Get Contact List

    Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.

  • Get Email Template

    Tool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.

  • Get Inbox Attributes

    Tool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.

  • Get Message HTML Body

    Tool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.

  • Get Permission Resources

    Tool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.

  • Get Project by ID

    Tool to retrieve project details from Mailtrap by project ID. Use when you need to get information about a specific project including its inboxes, permissions, and share links.

  • Get Sending Domain

    Tool to retrieve sending domain details from Mailtrap. Use when you need to check domain configuration, DNS verification status, or tracking settings.

  • Get Sending Stats

    Tool to retrieve email sending statistics from Mailtrap for a specific account. Use when you need metrics like delivery rate, bounce rate, open rate, click rate, and spam rate for a date range.

  • Get Sending Stats by Categories

    Tool to retrieve email sending statistics grouped by categories. Use when you need to analyze email performance metrics (delivery, bounce, open, click, spam rates) segmented by email categories within a date range.

  • Get Sending Stats by Date

    Tool to retrieve email sending statistics aggregated by date. Use when you need to analyze email delivery performance, bounce rates, open rates, click rates, and spam rates for a specific date range.

  • Get Sending Stats by Domains

    Tool to retrieve sending statistics grouped by domains for a Mailtrap account. Use when you need email delivery, bounce, open, click, and spam metrics broken down by sending domain for a specific date range. Supports filtering by domain IDs, sending streams, categories, and email service providers.

  • Get Sending Stats by ESP

    Tool to retrieve email sending statistics grouped by email service providers (ESPs) for a specified date range. Returns delivery, bounce, open, click, and spam metrics for each ESP. Use when you need to analyze email performance across different email providers like Google, Yahoo, Microsoft, etc.

  • List Accounts

    Tool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).

  • List Contact Fields

    Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.

Page 1 / 2Next