HopDrive API

HopDrive API as documented publicly. Contract generated from the documentation by API Evangelist (2026-12-04); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 20

GET /invoices A GET to the /invoices endpoint allows your application to fetch an array of the invoices your use is authorized to view. #
GET /locations Look up HopDrive locations your application is authorized to see. #
GET /locations/{id} Fetch a single location by its HopDrive id. #
POST /mock/{moveid} POST /mock/:moveId #
GET /v1/guestrides/{id} Webhook Events #
GET /v1/health GET /v1/health #
GET /v1/invoices GET /v1/invoices #
GET /v1/locations GET /v1/locations #
GET /v1/locations/{locationId} Fetch a single location by its HopDrive id. #
GET /v1/moves/{id} Webhook Events #
GET /v1/webhooks GET /v1/webhooks #
POST /v1/webhooks Create a webhook subscription (v1 endpoint) #
PATCH /v1/webhooks/{id} Update a webhook subscription with a partial webhook object #
DELETE /v1/webhooks/{id} DELETE /v1/webhooks/{id} #
GET /v1/webhooks/{id} GET /v1/webhooks/{id} #
GET /webhooks GET /webhooks #
POST /webhooks POST /webhooks #
DELETE /webhooks/{id} DELETE /webhooks/:id #
GET /webhooks/{id} GET /webhooks/:id #
PATCH /webhooks/{id} PATCH /webhooks/:id #

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/hopdrive:hopdrive-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

hopdrive-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: HopDrive API
  version: '2026-12-04'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-12-04: 20 operation(s) read from 11 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; HopDrive has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 6
    documentation: 14
    pages-with-code: 6
    pages-read: 11
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-12-04'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api.hopdrive.com/docs/webhooks
  - https://api.hopdrive.com/docs/webhooks-get
  - https://api.hopdrive.com/docs/webhooks-post
  - https://api.hopdrive.com/docs/webhook-events
  - https://api.hopdrive.com/docs/webhooks-patch
  - https://api.hopdrive.com/docs/webhooks-get-id
  - https://api.hopdrive.com/docs/webhook-signature
  - https://api.hopdrive.com/docs/webhooks-delete-id
  - https://api.hopdrive.com/docs
  - https://api.hopdrive.com/docs/invoices
  - https://api.hopdrive.com/docs/locations
