Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/hex:hex-users-api"
All apis
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.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Hex Users API
version: 1.0.0
description: API specification for the Hex External API
license:
name: UNLICENSED
contact: {}
servers:
- url: https://app.hex.tech/api
security:
- bearerAuth: []
tags:
- name: Users
paths:
/v1/users/me:
get:
operationId: Me
summary: Me
description: 'Returns information about the current logged in user.
User metadata will be omitted when authenticating with a workspace token.
This endpoint is subject to the following rate limits:
- `hex-api-30rpm`: Rate limit group for the Hex API at 30 requests per minute
- Max 30 requests per minute'
responses:
'200':
description: Successful response
content:
application/json:
schema:
anyOf:
- type: object
properties:
id:
type: string
name:
type:
- string
- 'null'
email:
type: string
role:
type: string
enum:
- ADMIN
- MANAGER
- EDITOR
- EXPLORER
- MEMBER
- GUEST
- EMBEDDED_USER
- ANONYMOUS
lastLoginDate:
type:
- string
- 'null'
org:
type: object
properties:
id:
type: string
required:
- id
token:
type:
- object
- 'null'
properties:
exp:
type:
- number
- 'null'
required:
- exp
required:
- id
- name
- email
- role
- lastLoginDate
- org
- type: object
properties:
org:
type: object
properties:
id:
type: string
required:
- id
token:
type:
- object
- 'null'
properties:
exp:
type:
- number
- 'null'
required:
- exp
required:
- org
'400':
description: Invalid input data
content:
application/json:
schema:
$ref: '#/components/schemas/error.BAD_REQUEST'
'401':
description: Authorization not provided
content:
application/json:
schema:
$ref: '#/components/schemas/error.UNAUTHORIZED'
'403':
description: Insufficient access
content:
application/json:
schema:
$ref: '#/components/schemas/error.FORBIDDEN'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/error.NOT_FOUND'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
tags:
- Users
/v1/users:
get:
operationId: ListUsers
summary: ListUsers
description: 'List all users in the workspace
This endpoint is subject to the following rate limits:
- `hex-api-30rpm`: Rate limit group for the Hex API at 30 requests per minute
- Max 30 requests per minute'
parameters:
- in: query
name: after
schema:
type:
- string
- 'null'
default: null
- in: query
name: before
schema:
type:
- string
- 'null'
default: null
- in: query
name: limit
schema:
type: number
minimum: 1
maximum: 500
default: 25
- in: query
name: sortBy
schema:
type: string
enum:
- NAME
- EMAIL
default: NAME
- in: query
name: sortDirection
schema:
type: string
enum:
- ASC
- DESC
default: ASC
- in: query
name: groupId
schema:
type:
- string
- 'null'
- in: query
name: userIds
description: Comma-separated list of user IDs
schema:
type:
- string
- 'null'
description: Comma-separated list of user IDs
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
values:
type: array
items:
type: object
properties:
id:
type: string
name:
type:
- string
- 'null'
email:
type: string
role:
type: string
enum:
- ADMIN
- MANAGER
- EDITOR
- EXPLORER
- MEMBER
- GUEST
- EMBEDDED_USER
- ANONYMOUS
lastLoginDate:
type:
- string
- 'null'
required:
- id
- name
- email
- role
- lastLoginDate
pagination:
$ref: '#/components/schemas/Pagination'
required:
- values
- pagination
'400':
description: Invalid input data
content:
application/json:
schema:
$ref: '#/components/schemas/error.BAD_REQUEST'
'401':
description: Authorization not provided
content:
application/json:
schema:
$ref: '#/components/schemas/error.UNAUTHORIZED'
'403':
description: Insufficient access
content:
application/json:
schema:
$ref: '#/components/schemas/error.FORBIDDEN'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/error.NOT_FOUND'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
tags:
- Users
/v1/users/{userId}/deactivate:
post:
operationId: DeactivateUser
summary: DeactivateUser
description: 'Deactivate a user
This endpoint is subject to the following rate limits:
- `hex-api-30rpm`: Rate limit group for the Hex API at 30 requests per minute
- Max 30 requests per minute'
parameters:
- in: path
name: userId
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
user:
type: object
properties:
id:
type: string
name:
type:
- string
- 'null'
email:
type: string
role:
type: string
enum:
- ADMIN
- MANAGER
- EDITOR
- EXPLORER
- MEMBER
- GUEST
- EMBEDDED_USER
- ANONYMOUS
lastLoginDate:
type:
- string
- 'null'
required:
- id
- name
- email
- role
- lastLoginDate
required:
- user
'400':
description: Invalid input data
content:
application/json:
schema:
$ref: '#/components/schemas/error.BAD_REQUEST'
'401':
description: Authorization not provided
content:
application/json:
schema:
$ref: '#/components/schemas/error.UNAUTHORIZED'
'403':
description: Insufficient access
content:
application/json:
schema:
$ref: '#/components/schemas/error.FORBIDDEN'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
tags:
- Users
components:
schemas:
Pagination:
type: object
properties:
before:
type:
- string
- 'null'
default: null
after:
type:
- string
- 'null'
default: null
required:
- before
- after
error.UNAUTHORIZED:
type: object
properties:
message:
type: string
description: The error message
example: Authorization not provided
code:
type: string
description: The error code
example: UNAUTHORIZED
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
description: An array of issues that were responsible for the error
example: []
required:
- message
- code
title: Authorization not provided error (401)
description: The error information
example:
code: UNAUTHORIZED
message: Authorization not provided
issues: []
error.INTERNAL_SERVER_ERROR:
type: object
properties:
message:
type: string
description: The error message
example: Internal server error
code:
type: string
description: The error code
example: INTERNAL_SERVER_ERROR
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
description: An array of issues that were responsible for the error
example: []
required:
- message
- code
title: Internal server error error (500)
description: The error information
example:
code: INTERNAL_SERVER_ERROR
message: Internal server error
issues: []
error.FORBIDDEN:
type: object
properties:
message:
type: string
description: The error message
example: Insufficient access
code:
type: string
description: The error code
example: FORBIDDEN
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
description: An array of issues that were responsible for the error
example: []
required:
- message
- code
title: Insufficient access error (403)
description: The error information
example:
code: FORBIDDEN
message: Insufficient access
issues: []
error.BAD_REQUEST:
type: object
properties:
message:
type: string
description: The error message
example: Invalid input data
code:
type: string
description: The error code
example: BAD_REQUEST
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
description: An array of issues that were responsible for the error
example: []
required:
- message
- code
title: Invalid input data error (400)
description: The error information
example:
code: BAD_REQUEST
message: Invalid input data
issues: []
error.NOT_FOUND:
type: object
properties:
message:
type: string
description: The error message
example: Not found
code:
type: string
description: The error code
example: NOT_FOUND
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
description: An array of issues that were responsible for the error
example: []
required:
- message
- code
title: Not found error (404)
description: The error information
example:
code: NOT_FOUND
message: Not found
issues: []
securitySchemes:
bearerAuth:
type: http
scheme: bearer
x-provenance:
method: harvested
publisher: Hex
source: https://static.hex.site/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)