site.id
in the body, otherwise the schema is as described below.Authorization: Bearer ********************
type
. They are not user-adjustable and should be configured during installation / commissioning.{
"site": {
"id": "abc-789",
"first_name": "John",
"last_name": "Doe",
"company_name": "ABC Co.",
"email": "[email protected]",
"state_code": "AK",
"city": "San Francisco",
"zip_code": "88800",
"street_address": "123 Main St",
"street_address2": "string"
},
"devices": [
{
"id": "xyz-123",
"manufacturer_name": "DeviceMaker",
"product_name": "Model 1",
"serial_number": "123456789",
"type": "BATTERY",
"attributes": {
"battery_capacity_wh": 15000,
"battery_power_input_w": 6000,
"battery_power_output_w": 7500
},
"install_date": "2025-06-19T15:30:00-07:00"
}
]
}
curl --location --request POST 'https://mock.apidog.com/m1/479670-0-default/v1/sessions' \
--header 'Content-Type: application/json' \
--data-raw '{
"site": {
"id": "abc-789",
"first_name": "John",
"last_name": "Doe",
"company_name": "ABC Co.",
"email": "[email protected]",
"state_code": "AK",
"city": "San Francisco",
"zip_code": "88800",
"street_address": "123 Main St",
"street_address2": "string"
},
"devices": [
{
"id": "xyz-123",
"manufacturer_name": "DeviceMaker",
"product_name": "Model 1",
"serial_number": "123456789",
"type": "BATTERY",
"attributes": {
"battery_capacity_wh": 15000,
"battery_power_input_w": 6000,
"battery_power_output_w": 7500
},
"install_date": "2025-06-19T15:30:00-07:00"
}
]
}'
{
"token": "xyz-abc",
"has_programs": true
}