Skip to content

Finding Your API Key

Every account on the Solutech Hub Mail Platform has a permanent API key you can use to access the REST API programmatically — send mail, read your mailbox, check delivery status, and more.

How to Find It

  1. Log in to the web panel at mail-api.solutechhub.com
  2. Click Settings in the left sidebar (bottom of the menu)
  3. Your API key is shown in the API Key section

The key is hidden by default. Click the eye icon to reveal it, then the copy icon to copy it to your clipboard.

Using Your API Key

Include your key in every API request using the X-MAILAPI-TOKEN header:

curl -X GET "https://mail-api.solutechhub.com/api/v1/mail/sent" \
  -H "X-MAILAPI-TOKEN: your-api-key-here"
import requests

headers = {"X-MAILAPI-TOKEN": "your-api-key-here"}
response = requests.get(
    "https://mail-api.solutechhub.com/api/v1/mail/sent",
    headers=headers
)
print(response.json())

See the full Integration Guide for more examples.

Regenerating Your Key

If your key is compromised or you want to rotate it:

  1. Go to Settings in the sidebar
  2. Click Regenerate API Key
  3. Confirm the action — your old key is immediately invalidated
  4. Copy and save the new key — it is only shown once

Update your integrations

Any applications using your old key will stop working immediately after regeneration. Update them with the new key before proceeding.

Key Types

Type Access
Admin key Full access to all endpoints and all mailboxes
User key Access to your own mailbox and any permissions granted to you

Your key type is shown as a badge on the Settings page.