servers:
- url: https://api.hopdrive.com
paths:
  /invoices:
    get:
      operationId: get_invoices
      tags:
      - Invoices
      summary: A GET to the /invoices endpoint allows your application to fetch an array of the invoices your use is authorized to view.
      description: Fetch an array of invoices with optional filtering.
      x-source: https://api.hopdrive.com/docs/invoices
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
        description: The number of results per page.
      - name: page
        in: query
        required: false
        schema:
          type: string
        description: Which page to start with.
      - name: rooftop
        in: query
        required: false
        schema:
          type: string
        description: A valid rooftop id that your token has access to.
      - name: from
        in: query
        required: false
        schema:
          type: string
        description: An IS8601 timestamp to search from. This will search based on the invoices start_datetime.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInvoicesResponse'
      x-evidence:
        kind: documentation
  /locations:
    get:
      operationId: get_locations
      tags:
      - Locations
      summary: Look up HopDrive locations your application is authorized to see.
      x-source: https://api.hopdrive.com/docs/locations
      parameters:
      - name: customer_id
        in: query
        required: false
        schema:
          type: number
        description: Restrict to a single rooftop. Must be a rooftop your bearer token authorizes, else ACCESS_DENIED.
      - name: region_id
        in: query
        required: false
        schema:
          type: number
        description: Restrict to locations in a given HopDrive region.
      - name: type
        in: query
        required: false
        schema:
          type: string
        description: Restrict to a location type (e.g. customer , consumer residential , consumer business ).
      - name: active
        in: query
        required: false
        schema:
          type: boolean
        description: true / 1 returns only active locations; false / 0 returns only inactive ones. Omit to return both.
      - name: search
        in: query
        required: false
        schema:
          type: string
        description: Partial, case-insensitive match against the location name or full address.
      - name: limit
        in: query
        required: false
        schema:
          type: number
        description: Max rows to return. Default 100 , capped at 500.
      - name: offset
        in: query
        required: false
        schema:
          type: number
        description: Number of rows to skip, for pagination. Default 0.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLocationsResponse'
      x-evidence:
        kind: documentation
  /locations/{id}:
    get:
      operationId: get_locations_id
      tags:
      - Locations
      summary: Fetch a single location by its HopDrive id.
      x-source: https://api.hopdrive.com/docs/locations
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLocationsIdResponse'
      x-evidence:
        kind: documentation
  /mock/{moveid}:
    post:
      operationId: post_mock_moveid
      tags:
      - Mock
      summary: POST /mock/:moveId
      x-source: https://api.hopdrive.com/docs/webhooks
      parameters:
      - name: moveid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/guestrides/{id}:
    get:
      operationId: get_v1_guestrides_id
      tags:
      - Guestrides
      summary: Webhook Events
      x-source: https://api.hopdrive.com/docs/webhook-events
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/health:
    get:
      operationId: get_v1_health
      tags:
      - Health
      summary: GET /v1/health
      x-source: https://api.hopdrive.com/docs
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1HealthResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET --url http://api.hopdrive.com/v1/health The above call should return the following: 200 /health { "message"
          : "Ok" } That''s it! ​ Now that you''re all setup to use the HopDrive API, let''s make some moves ! Use the rest of this documentation
          to learn about all that you can do with your newfound capabilities. If you have any questions along the way, don''t hesitate to reach
          out . Pr'
  /v1/invoices:
    get:
      operationId: get_v1_invoices
      tags:
      - Invoices
      summary: GET /v1/invoices
      x-source: https://api.hopdrive.com/docs/invoices
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET \ --url https://api.hopdrive.com/v1/invoices \ --header ''Content-Type: application/json'' \ --header ''Authorization:
          Bearer <your token>'' Filters ​ You can filter the events based using the following optional query parameters. limit - The number of
          results per page. page - Which page to start with. rooftop - A valid rooftop id that your token has access to. from - An IS8601 times'
  /v1/locations:
    get:
      operationId: get_v1_locations
      tags:
      - Locations
      summary: GET /v1/locations
      x-source: https://api.hopdrive.com/docs/locations
      parameters:
      - name: customer_id
        in: query
        required: false
        schema:
          type: string
      - name: search
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1LocationsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET \ --url ''https://api.hopdrive.com/v1/locations?customer_id=1234&search=Mulberry'' \ --header ''Authorization:
          Bearer <your token>'' Query Params ​ All query params are optional. Filters combine with AND. Field Type Description customer_id Number
          Restrict to a single rooftop. Must be a rooftop your bearer token authorizes, else ACCESS_DENIED . region_id Number Restrict to locations '
  /v1/locations/{locationId}:
    get:
      operationId: get_v1_locations_locationId
      tags:
      - Locations
      summary: Fetch a single location by its HopDrive id.
      x-source: https://api.hopdrive.com/docs/locations
      parameters:
      - name: locationId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1LocationsLocationidResponse'
      x-evidence:
        kind: documentation
  /v1/moves/{id}:
    get:
      operationId: get_v1_moves_id
      tags:
      - Moves
      summary: Webhook Events
      x-source: https://api.hopdrive.com/docs/webhook-events
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/webhooks:
    get:
      operationId: get_v1_webhooks
      tags:
      - Webhooks
      summary: GET /v1/webhooks
      x-source: https://api.hopdrive.com/docs/webhooks-get
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET \ --url https://api.hopdrive.com/v1/webhooks \ --header ''Content-Type: application/json'' \ --header ''Authorization:
          Bearer <your token>'' Request ​ GET /v1/webhooks Response ​ 200 /v1/webhooks { "webhooks" : [ { "id" : 13 , "description" : "Just cancel
          events" , "event_types" : [ "move.cancel.failed" "move.cancel.partial" "move.cancel.pending" "move.cancel.succeeded" ] , "status"'
    post:
      operationId: post_v1_webhooks
      tags:
      - Webhooks
      summary: Create a webhook subscription (v1 endpoint)
      x-source: https://api.hopdrive.com/docs/webhooks-post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1WebhooksRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1WebhooksResponse'
      x-evidence:
        kind: documentation
  /v1/webhooks/{id}:
    patch:
      operationId: patch_v1_webhooks_id
      tags:
      - Webhooks
      summary: Update a webhook subscription with a partial webhook object
      x-source: https://api.hopdrive.com/docs/webhooks-patch
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1WebhooksIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchV1WebhooksIdResponse'
      x-evidence:
        kind: documentation
    delete:
      operationId: delete_v1_webhooks_id
      tags:
      - Webhooks
      summary: DELETE /v1/webhooks/{id}
      x-source: https://api.hopdrive.com/docs/webhooks-delete-id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request DELETE \ --url https://api.hopdrive.com/v1/webhooks/:id \ --header ''Content-Type: application/json'' \ --header
          ''Authorization: Bearer <your token>'' Request ​ DELETE /v1/webhooks/13 Response ​ 200 /v1/webhooks/13 { { "id" : 13 , "description"
          : "Just cancel events" , "event_types" : [ "move.cancel.failed" "move.cancel.partial" "move.cancel.pending" "move.cancel.succeeded"
          ] , "status'
    get:
      operationId: get_v1_webhooks_id
      tags:
      - Webhooks
      summary: GET /v1/webhooks/{id}
      x-source: https://api.hopdrive.com/docs/webhooks-get-id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --request GET \ --url https://api.hopdrive.com/v1/webhooks/:id \ --header ''Content-Type: application/json'' \ --header
          ''Authorization: Bearer <your token>'' Request ​ GET /v1/webhooks/13 Response ​ 200 /v1/webhooks/13 { { "id" : 13 , "description" :
          "Just cancel events" , "event_types" : [ "move.cancel.failed" "move.cancel.partial" "move.cancel.pending" "move.cancel.succeeded" ]
          , "status" : "d'
  /webhooks:
    get:
      operationId: get_webhooks
      tags:
      - Webhooks
      summary: GET /webhooks
      x-source: https://api.hopdrive.com/docs/webhooks
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_webhooks
      tags:
      - Webhooks
      summary: POST /webhooks
      x-source: https://api.hopdrive.com/docs/webhooks
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /webhooks/{id}:
    delete:
      operationId: delete_webhooks_id
      tags:
      - Webhooks
      summary: DELETE /webhooks/:id
      x-source: https://api.hopdrive.com/docs/webhooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_webhooks_id
      tags:
      - Webhooks
      summary: GET /webhooks/:id
      x-source: https://api.hopdrive.com/docs/webhooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_webhooks_id
      tags:
      - Webhooks
      summary: PATCH /webhooks/:id
      x-source: https://api.hopdrive.com/docs/webhooks
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    GetInvoicesResponse:
      type: object
      properties:
        invoices:
          type: array
          description: Array of invoice objects.
    GetLocationsResponse:
      type: object
      properties:
        locations:
          type: array
          description: Array of location objects.
    GetLocationsIdResponse:
      type: object
      properties:
        id:
          type: number
          description: HopDrive location ID.
        customer_id:
          type: number
          description: The rooftop that owns this location.
        name:
          type: string
          description: Display name (often the street address or a business name).
        nickname:
          type: string
          description: Optional dealer-assigned nickname. May be null.
        address:
          type: string
          description: Full formatted address.
        address_one:
          type: string
          description: Street address line.
        address_two:
          type: string
          description: Suite / unit / PO box line. May be null.
        city:
          type: string
          description: City.
        state:
          type: string
          description: State.
        zip:
          type: string
          description: Postal code.
        latitude:
          type: number
          description: Geocoded latitude.
        longitude:
          type: number
          description: Geocoded longitude.
        place_id:
          type: string
          description: Google Place ID, when known.
        region_id:
          type: number
          description: HopDrive region this location falls in. May be null if not yet assigned.
        type:
          type: string
          description: Location type.
        timezone:
          type: string
          description: IANA timezone of the location.
        active:
          type: number
          description: 1 if active, 0 if inactive.
        email:
          type: string
          description: Optional contact email. May be null.
        phone:
          type: string
          description: Optional contact phone. May be null.
        createdat:
          type: string
          description: ISO 8601 UTC creation timestamp.
        updatedat:
          type: string
          description: ISO 8601 UTC last-update timestamp.
    GetV1HealthResponse:
      type: object
      properties:
        message:
          type: string
    GetV1LocationsResponse:
      type: object
      properties:
        locations:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
              customer_id:
                type: integer
              name:
                type: string
              nickname:
                type:
                - string
                - 'null'
              address:
                type: string
              address_one:
                type: string
              address_two:
                type:
                - string
                - 'null'
              city:
                type: string
              state:
                type: string
              zip:
                type: string
              latitude:
                type: number
              longitude:
                type: number
              place_id:
                type: string
              region_id:
                type: integer
              type:
                type: string
              timezone:
                type: string
              active:
                type: integer
              email:
                type:
                - string
                - 'null'
              phone:
                type:
                - string
                - 'null'
              createdat:
                type: string
                format: date-time
              updatedat:
                type: string
                format: date-time
    GetV1LocationsLocationidResponse:
      type: object
      properties:
        id:
          type: number
          description: HopDrive location ID.
        customer_id:
          type: number
          description: The rooftop that owns this location.
        name:
          type: string
          description: Display name (often the street address or a business name).
        nickname:
          type: string
          description: Optional dealer-assigned nickname. May be null.
        address:
          type: string
          description: Full formatted address.
        address_one:
          type: string
          description: Street address line.
        address_two:
          type: string
          description: Suite / unit / PO box line. May be null.
        city:
          type: string
          description: City.
        state:
          type: string
          description: State.
        zip:
          type: string
          description: Postal code.
        latitude:
          type: number
          description: Geocoded latitude.
        longitude:
          type: number
          description: Geocoded longitude.
        place_id:
          type: string
          description: Google Place ID, when known.
        region_id:
          type: number
          description: HopDrive region this location falls in. May be null if not yet assigned.
        type:
          type: string
          description: Location type.
        timezone:
          type: string
          description: IANA timezone of the location.
        active:
          type: number
          description: 1 if active, 0 if inactive.
        email:
          type: string
          description: Optional contact email. May be null.
        phone:
          type: string
          description: Optional contact phone. May be null.
        createdat:
          type: string
          description: ISO 8601 UTC creation timestamp.
        updatedat:
          type: string
          description: ISO 8601 UTC last-update timestamp.
    PostV1WebhooksRequest:
      type: object
      properties:
        rooftop:
          type: number
          description: For users configured as dealer admins with the ability to create webhooks for multiple rooftops.
        description:
          type: string
          description: Description of what the webhook is intended for.
        target_url:
          type: string
          description: A publicly accessible HTTPS endpoint.
        version:
          type: string
          description: Version string indicating the payload structure.
        secret:
          type: string
          description: Shared secret used to sign the payload.
        event_types:
          type: string
          description: Array of webhook event names.
      required:
      - target_url
      - secret
      - event_types
    PostV1WebhooksResponse:
      type: object
      properties:
        id:
          type: number
        status:
          type: string
        version:
          type: string
        description:
          type: string
        rooftop:
          type: number
        target_url:
          type: string
        secret:
          type: string
        event_types:
          type: string
        createdat:
          type: string
        updatedat:
          type: string
    PatchV1WebhooksIdRequest:
      type: object
      properties:
        secret:
          type: string
          description: A shared secret used to sign the payload with an HMAC signature.
      required:
      - secret
    PatchV1WebhooksIdResponse:
      type: object
      properties:
        id:
          type: integer
        version:
          type: string
        updatedat:
          type: string
        target_url:
          type: string
        status:
          type: string
        secret:
          type: string
        event_types:
          type: array
        description:
          type: string
        rooftop:
          type: integer
        createdat:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Guestrides
- name: Health
- name: Invoices
- name: Locations
- name: Mock
- name: Moves
- name: Webhooks