This documentation is still a work in progress. Please contact Support to register for early access.
curl --location --request PUT 'https://api.portierx.com/api/v1/spaces/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Conference Room A",
"building_id": "01995612-4bdc-7d30-9551-4c871fff4a51",
"area": "Large",
"department": "Executive",
"source": "manual"
}'{
"msg": "Item created successfully",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Central Park Headquarters",
"slug": "central-park-hq",
"description": "Main office located near Central Park in Manhattan.",
"address": "123 Park Avenue, New York, NY 10022",
"country": "United States",
"country_code": "US",
"city": "New York",
"place": "Manhattan",
"postal_code": "10022",
"tag": "headquarters"
}
}