Authorizing a domain for API

When using the Mailbaby Send API the sending domain must be authorized with a dns txt record, in addition to setting SPF records. To authorize the domain

  • Access your DNS server editor
  • Create a new TXT record called _mb with the record of your mailbaby username

A basic set up will look like IN TXT “mbXXXX”

Where mbXXXX is your mailbaby username. It is possible to separate multiple usernames by a space and have IN TXT “mbXXXX mbYYYYY”


With this valid record email will be authorized for sending over the API. In addition to this record you also need to follow the mailbaby SPF set up. At minimum your domain needs to have an SPF record record including


For more information on the API please review the api docs

Leave a Reply

Your email address will not be published. Required fields are marked *