This documentation is still a work in progress. Please contact Support to register for early access.
curl --location --request POST 'https://api.portierx.com/api/v1/spaces' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Conference Room A",
"building_id": "660e8400-e29b-41d4-a716-446655440001",
"area": "Large",
"department": "Executive",
"source": "manual"
}'
{
"msg": "Retrieved item successfully",
"data": {
"id": "0199561f-3e30-7c1f-ab66-a880711a32a8",
"building_id": "01995612-4bdc-7d30-9551-4c871fff4a51",
"name": "Conference Room A",
"slug": "conference-room-a",
"area": "Large",
"department": "Executive",
"location": "",
"building": "",
"summary": {
"total_access_control_systems": null,
"total_access_credentials": null,
"total_access_points": null,
"total_individuals": null
}
}
}