3PP exchanges the authorization code for an access token and refresh token. After 3PP gets authorization code, they need to exchange the authorization token for an access token and refresh token.
Request
Query Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://openapi-stage-hk.orangeconnex.com/oauth/token?client_id=bd1d1971-d0db-11ea-b4a1-00505694c27b&grant_type=authorization_code&redirect_uri=https://www.baidu.com&code=gTJjJKyOR0F%252FYo5%252BQ0Xz0rG0%252BVPpSFWX67aQAH%252FhqwYIuvb30f15LEFthn%252BMPamdgeQ0u%252BO5iY3dLC5jE%252BtnYh4Bp3KpwMEoz1Y9PYmcuzNqx2T3OteAACZAByPM5f7fkaaa8HggrVEPW70wqbRLVHufOUCXUtpIc4RFh%252B6tpizJ3hKhD7J9MwdIK38rada7gnbqyViZxnWnG%252F8OcSxY9XGe8CKeUdgQIgwKWVBHGrD7dZOAjszBH8IGjMS1rkYItr3%252Fk4v%252BNmOiFkjkxKbH6GmP%252Bmgdp%252BQFDAmlS7jBpOs3IArUtime89enasY%252FVyTyTHLa8rWb%252FOpRc%252BfwfH0XU%252Fn62z4HWfR4Zg%252FYbuyDLwK2zSGElpQ9ETz%252FG2xWJ36af%252FXJJ7RlEvy1UEAJK%252BbV%252FhGMfwAUcWZ7OYMlfXzkY2pm31mmWjgNLMcseVH2HXhZkoeKxrhi3C6iyYoBJdrjLKjaD4nFzGs84VySpy%252BJAM6FrE7UMZnLKAj5xV%252F3XuvXHM7JWTbCEZ2r2dl9EHwic2hV1bviUEn59UVMHtg65nBdIBgzA1gDAfan061LcOzV9M2F5EW7iUe7FtEQ3bQzTai68GBK%252FOFp%252Fgg9XJGkucLLKJVQhctNZ6p52SIvnzaAdN7fyjXYXjNAiN3yKJ0raiD29Uh%252FOGT8sjpe1smk2L8%253D' \
--header'clientKey: 8eea07aa-bffa-11ea-b4a1-00505694c27b'