AdminRead one Door Lock's PIN capability and provisioning campaign

Read one Door Lock's PIN capability and provisioning campaign

Returns what the lock reported about its PIN support (including the require_pin_remote gate, Door Lock attr 0x33) alongside the app-service PIN campaign: state, attempt count, last ack outcome, timestamps and the slot it occupies. Both halves are null when the device is unknown to both tables — that is a valid answer, not a 404. The stored PIN is never returned. Requires dual auth.

curl -X GET "https://api.spkey.co/admin/pin-status/John Doe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "thingName": "John Doe",
  "capability": "null",
  "campaign": "null"
}
GET
/admin/pin-status/{thingName}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
path
thingNamestring
Required

AWS IoT thing name — identical to the Matter device UUID / aggregate id.

Min length: 1
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

thingNamestring
Required

AWS IoT thing name — identical to the Matter device UUID / aggregate id.

Responses

thingNamestring
Required
capabilityobject,null
Required
campaignobject,null
Required