Enter your API key in the
Authorization field like the example shown below:E.g ApiKey 18d2e625f05d80eimport fetch from 'node-fetch';
const response = await fetch('https://api.novu.co/v1/inbound-parse/mx/status', {
method: 'GET',
});
const data = await response.json();
use Novu\SDK\Novu;
$novu = new Novu(<NOVU_API_KEY>);
// Validate MX Record for Inbound Parse
$novu->validateMXRecordForInboundParse()->toArray();
require 'novu'
client = Novu::Client.new('<NOVU_API_KEY>')
client.validate_mx_record_setup_for_inbound_parse()
from novu.api import InboundParseApi
url = "https://api.novu.co"
api_key = "<NOVU_API_KEY>"
novu = InboundParseApi(url, api_key).validate_mx_record_setup(
)
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();
}
}
{
"data": {
"mxRecordConfigured": true
}
}