email-accounts
Fetch all Email accounts
post/v1/email-accounts
Request
- Base URLhttps://developer.saleshandy.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"search": "john.doe@example.com",
"pageSize": 25,
"page": 1,
"sort": "DESC",
"sequenceIds": [
"JA5YdAr9wy"
],
"clientIds": [
"JA5YdAr9wy"
],
"addedBy": [
"JA5YdAr9wy"
],
"status": 1,
"emailServiceProvider": [
"gsuite",
"microsoft"
]
}Response
Successfully fetched all email account list
Example response
{
"emails": [
{
"id": "XdPd8p1PVo",
"fromName": "John Doe",
"fromEmail": "johndoe+4@saleshandy.com",
"type": 3,
"status": 1,
"createdAt": "2024-08-28T04:42:10.131Z",
"healthScore": 55,
"user": {
"firstName": "John",
"lastName": "Doe"
},
"sequences": [
{
"id": "JA5YdAr9wy",
"title": "Sample Sequence",
"active": true,
"steps": [
{
"id": "bwOLEx4l8G",
"name": "Step 1"
}
],
"client": {
"id": "g9bzZq4aMd",
"companyName": "Demo",
"firstName": "John",
"lastName": "Doe"
},
"user": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
}
],
"settings": [
{
"id": "OqwmgYpLaj",
"code": "available-quota",
"value": "6",
"modifiedAt": "2024-10-01T13:00:01.187Z"
}
],
"client": {
"id": "g9bzZq4aMd",
"firstName": "john",
"lastName": "doe",
"email": "johndoe+5@saleshandy.com",
"status": "active",
"companyName": "Demo"
},
"hashId": "XdPd8p1PVo"
}
],
"meta": {
"totalItems": 1,
"currentPage": 1,
"itemsPerPage": 25,
"totalPages": 1,
"itemCount": 1
},
"connectedEmailsCount": 1
}Changes
No recorded changes to this operation across all 4 revisions of this API.