Liftli Users API
The users API from Liftli — 6 operation(s) for users.
The users API from Liftli — 6 operation(s) for users.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/liftli-ai:liftli-ai-users-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Liftli Ai Users API
version: 1.4.6
description: 'Operations tagged users across 2 of this provider''s published API definitions: app.liftli.ai.json, app-liftli-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Users
paths:
/api/v1/users:
get:
tags:
- Users
summary: List Users
description: List all users with pagination and filtering (admin only).
operationId: list_users_api_v1_users_get
parameters:
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Page Size
- name: search
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Search
- name: tier
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Tier
- name: role
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Role
- name: is_active
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
- name: sort_by
in: query
required: false
schema:
type: string
pattern: ^(created_at|last_login|email|name)$
default: created_at
title: Sort By
- name: sort_order
in: query
required: false
schema:
type: string
pattern: ^(asc|desc)$
default: desc
title: Sort Order
- name: include_deleted
in: query
required: false
schema:
type: boolean
default: false
title: Include Deleted
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UserListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Users
summary: Create User Endpoint
description: Create a new user (admin only).
operationId: create_user_endpoint_api_v1_users_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UserCreateRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/users/me/profile:
get:
tags:
- Users
summary: Get Current User Profile
description: Get current user's profile with usage statistics.
operationId: get_current_user_profile_api_v1_users_me_profile_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
put:
tags:
- Users
summary: Update Current User Profile
description: Update current user's profile.
operationId: update_current_user_profile_api_v1_users_me_profile_put
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserProfileUpdateRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/users/me/analytics-identity:
get:
tags:
- Users
summary: Get Analytics Identity
description: 'The identity bits the console cannot compute for itself: the hashed WorkOS subject
(for the PostHog alias), the internal-account hygiene flag, and X/LinkedIn connection
state (real OAuth connection, not merely a saved profile URL). Never returns the raw
subject. A legacy user with no workos_subject gets all-null/false with no social
lookup. Connection lookups are best-effort: a lookup failure defaults to False, never a
500.'
operationId: get_analytics_identity_api_v1_users_me_analytics_identity_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Get Analytics Identity Api V1 Users Me Analytics Identity Get
/api/v1/users/me/activity:
get:
tags:
- Users
summary: Get Current User Activity
description: Get current user's activity history with filtering and pagination.
operationId: get_current_user_activity_api_v1_users_me_activity_get
parameters:
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
- name: activity_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 'Filter by activity type: generation, action'
title: Activity Type
description: 'Filter by activity type: generation, action'
- name: action_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 'Filter by action type: copied, inserted, edited, feedback_submitted'
title: Action Type
description: 'Filter by action type: copied, inserted, edited, feedback_submitted'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedUserActivityResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/users/{user_id}:
get:
tags:
- Users
summary: Get User
description: Get specific user details (admin only).
operationId: get_user_api_v1_users__user_id__get
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Users
summary: Update User
description: Update user information (admin only).
operationId: update_user_api_v1_users__user_id__put
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UserUpdateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Users
summary: Delete User
description: Delete a user (admin only).
operationId: delete_user_api_v1_users__user_id__delete
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/users/{user_id}/block:
post:
tags:
- Users
summary: Toggle User Block
description: Block or unblock a user (admin only).
operationId: toggle_user_block_api_v1_users__user_id__block_post
parameters:
- name: user_id
in: path
required: true
schema:
type: integer
title: User Id
- name: block
in: query
required: false
schema:
type: boolean
default: true
title: Block
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
UserListResponse:
properties:
users:
items:
$ref: '#/components/schemas/liftli__api__routes__users__UserResponse'
type: array
title: Users
total:
type: integer
title: Total
page:
type: integer
title: Page
page_size:
type: integer
title: Page Size
total_pages:
type: integer
title: Total Pages
type: object
required:
- users
- total
- page
- page_size
- total_pages
title: UserListResponse
description: Response model for paginated user list.
UserProfileUpdateRequest:
properties:
timezone:
anyOf:
- type: string
- type: 'null'
title: Timezone
linkedin_profile_url:
anyOf:
- type: string
- type: 'null'
title: Linkedin Profile Url
platforms:
anyOf:
- items:
type: string
type: array
maxItems: 8
- type: 'null'
title: Platforms
type: object
title: UserProfileUpdateRequest
description: Request model for updating current user's profile.
liftli__api__routes__users__UserResponse:
properties:
id:
type: integer
title: Id
email:
type: string
title: Email
name:
type: string
title: Name
avatar_url:
anyOf:
- type: string
- type: 'null'
title: Avatar Url
company:
anyOf:
- type: string
- type: 'null'
title: Company
linkedin_profile_url:
anyOf:
- type: string
- type: 'null'
title: Linkedin Profile Url
platforms:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Platforms
tier:
type: string
title: Tier
role:
type: string
title: Role
is_active:
type: boolean
title: Is Active
email_verified:
type: boolean
title: Email Verified
last_login:
anyOf:
- type: string
- type: 'null'
title: Last Login
created_at:
type: string
title: Created At
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
deleted_at:
anyOf:
- type: string
- type: 'null'
title: Deleted At
timezone:
type: string
title: Timezone
billing_cycle:
anyOf:
- type: string
- type: 'null'
title: Billing Cycle
total_drafts:
type: integer
title: Total Drafts
default: 0
total_api_calls:
type: integer
title: Total Api Calls
default: 0
drafts_this_month:
type: integer
title: Drafts This Month
default: 0
current_streak:
type: integer
title: Current Streak
default: 0
record_streak:
type: integer
title: Record Streak
default: 0
last_activity_date:
anyOf:
- type: string
- type: 'null'
title: Last Activity Date
total_copied:
type: integer
title: Total Copied
default: 0
total_inserted:
type: integer
title: Total Inserted
default: 0
type: object
required:
- id
- email
- name
- avatar_url
- company
- linkedin_profile_url
- tier
- role
- is_active
- email_verified
- last_login
- created_at
- updated_at
- deleted_at
- timezone
title: UserResponse
description: Response model for user data.
UserActivityResponse:
properties:
user_id:
type: integer
title: User Id
activity_type:
type: string
title: Activity Type
details:
additionalProperties: true
type: object
title: Details
timestamp:
type: string
title: Timestamp
type: object
required:
- user_id
- activity_type
- details
- timestamp
title: UserActivityResponse
description: Response model for user activity.
PaginatedUserActivityResponse:
properties:
activities:
items:
$ref: '#/components/schemas/UserActivityResponse'
type: array
title: Activities
total:
type: integer
title: Total
page:
type: integer
title: Page
page_size:
type: integer
title: Page Size
total_pages:
type: integer
title: Total Pages
type: object
required:
- activities
- total
- page
- page_size
- total_pages
title: PaginatedUserActivityResponse
description: Response model for paginated user activity.
UserUpdateRequest:
properties:
role:
anyOf:
- type: string
pattern: ^(user|admin|support)$
- type: 'null'
title: Role
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
company:
anyOf:
- type: string
- type: 'null'
title: Company
timezone:
anyOf:
- type: string
- type: 'null'
title: Timezone
linkedin_profile_url:
anyOf:
- type: string
- type: 'null'
title: Linkedin Profile Url
type: object
title: UserUpdateRequest
description: Request model for updating user information.
UserCreateRequest:
properties:
email:
type: string
format: email
title: Email
name:
type: string
title: Name
initial_tier:
type: string
pattern: ^(trial|free|pro|unlimited|creator)$
title: Initial Tier
default: trial
role:
type: string
pattern: ^(user|admin|support)$
title: Role
default: user
company:
anyOf:
- type: string
- type: 'null'
title: Company
timezone:
type: string
title: Timezone
description: User's timezone
default: UTC
linkedin_profile_url:
anyOf:
- type: string
- type: 'null'
title: Linkedin Profile Url
type: object
required:
- email
- name
title: UserCreateRequest
description: Request model for creating a new user.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
x-refined-from:
- app.liftli.ai.json
- app-liftli-ai-openapi.json
x-provenance:
method: harvested
publisher: Liftli
source: https://app.liftli.ai/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)