Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Get User Info

Get information about the authenticated user and their organization. Requires an OAuth access token with account:read scope.
Request example
curl https://api.v2.dealmachine.com/v1/oauth/userinfo \ -H "Authorization: Bearer dm_at_live_xxx"
Response example
{ "sub": "42", "org_id": 1, "org_name": "My Company", "scope": "account:read", "token_id": "dm_tid_abc123", "app_name": "My OAuth App" }

Response Fields

FieldTypeDescription
substringUser ID (as string, per OpenID Connect convention)
org_idnumberOrganization ID
org_namestringOrganization name
scopestringGranted scopes
token_idstringToken identifier
app_namestringName of the OAuth application
This endpoint requires an OAuth access token (dm_at_live_xxx). API keys (dm_sk_live_xxx) should use the /v1/account endpoint instead.