Skip to content
ampeco-public-api logo

AMPECO Public API Integration Guide

ampeco-public-api

Explore AMPECO Public API endpoints, schemas, and develop integrations with the EV charging platform. Use for API exploration, building integrations, or understanding available endpoints. Trigger keywords: "ampeco api", "public api", "ev charging api", "ampeco integration"

SKILL.md

Full skill instructions

AMPECO Public API Integration Guide

Explore and integrate with the AMPECO EV Charging Platform Public API.


IMPORTANT: Update Reference Docs First

Before using the reference documentation, ensure you have the latest API spec:

bash scripts/​fetch-and-generate.sh

This fetches the latest OpenAPI spec from https://developers.ampeco.com/openapi/ and regenerates all reference files.

Prerequisites: curl and jq must be installed:

  • macOS: brew install jq
  • Ubuntu/​Debian: apt-get install jq

Getting Started

1. Get API Access

Contact your AMPECO Customer Success Manager or generate a token in: Back Office → API Access Tokens

2. Base URL

https://{tenantUrl}/​public-api/

Replace {tenantUrl} with your organization's tenant URL.

3. Authentication

curl -H "Authorization: Bearer {your-api-token}" \
     https://{tenantUrl}/​public-api/​resources/​charge-points/​v2.0/

Quick Reference

Response Format: JSON with data wrapper

{
  "data": [...],
  "links": { "first": "...", "last": "...", "prev": null, "next": "..." },
  "meta": { "current_page": 1, "per_page": 100, "total": 250 }
}

Path Patterns:

  • Resources: /​public-api/​resources/​{resource-name}/​v{X.Y}/
  • Actions: /​public-api/​actions/​{target}/​v{X.Y}/​{id}/​{action}
  • Notifications: /​public-api/​notifications/​v{X.Y}/

<!-- BEGIN:QUICK_INDEX -->

Endpoint Quick Index

ResourceVersionOperations
Authorizationsv1.0, 2.0Read
Booking Requestsv1.0Create, Read
Bookingsv1.0Read
Cdrsv2.0Read
Charge Point Downtime Periodsv1.0Create, Delete, Read, Update
Charge Point Modelsv1.0Create, Delete, Read, Update
Charge Point Vendorsv1.0Create, Delete, Read, Update
Charge Pointsv1.0, 2.0Create, Delete, Read, Update
Circuitsv1.0, 2.0Create, Delete, Read, Update
Configuration Templatesv1.0Create, Delete, Read, Update
Consentsv1.0Create, Read
Contact Detailsv2.0Delete, Read, Update
Cp Modelsv1.0Create, Delete, Read, Update
Cp Vendorsv1.0Create, Delete, Read, Update
Currenciesv2.0Create, Delete, Read, Update
Currency Ratesv1.0Create, Delete, Read, Update
Custom Feesv2.0Read
Downtime Period Noticesv1.0Create, Delete, Read, Update
Electricity Metersv1.0Create, Delete, Read, Update
Electricity Ratesv1.0, 2.0Create, Delete, Read, Update
Evse Downtime Periodsv1.0Create, Delete, Read, Update
Evsesv2.0, 2.1Create, Delete, Read, Update
Faqsv2.0Create, Delete, Read, Update
Firmware Versionsv1.0Read
Flexibility Activation Requestsv1.0Read
Flexibility Assetsv1.0Create, Delete, Read, Update
Id Tagsv2.0Create, Delete, Read, Update
Installer Jobsv1.0Create, Delete, Read, Update
Invoicesv1.0Read
Locationsv1.0, 2.0Create, Delete, Read, Update
Parking Spacesv1.0Create, Delete, Read, Update
Partner Contractsv1.0Create, Delete, Read, Update
Partner Expensesv1.0, 1.1Read
Partner Invitesv1.0Create, Delete, Read, Update
Partner Revenuesv1.0, 1.1Read
Partner Settlement Reportsv1.0Create, Delete, Read, Update
Partnersv1.0, 2.0Create, Delete, Read, Update
Payment Terminalsv1.0Create, Delete, Read, Update
Provisioning Certificatesv2.0Create, Delete, Read, Update
Receiptsv2.0Read
Reservationsv1.0Read
Rfid Tagsv1.0Create, Delete, Read, Update
Roaming Connectionsv2.0Read
Roaming Operatorsv2.0Create, Delete, Read, Update
Roaming Platformsv1.0Read
Roaming Providersv2.0Create, Delete, Read, Update
Roaming Tariffsv2.0Read, Update
Security Eventsv2.0Read
Security Events Logv2.0Read
Sessionsv1.0Read
Settingsv1.0Read
Sub Operatorsv1.0Read
Subscription Plansv1.0, 2.0Create, Delete, Read, Update
Subscriptionsv1.0Read
Tariff Groupsv1.0Create, Delete, Read, Update
Tariff Snapshotsv1.0Read
Tariffsv1.0Create, Delete, Read, Update
Tax Identification Numbersv2.0Create, Delete, Read, Update
Taxesv2.0Create, Delete, Read, Update
Templatesv1.0Read
Terms And Policiesv2.0Read
Top Up Packagesv2.0Create, Delete, Read, Update
Transactionsv1.0Create, Read, Update
User Groupsv1.0Create, Delete, Read, Update
Usersv1.0Create, Delete, Read, Update
Utilitiesv1.0Create, Delete, Read, Update
Vendor Error Codesv2.0Create, Delete, Read, Update
Vouchersv2.0, 2.1Create, Delete, Read, Update

