> ## Documentation Index
> Fetch the complete documentation index at: https://v0.x-docs.novu.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate the mx record setup for the inbound parse functionality

<Warning>
  Enter your API key in the `Authorization` field like the example shown below:

  E.g `ApiKey 18d2e625f05d80e`
</Warning>

<RequestExample>
  ```javascript Node.js theme={null}
  import fetch from 'node-fetch';

  const response = await fetch('https://api.novu.co/v1/inbound-parse/mx/status', {
    method: 'GET',
    
  });
  const data = await response.json();
  ```

  ```php PHP theme={null}
  use Novu\SDK\Novu;

  $novu = new Novu(<NOVU_API_KEY>);


  // Validate MX Record for Inbound Parse
  $novu->validateMXRecordForInboundParse()->toArray();
  ```

  ```ruby Ruby theme={null}
  require 'novu'

  client = Novu::Client.new('<NOVU_API_KEY>')
  client.validate_mx_record_setup_for_inbound_parse()
  ```

  ```python Python theme={null}
  from novu.api import InboundParseApi

  url = "https://api.novu.co"
  api_key = "<NOVU_API_KEY>"
  novu = InboundParseApi(url, api_key).validate_mx_record_setup(
  )
  ```

  ```java Java theme={null}
  import co.novu.sdk.Novu;

  public class Main {
      public static void main(String[] args) {
          String apiKey = "<NOVU_API_KEY>";

          Novu novu = new Novu(apiKey);
          novu.validateMxRecordSetupForInboundParse();
      }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "data": {
      "mxRecordConfigured": true
    }
  }
  ```
</ResponseExample>
