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-credentials/assign' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"msg": "Access Points successfully updated.",
"data": {
"credentials": [
{
"id": "i4tkpz_v7yGvfCBjTc9lq",
"credential_id": "CRED001",
"credential_name": "Badge ",
"source": "manual",
"created_at": "2025-08-12T04:03:34.920Z"
}
],
"assigned_to": {
"id": "_7i8PVldJu0jnbAlYnKp7",
"first_name": "Eloise",
"last_name": "Shanahan",
"email": "Rahsaan_Sanford10@yahoo.com",
"mobile_phone": "(304) 791-5494",
"created_at": "2025-08-12T08:42:50.207Z",
"end_date": "2025-07-28"
},
"issued_by": {
"id": "zitadel-id",
"name": "Nanang"
},
"metadata": {
"condition": "good",
"notes": ""
},
"status": "assigned",
"occurred_at": "Asia/Tashkent",
"created_at": "Asia/Muscat",
"due_date": "2025-07-29",
"due_reason": "dolor dolore"
}
}'
{
"msg": "Access Points successfully updated.",
"data": {
"credentials": [
{
"id": "uuid",
"credential_id": "CRED001",
"name": "Badge 01"
},
{
"id": "uuid",
"credential_id": "CRED001",
"name": "Badge 01"
}
],
"assigned_to": {
"id": "uuid-individual",
"name": "Nanang"
},
"issued_by": {
"id": "zitadel-id",
"name": "Nanang"
},
"metadata": {
"condition": "good",
"notes": ""
},
"status": "assigned",
"occurred_at": "2025-07-07T08:00:00Z",
"created_at": "2025-07-07T08:00:00Z"
}
}