/accounts
List accounts
Get a paginated list of all connected email accounts
Parameters
page
string 1-indexed page number to return when using offset pagination.
1
limit
string Maximum number of items to include per page.
50
Additional parameters
pageToken
string
pageToken
string Opaque token returned from a previous request for page-based pagination.
WyJjdXJzb3IiLCIxMjM0Il0=
cursor
string
cursor
string Cursor identifier returned from a previous response when using cursor-based pagination.
cursor_2024-02-15T10:00:00Z
Returns
Paginated list of accounts returned by list endpoints.
curl -X GET "http://localhost:8080/accounts"
{
"accounts": [
{
"id": "acct_123456789",
"email": "[email protected]",
"provider": "gmail",
"paused": false,
"createdAt": "2024-05-01T12:00:00.000Z",
"updatedAt": "2024-05-10T09:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 1,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
}
}