MCP

Read signed-in device consent context

Returns the selected account, grantable scopes, connection capacity, resource, and expiry immediately before a human approves or denies the device. Requested scopes may be reduced to the member's effective authority.

get/credits/mcp/oauth/device/context

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/mcp/oauth/device/context
  • Auth
    HTTP bearer

Query parameters

user_codestring required

Case-insensitive device-code input. Locus ignores non-alphanumeric punctuation, rejects ambiguous characters, and normalizes the six significant characters to XXX-XXX.

Six-character device user code. Input is case-insensitive; non-alphanumeric punctuation is ignored and the value is normalized to XXX-XXX.

Headers

X-Locus-Tenant-Idstring uuid

Explicit account selection for a signed-in identity with multiple active memberships.

Response

Device consent context

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.