Get Me

Return the authenticated user profile and API key metadata.

GET /v1/me

Return the authenticated user’s profile, plan tier, timezone, and the API key used for this request.

Auth: Bearer API key (required)

Response 200

{
  "id": "user_abc123",
  "email": "jane@example.com",
  "name": "Jane",
  "image": "https://example.com/avatar.jpg",
  "plan": "growth",
  "timezone": "America/New_York",
  "created_at": "2026-01-01T00:00:00.000Z",
  "api_key": {
    "id": "key_xyz",
    "name": "production-backend",
    "prefix": "sk_live_"
  }
}
FieldTypeDescription
idstringUser ID
emailstringAccount email
namestringDisplay name
imagestring | nullAvatar URL
planstringSubscription tier: free, starter, growth, or pro
timezonestringDashboard timezone (used for naive schedule times)
created_atdatetime | nullWhen the account was created
api_keyobject | nullThe key used on this request (id, name, prefix)

cURL

curl https://api.social0.app/v1/me \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

JavaScript

const res = await fetch("https://api.social0.app/v1/me", {
  headers: { Authorization: `Bearer ${process.env.SOCIAL0_API_KEY}` },
});
const me = await res.json();
console.log(me.plan, me.timezone);

Python

import requests, os

r = requests.get(
    "https://api.social0.app/v1/me",
    headers={"Authorization": f"Bearer {os.environ['SOCIAL0_API_KEY']}"},
)
me = r.json()

Errors

HTTPCodeWhen
401invalid_api_keyMissing or invalid API key
404not_foundUser record missing