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/access-points' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"point_name": "Main Server Room Entrance",
"label": "ENT-SRV-01",
"description": "Secure access point for entering the main server room. Equipped with biometric scanner and dual-factor authentication. Only authorized personnel with technician or admin credentials may pass.",
"source": "manual",
"linked_credentials": [
"38852461-ab6b-4f47-988e-440227c5b30c",
"526b6461-593d-4d5b-aed5-fbd06eaad9f6",
"e07e4670-e6d2-4c86-9a7b-f36bbfc25a53"
]
}'
{
"msg": "Access Point created successfully.",
"data": {
"id": "4d0d5c20-f774-4651-aead-b2675ca1c8be",
"name": "Main Server Room Entrance",
"label": "ENT-SRV-01",
"description": "Secure access point for entering the main server room. Equipped with biometric scanner and dual-factor authentication. Only authorized personnel with technician or admin credentials may pass.",
"source": "manual",
"linked_credentials": [
{
"id": "22d0dd65-dd00-4010-abf2-e139b0b20703",
"credential_id": "AC-20250709-014",
"credential_name": "Technician Badge - Server Access",
"assigned_to": {
"id": "7af12954-c188-4ab4-a63f-a4d0dbe0bcff",
"first_name": "Günther",
"last_name": "Doe",
"mobile_phone": "+62 812-3456-7890",
"email": "gunther.doe@datacenter.io"
},
"source": "manual"
}
]
}
}