Count
Get contact count
client.contacts.count(RequestOptionsoptions?): ContactCountResponse { count }
/api/v2/contacts/count
Get the total number of contacts
Returns
Get contact count
import SendblueAPI from 'sendblue';
const client = new SendblueAPI({
apiKey: 'My API Key',
apiSecret: 'My API Secret',
});
const response = await client.contacts.count();
console.log(response.count);
{
"count": 0
}
Returns Examples
{
"count": 0
}