API docs / API reference / Portal logins

Who is signed in

GET /v1/portal/me

With a session token: the login, its client, its access, and your branding to show.

Request

curl "https://amarkos.com/api/v1/portal/me" \
  -H "Authorization: Bearer $AMARKOS_KEY"

Response · 200

{
  "user": {
    "id": "cu_3c4d5e6f7a8b49c0d1e2f3a4b5c6d7e8",
    "email": "dana@acme-tools.com",
    "name": "Dana Reed"
  },
  "client": {
    "id": "cl_8a1b2c3d4e5f40a1b2c3d4e5f6a7b8c9",
    "name": "Acme Tools"
  },
  "access": {
    "audits": "run",
    "links": "act",
    "scans_per_month": 4,
    "max_pages": 200
  },
  "branding": {
    "name": "Northpeak Digital",
    "logo_url": "",
    "color": "#2E5BFF",
    "website": "northpeak.io",
    "support_email": "support@northpeak.io",
    "report_footer": ""
  }
}

← Sign a customer in · Change own password →