Open Charge Map · Example Payload

Authenticate

Example: Authenticate a user to get a JWT token for write operations

Electric VehiclesEV ChargingCharging StationsPoints of InterestOpen DataGeospatialTransportationClean EnergyCrowdsourcedRegistry

Authenticate is an example object payload from Open Charge Map, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

authenticate.json Raw ↑
{
  "description": "Example: Authenticate a user to get a JWT token for write operations",
  "request": {
    "method": "POST",
    "url": "https://api.openchargemap.io/v3/profile/authenticate",
    "headers": {
      "Content-Type": "application/json",
      "X-API-Key": "YOUR_API_KEY"
    },
    "body": {
      "EmailAddress": "user@example.com",
      "Password": "yourpassword"
    }
  },
  "response": {
    "status": 200,
    "content_type": "application/json",
    "body": {
      "Data": {
        "UserProfile": {
          "ID": 1001,
          "Username": "charginguser",
          "EmailAddress": "user@example.com",
          "IsProfilePublic": true,
          "Reputation": 100
        },
        "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
      }
    }
  }
}