Get context Beta
The user's active device, posture, available devices and matched profile
Beta. This endpoint is live for design partners, with keys that Dopl issues while the developer portal is being built.
GET /v1/users/{external_user_id}/context
available lists online devices only, and profile is the one that applies to the active device. Context profiles and routing explains each field. Secret key, scope devices:read.
Authorizations
AuthorizationA project secret key (sk_test_… or sk_live_…) sent as Authorization: Bearer <key>. Server to server only.
Path parameters
external_user_idYour own ID for the end user, 1 to 255 characters. End users never need a Dopl account.
| Status | Body |
|---|---|
200 | DeviceContext |
401, 404 | Error |