Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseOpenClawOpenClaw+21 more

    Authorizing Api Requests

    3

    Secure authentication and account resolution for Mailtrap Email Sending, Sandbox, and Account APIs.

    Free

    4 installsSecurity scanned
    authorizing-api-requests

    authorizing-api-requests

    Example session with this skill installed

    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?

    • Read your context and instructions
    • Compiled the authorizing-api-requests

    To list contact lists, use the account-scoped endpoint.

    1. Fetch your ID: export MAILTRAP_ACCOUNT_ID=$(curl -s https://mailtrap.io/api/accounts -H "Authorization: Bearer $MAILTRAP_API_TOKEN" | jq '.[0].id')
    2. Request: GET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/lists

    Connects securely to your tools. The creator never sees your data.

    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

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    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

    4 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • Free to download with an account

    Needs access to

    Mailtrap

    Listed3 months ago

    What's inside

    Frequently Asked Questions