For the complete documentation index, see llms.txt. This page is also available as Markdown.

User

The signed-in user's profile. GET /user returns the user the API key belongs to.

Get user data for a user id

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Responses
200

Successful Response

application/json
emailstring · nullableOptional
namestring · nullableOptional
onboarding_statusstring · nullableOptional
avatar_urlstring · nullableOptional
last_accessedstring · date-time · nullableOptional
occupationstring · nullableOptional
companystring · nullableOptional
referral_sourcestring · nullableOptional
phone_numberstring · nullableOptional
used_desktop_appboolean · nullableOptional
idstring · uuidRequired
is_shade_adminbooleanRequired
created_atstring · date-timeRequired
total_rootsintegerRequired
plan_statusstring · enumRequiredPossible values:
planstring · enumRequiredPossible values:
asset_limitintegerRequired
total_indexedintegerRequired
total_storageintegerRequired
get/user
GET /user HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "email": "text",
  "name": "text",
  "onboarding_status": "text",
  "avatar_url": "text",
  "last_accessed": "2026-01-01T00:00:00.000Z",
  "occupation": "text",
  "company": "text",
  "referral_source": "text",
  "phone_number": "text",
  "used_desktop_app": true,
  "client_metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_shade_admin": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "total_roots": 1,
  "plan_status": "incomplete",
  "plan": "free",
  "asset_limit": 1,
  "total_indexed": 1,
  "total_storage": 1
}

Modify user data

put
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
Responses
200

Successful Response

application/json
emailstring · nullableOptional
namestring · nullableOptional
onboarding_statusstring · nullableOptional
avatar_urlstring · nullableOptional
last_accessedstring · date-time · nullableOptional
occupationstring · nullableOptional
companystring · nullableOptional
referral_sourcestring · nullableOptional
phone_numberstring · nullableOptional
used_desktop_appboolean · nullableOptional
idstring · uuidRequired
is_shade_adminbooleanRequired
created_atstring · date-timeRequired
total_rootsintegerRequired
plan_statusstring · enumRequiredPossible values:
planstring · enumRequiredPossible values:
asset_limitintegerRequired
total_indexedintegerRequired
total_storageintegerRequired
put/user
PUT /user HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 294

{
  "user": {
    "email": "text",
    "name": "text",
    "onboarding_status": "text",
    "avatar_url": "text",
    "last_accessed": "2026-01-01T00:00:00.000Z",
    "occupation": "text",
    "company": "text",
    "referral_source": "text",
    "phone_number": "text",
    "used_desktop_app": true,
    "client_metadata": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  }
}
{
  "email": "text",
  "name": "text",
  "onboarding_status": "text",
  "avatar_url": "text",
  "last_accessed": "2026-01-01T00:00:00.000Z",
  "occupation": "text",
  "company": "text",
  "referral_source": "text",
  "phone_number": "text",
  "used_desktop_app": true,
  "client_metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_shade_admin": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "total_roots": 1,
  "plan_status": "incomplete",
  "plan": "free",
  "asset_limit": 1,
  "total_indexed": 1,
  "total_storage": 1
}

Delete the signed-in user's account

delete

Delete the user's account. Remove them from every shared workspace and flag the row deleted (which revokes access), committing both before the WorkOS call. The personal workspace stays with the anonymized account. Personal information is always obfuscated as part of deletion.

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Responses
204

Successful Response

No content

delete/user
DELETE /user HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Create an avatar for a user

post
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
extensionstring · enumRequired

The extension type of the avatar

Possible values:
sizeanyRequired

Size of the avatar

Responses
200

Successful Response

application/json
Other propertiesanyOptional
post/user/profile/avatar/upload-url
POST /user/profile/avatar/upload-url HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "extension": "png",
  "size": null
}
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Confirm uploading an avatar for a user

post
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
download_urlanyRequired

The download url

Responses
200

Successful Response

application/json
anyOptional
post/user/profile/avatar/complete
POST /user/profile/avatar/complete HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "download_url": null
}

No content

Create user for share to perform actions with

post
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
namestringRequired

The name of the user

emailstringRequired

The email of the user

Responses
200

Successful Response

application/json
emailstring · nullableOptional
namestring · nullableOptional
onboarding_statusstring · nullableOptional
avatar_urlstring · nullableOptional
last_accessedstring · date-time · nullableOptional
occupationstring · nullableOptional
companystring · nullableOptional
referral_sourcestring · nullableOptional
phone_numberstring · nullableOptional
used_desktop_appboolean · nullableOptional
idstring · uuidRequired
is_shade_adminbooleanRequired
created_atstring · date-timeRequired
total_rootsintegerRequired
plan_statusstring · enumRequiredPossible values:
planstring · enumRequiredPossible values:
asset_limitintegerRequired
total_indexedintegerRequired
total_storageintegerRequired
post/user/share
POST /user/share HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "name": "text",
  "email": "text"
}
{
  "email": "text",
  "name": "text",
  "onboarding_status": "text",
  "avatar_url": "text",
  "last_accessed": "2026-01-01T00:00:00.000Z",
  "occupation": "text",
  "company": "text",
  "referral_source": "text",
  "phone_number": "text",
  "used_desktop_app": true,
  "client_metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_shade_admin": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "total_roots": 1,
  "plan_status": "incomplete",
  "plan": "free",
  "asset_limit": 1,
  "total_indexed": 1,
  "total_storage": 1
}

Update user email

put

Update the user's email in both WorkOS and the local database.

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
new_emailstring · emailRequired
Responses
200

Successful Response

application/json
emailstring · nullableOptional
namestring · nullableOptional
onboarding_statusstring · nullableOptional
avatar_urlstring · nullableOptional
last_accessedstring · date-time · nullableOptional
occupationstring · nullableOptional
companystring · nullableOptional
referral_sourcestring · nullableOptional
phone_numberstring · nullableOptional
used_desktop_appboolean · nullableOptional
idstring · uuidRequired
is_shade_adminbooleanRequired
created_atstring · date-timeRequired
total_rootsintegerRequired
plan_statusstring · enumRequiredPossible values:
planstring · enumRequiredPossible values:
asset_limitintegerRequired
total_indexedintegerRequired
total_storageintegerRequired
put/user/email
PUT /user/email HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "new_email": "[email protected]"
}
{
  "email": "text",
  "name": "text",
  "onboarding_status": "text",
  "avatar_url": "text",
  "last_accessed": "2026-01-01T00:00:00.000Z",
  "occupation": "text",
  "company": "text",
  "referral_source": "text",
  "phone_number": "text",
  "used_desktop_app": true,
  "client_metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_shade_admin": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "total_roots": 1,
  "plan_status": "incomplete",
  "plan": "free",
  "asset_limit": 1,
  "total_indexed": 1,
  "total_storage": 1
}

Request a password reset email

post

Send a password reset email to the user via WorkOS.

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Responses
200

Successful Response

application/json
successbooleanRequired
messagestringRequired
post/user/request-password-reset
POST /user/request-password-reset HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "message": "text"
}

Last updated

Was this helpful?