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¶
- Log in to the web panel at mail-api.solutechhub.com
- Click Settings in the left sidebar (bottom of the menu)
- 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:
- Go to Settings in the sidebar
- Click Regenerate API Key
- Confirm the action — your old key is immediately invalidated
- 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.