Retrieve a sender
client.sender.retrieve(stringid, RequestOptionsoptions?): SenderRetrieveResponse { id, archivedAt, channel, 9 more }
GET/v1/senders/{id}
Retrieves a sender by its ID, archived ones included.
Required scope: senders:read
Rate limit category: Read
Retrieve a sender
import Lightfield from 'lightfield';
const client = new Lightfield({
apiKey: 'My API Key',
});
const senderRetrieveResponse = await client.sender.retrieve('id');
console.log(senderRetrieveResponse.id);{
"id": "id",
"archivedAt": "archivedAt",
"channel": "EMAIL",
"createdAt": "createdAt",
"emailAddress": "emailAddress",
"health": "UNVERIFIED",
"healthReason": "healthReason",
"objectType": "sender",
"owner": "owner",
"pacing": {
"EMAIL": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
},
"LINKEDIN_INVITE": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
},
"LINKEDIN_MESSAGE": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
}
},
"replyToAddress": "replyToAddress",
"transport": "SMTP"
}Returns Examples
{
"id": "id",
"archivedAt": "archivedAt",
"channel": "EMAIL",
"createdAt": "createdAt",
"emailAddress": "emailAddress",
"health": "UNVERIFIED",
"healthReason": "healthReason",
"objectType": "sender",
"owner": "owner",
"pacing": {
"EMAIL": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
},
"LINKEDIN_INVITE": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
},
"LINKEDIN_MESSAGE": {
"dailyLimit": -9007199254740991,
"maxGapSeconds": -9007199254740991,
"minGapSeconds": -9007199254740991
}
},
"replyToAddress": "replyToAddress",
"transport": "SMTP"
}