Elai.io Users API
Workspace membership, and the identity your token resolves to.
Workspace membership, and the identity your token resolves to.
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/elaiio:elaiio-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: Elai Public Users API
version: '1.0'
description: 'Every endpoint below is served under `https://apis.elai.io/api/v1`.
## Authentication
Send your workspace API token as a bearer token on every request:
```
Authorization: Bearer
```
Generate and rotate the token in the Elai web app under **Settings → API**, or through
`POST /generateToken`. The token is scoped to one **workspace** and authenticates as that
workspace''s admin user — it is not tied to an individual person, and it carries admin rights
inside that workspace.
A request with a missing, unknown or revoked token gets a bare `401` with no response body.
> **Organizations on the Unlimited plan cannot use the API.** Their requests are rejected with the
> same bare `401` as an invalid token, with nothing to distinguish the two. If a valid, freshly
> generated token returns `401` on every endpoint, check the plan first.
## Errors
Failures carry a JSON body of the shape `{ "message": "..." }`. Validation failures on the newer
endpoints may add an `errors` array naming the offending fields. `401` is the exception: it has no
body at all.
Both render endpoints are **fire-and-forget** — they queue work and return immediately, so a
`200` means "accepted", not "rendered". Render failures surface only through the `video_error`
webhook, never as an HTTP error on the call that started the render.
## Scope
This reference is generated from the running code rather than maintained by hand, so it cannot
quietly fall behind the API it describes. It documents 94 operations across the
`/api/v1` surface.
Endpoints are grouped by subject in the sidebar. If something you need is missing, or an endpoint
does not behave as described here, tell us.
---
_Generated from `HEAD` at `2a2222fdbe` on 2026-11-25._'
servers:
- url: https://apis.elai.io/api/v1
security:
- sec0: []
tags:
- name: Users
description: Workspace membership, and the identity your token resolves to.
paths:
/users:
get:
summary: List users
description: Get the list of users in your account
operationId: list-users
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value:
- _id: 64facc07e1c93b19d89bb1e5
name: Test user
email: test@gmail.com
accountRole: admin
status: register
createdAt: '2023-09-08T07:23:51.034Z'
- _id: 6502c94329295c8825c60f47
name: Test user 2
email: test2@gmail.com
accountRole: user
status: register
createdAt: '2023-09-14T08:50:11.212Z'
- _id: 651163ac95842dfef1b8c8bf
name: Test user 3
email: test3@user.com
accountRole: user
status: verified
createdAt: '2023-09-25T10:40:44.369Z'
lastLoginAt: '2023-09-25T12:50:40.205Z'
schema:
type: array
items:
type: object
properties:
_id:
type: string
example: 64facc07e1c93b19d89bb1e5
name:
type: string
example: Test user
email:
type: string
example: test@gmail.com
accountRole:
type: string
example: admin
status:
type: string
example: register
createdAt:
type: string
example: '2023-09-08T07:23:51.034Z'
lastLoginAt:
type: string
format: date-time
description: When the user last signed in. Absent for users who never have.
'400':
description: '400'
content:
application/json:
examples:
Result:
value: {}
schema:
type: object
properties: {}
deprecated: false
tags:
- Users
post:
summary: Invite user
description: Invite user to your account. User will receive an email with instructions to set the password.
operationId: create-user
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: User's name
email:
type: string
description: User's email
role:
type: string
description: Account role A reviewer can browse, watch and comment on videos, but cannot create or edit anything.
enum:
- admin
- user
- editor
- locked
- reviewer
examples:
Request example:
value:
name: Mike
email: mike@company.com
role: user
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value:
message: User {email} successfully added to current workspace.
schema:
type: object
properties:
message:
type: string
example: User jane@example.com successfully added to current workspace.
'403':
description: '403'
content:
application/json:
examples:
Result:
value:
message: User with email {email} is already registered.
schema:
type: object
properties:
message:
type: string
example: User with email {email} is already registered.
deprecated: false
tags:
- Users
/users/me:
get:
tags:
- Users
summary: Get the current user, workspace and plan
description: 'Returns the authenticated identity together with the workspace and organization it belongs to — plan, minute balance, seat limit, brand kits, pronunciation dictionary and the workspace''s current usage limits.
With an API token this describes the **workspace admin the token resolves to**, not a caller of your own. It is the quickest way to check remaining minutes (`organization.minutesAvailable` / `minutesUsed`) before kicking off renders.
Returns `401` — not `403` — when the resolved user no longer belongs to the workspace.'
responses:
'200':
description: The current user, workspace and organization.
content:
application/json:
schema:
$ref: '#/components/schemas/CurrentUser'
'401':
description: The user is no longer a member of the workspace, or the workspace does not belong to the organization.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: retrieve-current-user
/users/{id}:
patch:
summary: Update user
description: Change user data
operationId: update-user
parameters:
- name: id
in: path
description: User identifier
schema:
type: string
required: true
requestBody:
content:
application/json:
schema:
type: object
properties:
accountRole:
type: string
description: Account role. Please check role descriptions on your Workspace Settings page. A reviewer can browse, watch and comment on videos, but cannot create or edit anything.
enum:
- admin
- user
- editor
- locked
- reviewer
examples:
Request Example:
value:
accountRole: editor
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value: {}
schema:
type: object
properties: {}
'403':
description: '403'
content:
application/json:
examples:
Result:
value:
message: User is assigned to another account
schema:
type: object
properties:
message:
type: string
example: User is assigned to another account
'404':
description: '404'
content:
application/json:
examples:
Result:
value:
message: User was not found
schema:
type: object
properties:
message:
type: string
example: User was not found
deprecated: false
tags:
- Users
delete:
summary: Delete user
description: Delete user. All his assets will be assigned to account admin user.
operationId: delete-user
parameters:
- name: id
in: path
description: User identifier
schema:
type: string
required: true
responses:
'200':
description: '200'
content:
application/json:
examples:
Result:
value: {}
schema:
type: object
properties: {}
'403':
description: '403'
content:
application/json:
examples:
Result:
value:
message: User is assigned to another account
'404':
description: '404'
content:
application/json:
examples:
Result:
value:
message: User was not found
deprecated: false
tags:
- Users
x-readme:
explorer-enabled: false
components:
schemas:
Error:
type: object
properties:
message:
type: string
description: Human-readable explanation of the failure.
CurrentUser:
type: object
description: The authenticated user with its workspace and organization context.
properties:
userId:
type: string
name:
type: string
email:
type: string
format: email
status:
type: string
accountRole:
type: string
description: Role in the current workspace (`admin`, `user`, `locked`, `reviewer`).
orgRole:
type: string
description: Role in the organization (`admin` or `user`).
accounts:
type: array
description: Every workspace the user belongs to.
items:
type: object
properties:
_id:
type: string
name:
type: string
personal:
type: boolean
minutesAvailable:
type: number
minutesUsed:
type: number
organization:
type: object
properties:
id:
type: string
name:
type: string
status:
type: string
plan:
type: string
description: Plan name. Note that `unlimited` organizations are blocked from the API entirely.
planVariant:
type: string
billingCycle:
type: string
minutesUsed:
type: number
minutesAvailable:
type: number
extraMinutes:
type: number
maxSeats:
type: integer
allowOverlimit:
type: boolean
premiumAvatarsAllowed:
type: boolean
hasStripe:
type: boolean
planStartedAt:
type: string
format: date-time
planCancelAtPeriodEnd:
type: boolean
planCancelsAt:
type: string
format: date-time
additionalProperties: true
account:
type: object
properties:
id:
type: string
name:
type: string
personal:
type: boolean
hasApi:
type: boolean
description: Whether an API token exists for this workspace.
brandKits:
type: array
items:
type: object
properties:
_id:
type: string
name:
type: string
colors:
type: array
items:
type: string
defaultLogoPlacement:
type: string
dictionary:
type: array
description: Pronunciation overrides applied during TTS.
items:
type: object
properties:
key:
type: string
word:
type: string
pronunciation:
type: string
language:
type: string
voice:
type: string
llmUsageCounters:
type: object
additionalProperties: true
additionalProperties: true
securitySchemes:
sec0:
type: apiKey
in: header
name: Authorization
x-bearer-format: bearer
x-default: SECRET_KEY
x-provenance:
method: searched
source: https://elai.readme.io/reference
harvested: '2026-12-01'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://elai.readme.io/reference/apply-brand-kit.md
- https://elai.readme.io/reference/apply-template.md
- https://elai.readme.io/reference/avatars-list.md
- https://elai.readme.io/reference/build-outline-video.md
- https://elai.readme.io/reference/build-quiz-question.md
- https://elai.readme.io/reference/build-video-lesson.md
- https://elai.readme.io/reference/check-upload-usage.md
- https://elai.readme.io/reference/choose-lesson-template.md
- https://elai.readme.io/reference/copy-video-by-template.md
- https://elai.readme.io/reference/copy-video.md
- https://elai.readme.io/reference/create-from-pptx.md
- https://elai.readme.io/reference/create-from-text-url.md
- https://elai.readme.io/reference/create-outline.md
- https://elai.readme.io/reference/create-upload-folder.md
- https://elai.readme.io/reference/create-user.md
- https://elai.readme.io/reference/create-video.md
- https://elai.readme.io/reference/create-voice-customization.md
- https://elai.readme.io/reference/delete-upload-folder.md
- https://elai.readme.io/reference/delete-upload.md
- https://elai.readme.io/reference/delete-uploads.md
- https://elai.readme.io/reference/delete-user.md
- https://elai.readme.io/reference/delete-video.md
- https://elai.readme.io/reference/delete-voice-customization.md
- https://elai.readme.io/reference/download-scorm-package.md
- https://elai.readme.io/reference/generate-api-token.md
- https://elai.readme.io/reference/generate-outline-chapters.md
- https://elai.readme.io/reference/generate-outline-quiz.md
- https://elai.readme.io/reference/generate-outline-script.md
- https://elai.readme.io/reference/generate-quiz-from-video.md
- https://elai.readme.io/reference/generate-slides.md
- https://elai.readme.io/reference/get-slide-screenshots.md
- https://elai.readme.io/reference/get-speech-duration.md
- https://elai.readme.io/reference/inspect-presentation.md
- https://elai.readme.io/reference/list-avatar-frames.md
- https://elai.readme.io/reference/list-custom-voices.md
- https://elai.readme.io/reference/list-fonts.md
- https://elai.readme.io/reference/list-lesson-templates.md
- https://elai.readme.io/reference/list-music-tracks.md
- https://elai.readme.io/reference/list-templates.md
- https://elai.readme.io/reference/list-upload-folder-names.md
- https://elai.readme.io/reference/list-uploads.md
- https://elai.readme.io/reference/list-users.md
- https://elai.readme.io/reference/list-video-edit-history.md
- https://elai.readme.io/reference/list-video-exports.md
- https://elai.readme.io/reference/list-videos.md
- https://elai.readme.io/reference/list-voice-customizations.md
- https://elai.readme.io/reference/llm-generate-speech.md
- https://elai.readme.io/reference/llm-rewrite-speech.md
- https://elai.readme.io/reference/move-upload.md
- https://elai.readme.io/reference/move-uploads.md
- https://elai.readme.io/reference/paste-story-html.md
- https://elai.readme.io/reference/preview-lesson-template-layouts.md
- https://elai.readme.io/reference/preview-video-lesson-restyle.md
- https://elai.readme.io/reference/preview-voice-customization.md
- https://elai.readme.io/reference/rebuild-video-lesson.md
- https://elai.readme.io/reference/regenerate-outline-quiz.md
- https://elai.readme.io/reference/regenerate-outline-speech.md
- https://elai.readme.io/reference/regenerate-quiz-question.md
- https://elai.readme.io/reference/render-personalized.md
- https://elai.readme.io/reference/render-video.md
- https://elai.readme.io/reference/restyle-video-lesson.md
- https://elai.readme.io/reference/retrieve-api-config.md
- https://elai.readme.io/reference/retrieve-avatar.md
- https://elai.readme.io/reference/retrieve-current-user.md
- https://elai.readme.io/reference/retrieve-lesson-template.md
- https://elai.readme.io/reference/retrieve-outline.md
- https://elai.readme.io/reference/retrieve-player-payload.md
- https://elai.readme.io/reference/retrieve-signed-url.md
- https://elai.readme.io/reference/retrieve-template.md
- https://elai.readme.io/reference/retrieve-upload-folder-breadcrumbs.md
- https://elai.readme.io/reference/retrieve-upload-folder-info.md
- https://elai.readme.io/reference/retrieve-upload-folder.md
- https://elai.readme.io/reference/retrieve-video-lesson-design.md
- https://elai.readme.io/reference/retrieve-video-source-links.md
- https://elai.readme.io/reference/retrieve-video.md
- https://elai.readme.io/reference/revoke-api-token.md
- https://elai.readme.io/reference/rewrite-outline-speech.md
- https://elai.readme.io/reference/search-upload-folders.md
- https://elai.readme.io/reference/submit-custom-voice.md
- https://elai.readme.io/reference/synthesize-speech.md
- https://elai.readme.io/reference/translate.md
- https://elai.readme.io/reference/update-avatar.md
- https://elai.readme.io/reference/update-outline.md
- https://elai.readme.io/reference/update-upload-folder.md
- https://elai.readme.io/reference/update-user.md
- https://elai.readme.io/reference/update-video.md
- https://elai.readme.io/reference/update-voice-customization.md
- https://elai.readme.io/reference/upload-confirm.md
- https://elai.readme.io/reference/upload-custom-voice.md
- https://elai.readme.io/reference/upload-music-track.md
- https://elai.readme.io/reference/voices-list.md
- https://elai.readme.io/reference/webhook-set-secret-token.md
- https://elai.readme.io/reference/webhook-subscribe.md
- https://elai.readme.io/reference/webhook-unsubscribe.md
merge:
pages: 94
deduped: 253
conflicts_kept_first: 0