Skip to content

List

GET
/emails
curl --request GET \
--url 'https://example.com/emails?status=example&kind=example&from=example&to=example&entityId=example'

Who can call it: Owners.

curl -X GET "https://spine.example.com/api/emails" \
  -H "Cookie: better-auth.session_token=<session>"
status
required
string
kind
required
string
from
required
string
to
required
string
entityId
required
string

Validation failed or a business rule was broken; message says what to change.

No session, or it has expired: sign in again.

The caller’s role, Team rights or ownership don’t allow it, the module is switched off, or their access was removed.

No such record in this business.

The same Idempotency-Key is still being handled, or the record conflicts with one that exists.

Too many requests: wait a minute.

Something went wrong on the server; the response carries the request id to report.