v1

latestOpenAPI 3.1.02026-07-262771117.8 KB

Create or Fetch User

Creates a new Swaps account for a user or fetches an existing one based on the provided EVM address.

post/workflows/polymarket/createOrFetchPolymarketUser

Request body

evmEoastring required

EVM address (0x prefix + 40 hex characters)

Response

Successful response with user information

newUserboolean required

Whether this is a newly created user (true) or existing user (false)

userIdstring required

Polymarket user ID (EVM address)

Example response

{
  "newUser": true,
  "userId": "0x0797bfec6d2d4f733d461bbee8125805e9e9c892"
}