Opero Docs
API Operocompanies

Wyszukaj e-mail

GET
/v1/companies/{companyId}/email/search

Przeszukuje wyłącznie skrzynki jawnie przyznane bieżącemu tokenowi i udostępnione w wybranej firmie.

Autoryzacja

api-token
AutoryzacjaBearer <token>

Token Opero API. Przekaż go jako Authorization: Bearer ek_...

In: header

Parametry ścieżki

companyId*tekst

Parametry zapytania

q*tekst
accountId?tekst
folderId?tekst
direction?tekst
dateFrom?tekst
dateTo?tekst
order?tekst
limit?liczba
cursor?tekst

Treść odpowiedzi

application/json

curl -X GET "https://example.com/v1/companies/string/email/search?q=string"
{  "data": {    "items": [      {        "id": "string",        "accountId": "string",        "threadId": "string",        "subject": "string",        "direction": "INBOUND",        "receivedAt": "2019-08-24T14:15:22Z",        "excerpt": "string",        "bodyAvailable": true,        "searchTruncated": true,        "mailboxThreadHref": "string"      }    ],    "nextCursor": "string",    "hasMore": true,    "failure": "unavailable"  }}