Run bash scripts/​fetch-and-generate.sh to update this index

Actions: See reference/​endpoints-index.md for charge point, user, reservation, and notification actions.

<!-- END:QUICK_INDEX -->

Data Model Overview

Understanding how AMPECO entities relate helps you choose the right endpoints.

Operator (tenant scope)
├── Location → ChargePoint → EVSE → Session
├── User → Session, PartnerInvite
├── Partner → ChargePoint (owned), PartnerInvite (users)
└── Tariff, SubscriptionPlan

Common Use Cases:

TaskKey Endpoints
Charge point statssessions?filter[chargePointId]=, sessions/​{id}/​consumption-stats
User billingsessions?filter[userId]=, transactions?filter[userId]=, receipts
Fleet managementcharge-points?filter[partnerId]=, partner-invites, partner-revenues
Start/​stop chargingactions/​charge-point/​{id}/​start/​{evse}, actions/​charge-point/​{id}/​stop/​{session}

See reference/​data-model.md for detailed relationships and recipes.


Common Patterns

Pagination

Cursor pagination (default, recommended):

GET /​public-api/​resources/​users/​v1.0?per_page=25
GET /​public-api/​resources/​users/​v1.0?cursor={next_cursor}&per_page=25

Page pagination (legacy support):

GET /​public-api/​resources/​users/​v1.0?page=1&per_page=25

Filtering

Use filter[fieldName]=value format:

GET /​public-api/​resources/​sessions/​v1.0?filter[userId]=123
GET /​public-api/​resources/​sessions/​v1.0?filter[status]=active
GET /​public-api/​resources/​sessions/​v1.0?filter[startedAfter]=2024-01-01T00:00:00Z

Includes

Embed related resources with include[]=relationName:

GET /​public-api/​resources/​charge-points/​v1.0?include[]=evses&include[]=location

Error Responses

{
  "message": "Unauthenticated."
}

Status codes: 401 (Unauthorized), 403 (Forbidden), 404 (Not Found), 422 (Validation Error)


How to Use This Skill

  1. First: Run bash scripts/​fetch-and-generate.sh to get latest docs
  2. Find endpoints: Load reference/​endpoints-index.md
  3. Check schemas: Load reference/​schemas-index.md
  4. Check patterns: Load reference/​common-patterns.md for pagination, filtering, errors
  5. See deprecated: Load reference/​deprecation-map.md

Reference Files

  • reference/​data-model.md - Entity relationships and use case recipes
  • reference/​endpoints-index.md - Complete list of all endpoints
  • reference/​schemas-index.md - Schema summaries
  • reference/​deprecation-map.md - Deprecated endpoints
  • reference/​common-patterns.md - Pagination, filtering, errors

Live Documentation

https://developers.ampeco.com

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View