Skip to main content
GET
/
user
Get current user profile
curl --request GET \
  --url https://api.spike.ac/user \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "name": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "two_factor_enabled": true,
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_name": "<string>",
  "org_slug": "<string>",
  "short_code": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication using either a Supabase JWT token or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Response

User profile

id
string<uuid>
required
email
string<email>
required
name
string | null
required
created_at
string
required
updated_at
string
required
two_factor_enabled
boolean
required
org_id
string<uuid> | null
required
org_name
string | null
required
org_slug
string | null
required
short_code
string | null
required