cURL
curl --request POST \ --url https://traderapi.us-east-1.privatelink.preprod.polymarketexchange.com/auth/v1beta1/login \ --header 'Content-Type: application/json' \ --data ' { "otp": "<string>", "password": "<string>", "username": "<string>" } '
{ "accessExpirationTime": "2023-11-07T05:31:56Z", "accessIssueTime": "2023-11-07T05:31:56Z", "accessToken": "<string>", "refreshExpirationTime": "2023-11-07T05:31:56Z", "refreshIssueTime": "2023-11-07T05:31:56Z", "refreshToken": "<string>" }
Authenticates users and returns a JWT to be used for API requests.
Time-based one-time password used when multi-factor authentication is enabled.
A successful response.