O Auth Token

### Used to exchange your OAuth code for an access token. Using the OAuth authorization delegation flow, we can send a request to verify that our users are who they say they are. For more information on using OAuth with the Tradovate API see our [OAuth JavaScript tutorial](https://github.com/tradovate/example-api-oauth).

Request

This endpoint expects an object.
grant_typestringRequired<=64 characters
codestringRequired<=8192 characters
redirect_uristringRequired<=8192 characters
client_idstringOptional<=8192 characters
client_secretstringOptional<=8192 characters
httpAuthstringOptional<=8192 characters

Response

OAuthTokenResponse
access_tokenstring or null<=8192 characters
token_typestring or null<=64 characters
expires_ininteger or null
errorstring or null<=64 characters
error_descriptionstring or null<=8192 characters