This endpoint allows you to place an order for Done-For-You (DFY) email accounts with your own custom domains.
You can order up to 5 email accounts per domain.
This endpoint can place a DFY order, a pre-warmed up order, or an order to buy extra accounts to already ordered domains (please check the order_type field for more information).
We support the following domain extensions (tlds): .com, .org.
You can check the availability of your desired domain using the /dfy-email-account-orders/domains/check endpoint before placing an order.
If you choose to buy pre-warmed up accounts, please use the /dfy-email-account-orders/domains/pre-warmed-up-list endpoint to see a list of available pre-warmed up domains first.
If no pre-warmed up domains are available, then you can’t place your order, but you can still buy regular DFY accounts.
Please make sure your workspace has an Outreach plan to use this endpoint.
Requires one of the following scopes: dfy_email_account_orders:create, dfy_email_account_orders:all, all:create, all:all
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of domains and accounts to order
The type of order to place. Please check the docs because this endpoint performs different actions based on the order type.
dfy, pre_warmed_up, extra_accounts "dfy"
Whether to run a simulation of the order ot not. If set to true, the order will NOT be placed, your card will NOT be charged, and only a price quote will be returned. We will still check the validity of the order and the accounts, and return the results of the validation (if the order_is_valid field is true, then the order would be valid and could be placed).
false
Default Response
Whether the order was placed or not. If true, then the order was placed successfully. If false, then the order was not placed due to an error or simulation mode was enabled.
true
Whether the order is valid or not. If true, then the order is valid and can be placed. If false, then the order is not valid and cannot be placed. Use this field when you run a simulation to understand whether a real order would be valid.
true
The list of unavailable domains (if any)
The list of blacklisted domains (if any)
["example.com", "acme.com"]The list of invalid domains (if any)
["example.com", "acme.com"]The list of invalid forwarding domains (if any)
["example.com", "acme.com"]The list of domains that are missing order (if any). Can happen when you order extra accounts for domains that you didn't order before.
The list of domains without accounts (if any). The accounts field for items in the items array for these domains was empty.
["example.com", "acme.com"]The list of invalid accounts (if any)
The list of domains that are free (domains can be free during promotions)
["example.com", "acme.com"]The number of domains ordered
1
The number of accounts ordered
1
The price per account per month
10
The price per domain per year
100
The total price per domain per year
100
The total price per account per month
10
The total price per month you will have to pay for the order
100
The total price per year you will have to pay for the order
100
The total price you will have to pay for the order at the moment. This is the sum of the total_accounts_price_per_month and the total_domains_price_per_year fields.
100
The total discount you will get for the order at the moment. Discounts are applied automatically when we're running promotions.
100
The last 4 digits of the payment method used for the order
"1234"
The brand of the payment method used for the order
"Visa"
The name on the card used for the order
"John Doe"
Whether to run the request in simulation mode or not. If set to true, the order will NOT be placed, your card will NOT be charged, and only a price quote will be returned. We will still check the validity of the order and the accounts, and return the results of the validation (if the order_is_valid field is true, then the order would be valid and could be placed).
true
The list of items that were ordered, with the pricing information for each item.
The error that occurred if the order was not placed. If the order was placed successfully, then this field will be omitted.
unavailable_domains, blacklist_domains, invalid_domains, invalid_forwarding_domains, invalid_accounts, payment_failed, missing_domain_orders, domains_without_accounts "unavailable_domains"