smplkit Users API
The Users API from smplkit — 5 operation(s) for users.
The Users API from smplkit — 5 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/smplkit-com:smplkit-com-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: smplkit Users API
description: API for the smplkit platform.
version: 0.1.0
tags:
- name: Users
paths:
/api/v1/users/current:
get:
tags:
- Users
summary: Get Current User
description: Return the currently authenticated user. ``role`` and ``account`` are populated when the user has a membership; both are null when the caller is authenticated but has no account yet — e.g. a returning user who has just accepted an invitation email.
operationId: get_current_user
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- HTTPBearer: []
put:
tags:
- Users
summary: Update Current User
description: Update the currently authenticated user's profile.
operationId: update_current_user
requestBody:
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- HTTPBearer: []
/api/v1/users/current/settings:
get:
tags:
- Users
summary: Get User Settings
description: Return the current user's settings as plain JSON.
operationId: get_user_settings
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
additionalProperties: true
type: object
title: Response Get User Settings
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- HTTPBearer: []
put:
tags:
- Users
summary: Update User Settings
description: Replace the current user's settings with the provided JSON object.
operationId: put_user_settings
requestBody:
content:
application/vnd.api+json:
schema:
additionalProperties: true
type: object
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
additionalProperties: true
type: object
title: Response Put User Settings
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- HTTPBearer: []
/api/v1/users/current/settings/{key}:
put:
tags:
- Users
summary: Update User Setting by Key
description: Set a single key in the current user's settings. The key is stored as a flat literal key (dot-notation is NOT expanded to nested paths). Returns the full updated settings object.
operationId: put_user_settings_key
security:
- HTTPBearer: []
parameters:
- name: key
in: path
required: true
schema:
type: string
title: Key
requestBody:
required: true
content:
application/vnd.api+json:
schema:
type: object
additionalProperties: true
title: Body
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
type: object
additionalProperties: true
title: Response Put User Settings Key
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/users:
get:
tags:
- Users
summary: List Users
description: List users in the authenticated account.
operationId: list_users
security:
- HTTPBearer: []
parameters:
- name: filter[account]
in: query
required: false
schema:
type:
- string
- 'null'
title: Filter[Account]
- name: filter[email]
in: query
required: false
schema:
type:
- string
- 'null'
title: Filter[Email]
- name: filter[search]
in: query
required: false
schema:
type:
- string
- 'null'
description: Case-insensitive substring match against display_name and email. If the value is a valid UUID, also matches user id exactly.
title: Filter[Search]
description: Case-insensitive substring match against display_name and email. If the value is a valid UUID, also matches user id exactly.
- name: sort
in: query
required: false
schema:
type: string
description: 'Field to sort by. Prefix with `-` for descending order. Default: `email`. Allowed values: `created_at`, `-created_at`, `display_name`, `-display_name`, `email`, `-email`.'
enum:
- created_at
- -created_at
- display_name
- -display_name
- email
- -email
default: email
title: Sort
description: 'Field to sort by. Prefix with `-` for descending order. Default: `email`. Allowed values: `created_at`, `-created_at`, `display_name`, `-display_name`, `email`, `-email`.'
- name: page[number]
in: query
required: false
schema:
type: integer
description: 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
default: 1
title: Page[Number]
description: 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
- name: page[size]
in: query
required: false
schema:
type: integer
description: Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
default: 1000
title: Page[Size]
description: Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
- name: meta[total]
in: query
required: false
schema:
type: boolean
description: When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
default: false
title: Meta[Total]
description: When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserListResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/users/{id}:
get:
tags:
- Users
summary: Get User
description: Return a user by id.
operationId: get_user
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
put:
tags:
- Users
summary: Update User Role
description: Update a user's role in the account.
operationId: update_user_role
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
requestBody:
required: true
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserRequest'
responses:
'200':
description: Successful Response
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/UserResponse'
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
delete:
tags:
- Users
summary: Remove User
description: Remove a user from the account.
operationId: remove_user
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
responses:
'204':
description: Successful Response
'400':
description: Validation error or malformed request
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid authentication
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ListMeta:
properties:
pagination:
$ref: '#/components/schemas/PaginationMeta'
type: object
required:
- pagination
title: ListMeta
description: Top-level ``meta`` block included on every JSON:API list response.
User:
properties:
email:
type:
- string
- 'null'
format: email
title: Email
description: Email address used to sign in to the user account.
readOnly: true
display_name:
type: string
maxLength: 255
title: Display Name
description: Human-readable display name shown in the console and on shared resources.
profile_pic:
type:
- string
- 'null'
maxLength: 2048
title: Profile Pic
description: URL of an external profile picture (e.g. the value supplied by the user's identity provider).
avatar_url:
type:
- string
- 'null'
title: Avatar Url
description: Server-generated `data:` URL containing the user's avatar image bytes when one has been captured. `null` when no avatar is available — callers should fall back to Gravatar or initials.
readOnly: true
auth_provider:
type:
- string
- 'null'
title: Auth Provider
description: Identity provider that authenticates the user, e.g. `google`, `microsoft`, or `email`.
readOnly: true
email_verified:
type: boolean
title: Email Verified
description: Whether the user has completed email verification.
default: false
readOnly: true
role:
type:
- string
- 'null'
title: Role
description: Role the user holds in the current account context. One of `OWNER`, `ADMIN`, `MEMBER`, or `VIEWER`.
account:
type:
- string
- 'null'
title: Account
description: UUID of the account the user is acting within.
readOnly: true
created_at:
type:
- string
- 'null'
format: date-time
title: Created At
description: When the user record was created.
readOnly: true
type: object
required:
- display_name
title: User
description: A person with access to one or more accounts in smplkit.
example:
account: d290f1ee-6c54-4b01-90e6-d701748f0851
auth_provider: GOOGLE
created_at: '2026-03-20T11:02:16.616Z'
display_name: Jane Smith
email: jane@example.com
email_verified: true
profile_pic: https://lh3.googleusercontent.com/a/example
role: OWNER
ErrorResponse:
properties:
errors:
items:
$ref: '#/components/schemas/Error'
type: array
title: Errors
type: object
required:
- errors
title: ErrorResponse
description: JSON:API error response envelope.
UserResponse:
properties:
data:
$ref: '#/components/schemas/UserResource'
type: object
required:
- data
title: UserResponse
description: JSON:API single-resource response envelope for a user.
UserListResponse:
properties:
data:
items:
$ref: '#/components/schemas/UserResource'
type: array
title: Data
meta:
$ref: '#/components/schemas/ListMeta'
type: object
required:
- data
- meta
title: UserListResponse
description: JSON:API collection response for users.
UserRequest:
properties:
data:
$ref: '#/components/schemas/UserResource'
type: object
required:
- data
title: UserRequest
description: JSON:API request envelope for creating or updating a user.
Error:
properties:
status:
type: string
title: Status
title:
type: string
title: Title
detail:
type:
- string
- 'null'
title: Detail
source:
additionalProperties: true
type:
- object
- 'null'
title: Source
type: object
required:
- status
- title
title: Error
description: Single JSON:API error object.
UserResource:
properties:
id:
type:
- string
- 'null'
title: Id
type:
type: string
enum:
- user
title: Type
attributes:
$ref: '#/components/schemas/User'
type: object
required:
- type
- attributes
title: UserResource
description: 'JSON:API resource envelope for a user.
`id` must not be specified for create requests (the server assigns it).'
example:
attributes:
account: d290f1ee-6c54-4b01-90e6-d701748f0851
auth_provider: GOOGLE
created_at: '2026-03-20T11:02:16.616Z'
display_name: Jane Smith
email: jane@example.com
email_verified: true
profile_pic: https://lh3.googleusercontent.com/a/example
role: OWNER
id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
type: user
PaginationMeta:
properties:
page:
type: integer
title: Page
description: 1-based page number returned.
size:
type: integer
title: Size
description: Number of items per page.
total:
type:
- integer
- 'null'
title: Total
description: Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
total_pages:
type:
- integer
- 'null'
title: Total Pages
description: Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
type: object
required:
- page
- size
title: PaginationMeta
description: 'Pagination block returned inside ``meta`` on every list response.
``page`` and ``size`` are always present and echo the parameters that
served the response (their defaults when the client omitted them).
``total`` and ``total_pages`` are present only when the request included
``meta[total]=true``.'
securitySchemes:
HTTPBearer:
type: http
description: JWT access token or API key (sk_api_*)
scheme: bearer