Logo
Search
Docs

User show

GET https://app.sulus.ai/api/user

Get the authenticated user profile

Authentication

Send a bearer token created on your dashboard's Developer page:

Authorization: Bearer <YOUR_API_KEY>

Errors

StatusMeaningBody
401 Missing or invalid bearer token

Notes

  • No query or body parameters.
  • data is user->toArray() plus primary_workspace_id, active_workspace_id, workspace_role, and can_manage_team.
  • password and remember_token are hidden. profile_picture is a public URL (or null), not the raw storage path.
  • Appended booleans: is_reseller_admin, is_reseller.
  • Allowlisted for unverified email (platform 409 EMAIL_NOT_VERIFIED does not apply to this path).
curl --request GET \
  --url https://app.sulus.ai/api/user \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

url = "https://app.sulus.ai/api/user"
headers = {"Authorization": "Bearer <YOUR_API_KEY>"}

response = requests.get(url, headers=headers)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	url := "https://app.sulus.ai/api/user"
	req, _ := http.NewRequest("GET", url, nil)
	req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
Response 200
{
    "success": true,
    "data": {
        "id": 42,
        "reseller_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "reseller_current_ui_version": "v2",
        "reseller_ui_intro_seen_at": "2026-06-01T12:00:00.000000Z",
        "name": "Jordan Lee",
        "email": "[email protected]",
        "supabase_id": null,
        "google_id": null,
        "role": "user",
        "phone": "+14155550123",
        "company": "Acme Dental",
        "bio": "Practice manager",
        "profile_picture": "https://app.sulus.ai/storage/profile-pictures/abc123.jpg",
        "status": "active",
        "email_verified_at": "2026-05-01T10:00:00.000000Z",
        "created_at": "2026-05-01T09:00:00.000000Z",
        "updated_at": "2026-07-30T15:00:00.000000Z",
        "deleted_at": null,
        "is_reseller_admin": false,
        "is_reseller": true,
        "primary_workspace_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "active_workspace_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "workspace_role": "owner",
        "can_manage_team": true
    }
}