Create a tenant charging location and return it
post/v1/tenants/{tenant_id}/locations
Requires an API key
Synchronous: the response carries the location resource ID. Replays with the same Idempotency-Key return the same location. Supply external_reference to make the location findable by your own identifier and to prevent duplicates for the same reference.
Path parameters
- tenant_idintegerRequired
Headers
- idempotency-keystringRequired
Request body
- namestringRequired2–80 characters
- addressstringDefault
""· Up to 120 characters - citystringDefault
""· Up to 120 characters - statestringDefault
""· Up to 120 characters - countrystringDefault
"USA"· Pattern^[A-Z]{3}$ - postal_codestringDefault
""· Up to 20 characters - latitudenumber | nullOptional; supply latitude and longitude together.Minimum -90 · Maximum 90
- longitudenumber | nullMinimum -180 · Maximum 180
- time_zonestringDefault
"America/New_York"· 1–80 characters - external_referencestring | nullYour stable identifier for this resource (for example a property or listing ID). Unique per tenant and resource type. Filter lists with ?external_reference=. No customer data or secrets.Pattern
^[A-Za-z0-9][A-Za-z0-9_.:/-]{0,127}$
Returns · 201
- idintegerRequired
- tenant_idintegerRequired
- namestringRequired
- addressstring | nullRequired
- citystring | nullRequired
- statestring | nullRequired
- countrystring | nullRequired
- postal_codestring | nullRequired
- latitudenumber | nullRequired
- longitudenumber | nullRequired
- time_zonestring | nullRequired
- external_referencestring | null
POST /v1/tenants/{tenant_id}/locations
curl --fail-with-body -X POST "https://api.ivoracharge.com/v1/tenants/1042/locations" \
-H "Authorization: Bearer $IVORA_API_KEY" \
-H "Idempotency-Key: order-2026-09-30-0001" \
-H "Content-Type: application/json" \
-d '{
"name": "bay-01"
}'Response · 201
{
"id": 1,
"tenant_id": 1042,
"name": "bay-01",
"address": "string",
"city": "string",
"state": "string",
"country": "string",
"postal_code": "string",
"latitude": 34.05,
"longitude": -117.99,
"time_zone": "America/Los_Angeles",
"external_reference": "property:1001"
}Try it is not available here yetRequests from this page are off until the production API at
https://api.ivoracharge.com is public. Use the code samples from your application server; Ivora grants production access. Keys are created in Developer tools.