Create API key
documentedCreate a new API key.
POST /v1/keysKeysno implementation yet0 runsInput
domain_name
Domain name to associate with the key
mailgun.com
kind
Key kind
domain
description
Key description
e.g., App sending key
expiration
Key expiration (seconds)
3600
role*
Key role
admin
user_id
User ID (for web keys)
optional
user_name
User name
optional
email
User email (for web keys)
optional
Calls mailgun as you (your API key is your account); keychains.dev holds the credentials.