Admin3dEye provisioning diagnostics for a user

3dEye provisioning diagnostics for a user

Read-only snapshot of a user's 3dEye provisioning state across D1 and 3dEye: the b2c user row, the threedeye_users mapping, any recovery row, and a live customer-scoped probe (user count + whether the email is visible). Requires dual auth: X-Admin-API-Key + JWT.

curl -X GET "https://api.spkey.co/admin/threedeye/users/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "userId": "example_string",
  "user": {
    "found": true,
    "email": "null"
  },
  "mapping": {
    "found": true,
    "threedeyeUserId": "null",
    "hasPassword": true,
    "createdAt": "null",
    "remoteAccountExists": "null"
  },
  "recovery": {
    "found": true,
    "roleIds": [
      "example_string"
    ]
  },
  "remote": {
    "configured": true,
    "customerId": "null",
    "customerUserCount": "null",
    "emailPresentInCustomer": "null",
    "match": "null",
    "sampleEmails": [
      "user@example.com"
    ],
    "error": "null"
  }
}
GET
/admin/threedeye/users/{userId}
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.
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

Responses

userIdstring
Required
userobject
Required
mappingobject
Required
recoveryobject
Required
remoteobject
Required