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();
{
"data": {
"mxRecordConfigured": true
}
}
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();
{
"data": {
"mxRecordConfigured": true
}
}
Authorization
field like the example shown below:E.g ApiKey 18d2e625f05d80e
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();
{
"data": {
"mxRecordConfigured": true
}
}
Ok
The response is of type object
.
Was this page helpful?