Works with the AI tools you already use
Authorizing Api Requests
Secure authentication and account resolution for Mailtrap Email Sending, Sandbox, and Account APIs.
Free
See it in action
You say
I need to make an API call to list my Mailtrap contact lists. How should I set up the auth headers and the account ID in the URL?
Your agent does
To list contact lists, use the account-scoped endpoint.
- Fetch your ID:
export MAILTRAP_ACCOUNT_ID=$(curl -s https://mailtrap.io/api/accounts -H "Authorization: Bearer $MAILTRAP_API_TOKEN" | jq '.[0].id') - Request:
GET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/lists
About this skill
A reference skill for any agent working with the Mailtrap API. Covers the two accepted auth header formats (Bearer and Api-Token), how to scope tokens to the minimum required surface (transactional, bulk, sandbox, account-level), where to store tokens safely across environments (local dev, CI, production), and a one-liner to resolve account_id dynamically so it never gets hardcoded. Includes a common-mistakes table covering the most frequent auth failures.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
1 install
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 1 month ago
- Free to download with an account
Creator
Frequently Asked Questions
Popular in API Development

x402-api-paywall
Add stablecoin micropayment paywalls to FastAPI and Express routes using the HTTP 402 standard.
igdb-api
Professional IGDB v4 API specialist for advanced game data fetching, Apicalypse queries, and image URL construction.

sending-emails
Expert integration of Mailtrap Email API and SMTP for transactional and bulk email delivery at scale.

using-email-templates
Expert integration for Mailtrap email templates, Handlebars data mapping, and responsive HTML generation.