v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
emailService

Retrieve Emails List

Retrieves a list of emails available to the user. Only accessible by authorized users.

get/email/v1/emails

Query parameters

pageinteger

current page

listnumber

how many items should be per page

Response

OK

Example response

{
  "data": [
    {
      "id": 2,
      "added_by": 1,
      "auth_user_id": 557,
      "imap_host": "imap.gmail.com",
      "imap_port": 993,
      "smtp_host": "smtp.gmail.com",
      "smtp_port": 587,
      "email": "stark@gmail.com",
      "name": "Uspacy",
      "sender_name": "Sender Name",
      "access_level": "shared",
      "status": "connected",
      "created_at": 1711385960,
      "updated_at": 1729099182
    }
  ],
  "meta": {
    "currentPage": 1,
    "from": 1,
    "lastPage": 1,
    "links": [
      {
        "label": "Previous"
      }
    ],
    "path": "https://domain.uspacy.ua/groups/v1/groups",
    "perPage": 20,
    "to": 2,
    "total": 2
  }
}