Skip to content

Latest commit

 

History

History

mailgun

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Email Service

Example Request

  • Curl
curl -s --user 'api:{{token}}' -G \
    https://api.mailgun.net/v3/domains \
    -d skip=0 \
    -d limit=3
  • Raw
POST /v3/domains HTTP/1.1
Authorization: Basic YXBpOnt7dG9rZW59fQ==
Host: api.mailgun.net
Content-Type: application/x-www-form-urlencoded
Content-Length: 14

skip=0&limit=3

Response

  • Success
{
  "items": [
    {
      "created_at": "Thu, 01 May 2021 10:10:10 GMT",
      "id": "xxxxxxxx",
      "is_disabled": false,
      "name": "test.com",
      "require_tls": false,
      "skip_verification": false,
      "smtp_login": "[email protected]",
      "spam_action": "disabled",
      "state": "unverified",
      "type": "custom",
      "web_prefix": "email",
      "web_scheme": "http",
      "wildcard": false
    },
    ...
  ],
  "total_count": 2
}
  • Error
{
    "message":"Invalid private key"
}

Regex

key-[a-z0-9]{32}

Example API key

key-bb1aa18d0eeea0fc7ggg799h3i9578j