AdminList Door Lock PIN provisioning status across the fleet

List Door Lock PIN provisioning status across the fleet

Joins device_pin_capability with matter_device_app_pin for every known Matter Door Lock, newest activity first. Filter by provisionState to answer "which locks are unconfirmed or failed?", or by requirePinRemote to find locks the app-PIN gate does or does not apply to. Locks that have never provisioned are included (campaign null) unless a state filter excludes them. The stored PIN is never returned. Requires dual auth.

curl -X GET "https://api.spkey.co/admin/pin-status?provisionState=pending&requirePinRemote=true&limit=42" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "total": 3.14,
  "truncated": true,
  "rows": [
    {
      "thingName": "John Doe",
      "capability": "null",
      "campaign": "null"
    }
  ]
}
GET
/admin/pin-status
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.
query
provisionStatestring

Filter to campaigns in this state. Omit for all.

Options: pending, sent, verified, unverified, failed
query
requirePinRemotestring

Filter on the tri-state gate: positively required, positively not, or never reported.

Options: true, false, unknown
query
limitinteger

Max rows to return (default 100).

Min: 1 • Max: 500
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.

Query Parameters

provisionStatestring

Filter to campaigns in this state. Omit for all.

Allowed values:pendingsentverifiedunverifiedfailed
requirePinRemotestring

Filter on the tri-state gate: positively required, positively not, or never reported.

Allowed values:truefalseunknown
limitinteger

Max rows to return (default 100).

Responses

totalnumber
Required
truncatedboolean
Required
rowsarray
Required