API keys

Create keys to use the Mailyard API from your own code.

Create a key

Go to API → Create API key. Give it a name and choose read or read and write access.

Shell
export MAILYARD_KEY="my_live_8f2k1q…"
curl https://api.mailyard.com/v1/inboxes \
  -H "Authorization: Bearer $MAILYARD_KEY"
Keys are shown once. Store them in a secret manager, never in your code.

Was this page helpful?