Timbrix Users API

User information endpoints

GitHub OpenAPI

Operations 5

GET /users/me Get current authenticated user #
DELETE /users/me Delete my account #
GET /users/{id} Get user by ID #
GET /users/{id}/organizations Get user organizations #
GET /users/email/{email} Get user by email #

Specifications

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/timbrix-mx:timbrix-mx-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. 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 Specification

timbrix-mx-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Timbrix Users API
  description: 'API de facturación electrónica CFDI 4.0 para México, con servidor OAuth2 para gestionar organizaciones, miembros y webhooks. Compatible con agentes de IA — ver la extensión `x-ai-agent-friendly` en la raíz de esta spec.


    REST API with OAuth2 server for managing organizations, members, and webhooks.'
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Users
  description: User information endpoints
paths:
  /users/me:
    get:
      description: Returns the profile information of the currently authenticated user. Requires Supabase authentication token.
      operationId: UsersController_getCurrentUser
      parameters: []
      responses:
        '200':
          description: User retrieved successfully. Returns user profile with email and metadata.
        '401':
          description: Authentication required. Provide a valid bearer token.
      security:
      - apiKey: []
      - bearer: []
      summary: Get current authenticated user
      tags:
      - Users
    delete:
      description: Permanently deletes the authenticated user's identity (ARCO cancellation). Only a user session token is accepted, never an API key. Fails with 409 SOLE_OWNER_OF_ACTIVE_ORGANIZATION if the user still owns active organizations.
      operationId: UsersController_deleteMyAccount
      parameters: []
      responses:
        '204':
          description: Account deleted.
        '401':
          description: A valid user session token is required.
        '409':
          description: 'SOLE_OWNER_OF_ACTIVE_ORGANIZATION: transfer or close the listed organizations first.'
      security:
      - bearer: []
      summary: Delete my account
      tags:
      - Users
  /users/{id}:
    get:
      description: '⚠️ SECURITY: Retrieves user profile by ID. Requires authentication with scope "read:user". Supports both OAuth tokens and API keys.'
      operationId: UsersController_getById
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: User retrieved successfully. Returns user profile information.
        '401':
          description: Authentication required. Provide a valid OAuth token.
        '403':
          description: Insufficient scope, or the authenticated user tried to access another user's profile.
        '404':
          description: User not found with the provided ID.
      security:
      - apiKey: []
      - bearer: []
      summary: Get user by ID
      tags:
      - Users
  /users/{id}/organizations:
    get:
      description: '⚠️ SECURITY: Lists all organizations a user belongs to. Requires authentication with scope "read:organization". Supports both OAuth tokens and API keys. Returns organizations with membership details.'
      operationId: UsersController_getOrganizations
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Organizations retrieved successfully. Returns array of organizations with user roles and membership info.
        '401':
          description: Authentication required. Provide a valid OAuth token.
        '403':
          description: Insufficient scope, or the authenticated user tried to access another user's organizations.
      security:
      - apiKey: []
      - bearer: []
      summary: Get user organizations
      tags:
      - Users
  /users/email/{email}:
    get:
      description: '⚠️ SECURITY: Retrieves user profile by email address. Requires authentication with scope "read:user". Supports both OAuth tokens and API keys. Useful for user lookups and invitations.'
      operationId: UsersController_getByEmail
      parameters:
      - name: email
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: User retrieved successfully. Returns user profile information.
        '401':
          description: Authentication required. Provide a valid OAuth token.
        '403':
          description: 'Insufficient scope. Required scope: read:user'
        '404':
          description: User not found with the provided email address.
      security:
      - apiKey: []
      - bearer: []
      summary: Get user by email
      tags:
      - Users
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication (sk_test_... for sandbox, sk_live_... for production)
x-ai-agent-friendly: true