cURL
curl --request POST \ --url https://api.machines.cash/partner/v1/users/resolve \ --header 'Content-Type: application/json' \ --header 'X-Partner-Key: <api-key>' \ --data ' { "userId": "user-123" } '
{ "ok": true, "data": { "userId": "<string>", "walletAddress": "<string>", "kycStatus": "not_submitted", "createdAt": "2023-11-07T05:31:56Z" }, "summary": "<string>", "errors": [ { "code": "invalid_request", "message": "missing required field", "field": "<string>" } ], "next": { "pollAfterMs": 1, "suggestedTool": "<string>", "suggestedArgs": {} } }
Maps your user id to a Machines user (and wallet).
Return Open Responses-compatible output when set (replaces the default response envelope).
1
true
Tool call id used for function_call_output items when Open Responses mode is enabled.
Your unique id for this user.
1 - 120
"user-123"
"0x2b0f7f2f7c8e4c3d2d3b3f6a8f9b0c1d2e3f4a5b"
Optional label for display.
120
"Main Wallet"
User resolved
Show child attributes