Senders
All Senders
Retrieve all senders configured in your account. Each sender includes reputation data and delivery statistics.
GET
https://graph.sendcorex.com/v3.0/sendersQuery parameters
This endpoint takes no parameters.
Quick start
import axios from 'axios';
const response = await axios.get('https://graph.sendcorex.com/v3.0/senders', {
headers: { Authorization: process.env.SENDCOREX_API_KEY },
});
console.log(response.data);Response
{
"success": true,
"senders": [
{
"id": "H1K5C6IZCOCQZXJOP0C2UZCH",
"from": "Emailsbit",
"email": "emails.outgoing@emailsbit.com",
"replyTo": "it.support@emailsbit.com",
"domain": "emailsbit.com",
"reputation": {
"status": "Critical",
"reputationScore": 0
}
}
],
"responseTime": "1834ms"
}Response fields
senders[].idThe sender ID. Use it in the other sender endpoints.
senders[].fromThe display name shown to recipients.
senders[].emailThe sender email address.
senders[].replyToWhere replies are sent.
senders[].domainThe domain the sender belongs to.
senders[].reputation.statusThe reputation status of the sender, for example
Critical.senders[].reputation.reputationScoreThe reputation score.
Errors
HTTP-level errors return type, code and message. Errors marked CMD come back inside the command result, with HTTP 200.
- 401
INVALID_API_KEYThe API key is invalid or revoked.