Skip to content

Examples

List devices for a tenant

curl https://api.ampnexus.app/api/chargepoint/v1/tenants/demo/devices   -H "Authorization: Bearer <token>"

Subscribe to logs via SSE

curl -N https://api.ampnexus.app/api/chargepoint/v1/tenants/demo/logs/events?device_serial=PS-0001   -H "Authorization: Bearer <token>"

Query meter samples

curl https://api.ampnexus.app/api/meter/v1/tenants/demo/meter-samples?device_serial=PS-0001   -H "Authorization: Bearer <token>"