Skip to main content
GET
/
v1
/
account
/
me
Get the current account
import requests

url = "https://api.13-215-85-171.sslip.io/v1/account/me"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "tier": "<string>",
    "quota_tier_id": "<string>",
    "is_operator": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "display_name": "<string>",
    "avatar_url": "<string>",
    "email_verified_at": "2023-11-07T05:31:56Z",
    "soft_deleted_at": "2023-11-07T05:31:56Z",
    "delete_scheduled_at": "2023-11-07T05:31:56Z",
    "abuse_flags": {}
  },
  "team": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>",
    "owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "quota_tier_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "soft_deleted_at": "2023-11-07T05:31:56Z"
  },
  "quota_tier": {
    "id": "<string>",
    "display_name": "<string>",
    "max_concurrent_sandboxes": 123,
    "daily_sandbox_creates": 123,
    "daily_gb_hours": 123
  },
  "quota_usage": [
    {
      "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "usage_date": "2023-12-25",
      "sandbox_creates": 123,
      "gb_hours": 123,
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "email_verified": true,
  "session_email": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase Auth access token passed as Bearer token

Response

Current account

user
object
required
team
object
required
quota_tier
object
required
quota_usage
object[]
required
email_verified
boolean
required
session_email
string | null