Skip to main content
POST
/
api
/
accesscontrol
/
createWiegandH10302Credential
Create H10302 Wiegand credential
curl --request POST \
  --url https://api2.rhombussystems.com/api/accesscontrol/createWiegandH10302Credential \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "cardNumber": 456789,
  "endDateEpochSecExclusive": 1672531200,
  "startDateEpochSecInclusive": 1640995200,
  "userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
import requests

url = "https://api2.rhombussystems.com/api/accesscontrol/createWiegandH10302Credential"

payload = {
"cardNumber": 456789,
"endDateEpochSecExclusive": 1672531200,
"startDateEpochSecInclusive": 1640995200,
"userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
cardNumber: 456789,
endDateEpochSecExclusive: 1672531200,
startDateEpochSecInclusive: 1640995200,
userUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};

fetch('https://api2.rhombussystems.com/api/accesscontrol/createWiegandH10302Credential', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/accesscontrol/createWiegandH10302Credential")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cardNumber\": 456789,\n \"endDateEpochSecExclusive\": 1672531200,\n \"startDateEpochSecInclusive\": 1640995200,\n \"userUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();
{
  "credential": {
    "assigneeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "createdAtMillis": 123,
    "endDateEpochSecExclusive": 123,
    "lastUsedAccessControlledDoorUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lastUsedAtMillis": 123,
    "lastUsedLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lowercaseHexValue": "<string>",
    "managedCredUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "note": "<string>",
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "startDateEpochSecInclusive": 123,
    "updatedAtMillis": 123,
    "userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "value": "<string>"
  }
}

Authorizations

x-auth-apikey
string
header
required

Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).

Headers

x-auth-scheme
enum<string>
default:api-token
required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Available options:
api-token,
api,
partner-api-token,
partner-api

Body

application/json

Request to create a H10302 Wiegand credential.

cardNumber
integer<int64> | null

Card number (35-bit, no facility code)

Example:

456789

endDateEpochSecExclusive
integer<int64> | null

End date in epoch seconds (exclusive)

Example:

1672531200

startDateEpochSecInclusive
integer<int64> | null

Start date in epoch seconds (inclusive)

Example:

1640995200

userUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response for H10302 Wiegand credential creation.

credential
object

Credentials assigned to the pass.

Last modified on July 10, 2026