Rebase Energy User API

The User API from Rebase Energy — 4 operation(s) for user.

GitHub OpenAPI

Operations 8

GET /platform/v2/organizations/{external_id} Update Organization #
PUT /platform/v2/organizations/{external_id} Update Organization #
GET /platform/v2/user Get User #
PUT /platform/v2/user Update User #
GET /platform/v2/user/keys Get User Api Keys #
POST /platform/v2/user/keys Create User Api Key #
DELETE /platform/v2/user/keys Delete User Api Key #
GET /platform/v2/user/timezones Get Timezones #

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/rebase-energy:rebase-energy-user-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

rebase-energy-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast User API
  version: 0.1.0
tags:
- name: User
paths:
  /platform/v2/organizations/{external_id}:
    get:
      tags:
      - User
      summary: Update Organization
      operationId: update_organization_platform_v2_organizations__external_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: external_id
        in: path
        required: true
        schema:
          type: string
          title: External Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationSchema-Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
    put:
      tags:
      - User
      summary: Update Organization
      operationId: update_organization_platform_v2_organizations__external_id__put
      security:
      - APIKeyHeader: []
      parameters:
      - name: external_id
        in: path
        required: true
        schema:
          type: string
          title: External Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationUpdateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
  /platform/v2/user:
    get:
      tags:
      - User
      summary: Get User
      operationId: get_user_platform_v2_user_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSchema'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
    put:
      tags:
      - User
      summary: Update User
      operationId: update_user_platform_v2_user_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdateSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
  /platform/v2/user/keys:
    get:
      tags:
      - User
      summary: Get User Api Keys
      operationId: get_user_api_keys_platform_v2_user_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/APIKeySchema'
                type: array
                title: Response Get User Api Keys Platform V2 User Keys Get
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
    post:
      tags:
      - User
      summary: Create User Api Key
      operationId: create_user_api_key_platform_v2_user_keys_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIKeySchema'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
    delete:
      tags:
      - User
      summary: Delete User Api Key
      operationId: delete_user_api_key_platform_v2_user_keys_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/APIKeyDeleteSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
  /platform/v2/user/timezones:
    get:
      tags:
      - User
      summary: Get Timezones
      operationId: get_timezones_platform_v2_user_timezones_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
      security:
      - APIKeyHeader: []
components:
  schemas:
    UISettingsSchema:
      properties:
        units:
          $ref: '#/components/schemas/UnitsSchema'
      type: object
      required:
      - units
      title: UISettingsSchema
    ValidationResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorItem'
          type: array
          title: Errors
      type: object
      required:
      - errors
      title: ValidationResponse
    APIKeyDeleteSchema:
      properties:
        api_key:
          type: string
          title: Api Key
      type: object
      required:
      - api_key
      title: APIKeyDeleteSchema
    OrganizationUpdateSchema:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        settings:
          anyOf:
          - $ref: '#/components/schemas/OrganizationSettingsSchema-Input'
          - type: 'null'
      type: object
      required:
      - settings
      title: OrganizationUpdateSchema
    UserUpdateSchema:
      properties:
        first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Name
        timezone:
          type: string
          title: Timezone
          default: UTC
          example: UTC
        orgs:
          items:
            $ref: '#/components/schemas/OrganizationSchema-Input'
          type: array
          title: Orgs
      type: object
      required:
      - first_name
      - last_name
      - orgs
      title: UserUpdateSchema
    OrganizationSchema-Input:
      properties:
        external_id:
          type: string
          title: External Id
        name:
          type: string
          title: Name
        settings:
          $ref: '#/components/schemas/OrganizationSettingsSchema-Input'
      type: object
      required:
      - external_id
      - name
      - settings
      title: OrganizationSchema
    OrganizationSettingsSchema-Output:
      properties:
        version:
          type: string
          title: Version
        ui:
          $ref: '#/components/schemas/UISettingsSchema'
        site_settings_defaults:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Site Settings Defaults
      type: object
      required:
      - version
      - ui
      title: OrganizationSettingsSchema
    ErrorItem:
      properties:
        field:
          type: string
          title: Field
        message:
          type: string
          title: Message
      type: object
      required:
      - field
      - message
      title: ErrorItem
    OrganizationSettingsSchema-Input:
      properties:
        version:
          type: string
          title: Version
        ui:
          $ref: '#/components/schemas/UISettingsSchema'
        site_settings_defaults:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Site Settings Defaults
      type: object
      required:
      - version
      - ui
      title: OrganizationSettingsSchema
    OrganizationSchema-Output:
      properties:
        external_id:
          type: string
          title: External Id
        name:
          type: string
          title: Name
        settings:
          $ref: '#/components/schemas/OrganizationSettingsSchema-Output'
      type: object
      required:
      - external_id
      - name
      - settings
      title: OrganizationSchema
    UserSchema:
      properties:
        id:
          type: integer
          title: Id
        first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Name
        email:
          type: string
          title: Email
        timezone:
          type: string
          title: Timezone
        email_confirmed:
          type: boolean
          title: Email Confirmed
        orgs:
          items:
            $ref: '#/components/schemas/OrganizationSchema-Output'
          type: array
          title: Orgs
      type: object
      required:
      - id
      - first_name
      - last_name
      - email
      - timezone
      - email_confirmed
      - orgs
      title: UserSchema
    UnitsSchema:
      properties:
        power:
          type: string
          enum:
          - kW
          - MW
          title: Power
      type: object
      required:
      - power
      title: UnitsSchema
    APIKeySchema:
      properties:
        api_key:
          type: string
          title: Api Key
        created_timestamp:
          type: string
          format: date-time
          title: Created Timestamp
      type: object
      required:
      - api_key
      - created_timestamp
      title: APIKeySchema
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
      in: header
      name: Authorization
x-provenance:
  method: harvested
  publisher: Rebase Energy
  source: https://docs.rebase.energy/api-reference/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)