GetAccessTokenComarch
POST https://{{environment}}/oauth/grip/msm/accesstoken?grant_type=client_credentials
This API resource is used for the genration of the Access Token.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
grant_type | string |
Request Body
[{"name"=>"client_id", "value"=>"{{client_id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{client_secret}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"refresh_token_expires_in":"0","api_product_list":"[Mobile Services Management - KPN]","organization_name":"kpn","developer_email":"0ilam0shbf5wxgijp595dwhg2kiv2p8d.dummy@kpn.com","token_type":"Bearer","issued_at":"1690545117162","client_id":"w345ferwereerwDUMMYzdfg74fgsd","access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW1wb3JhcnlfcGFzc3dvcmQiOmZhbHNlLCJpc00yTSI6dHJ1ZSwidXNlcl9pZCI6MTUzMDA1LCJ1c2VyX25hbWUiOiJtdG0taWFzLWFsb3lzaXVzc3Rnb25kZXJ3amV1Z2R6b3Jnc3RhZmJ1cmVhdSIsInNjb3BlIjpbIlVTRVIiXSwic3BlY3RhdG9yIjpmYWxzZSwiZXhwIjoxNjkwNTgyMTYxLCJqdGkiOiI4NGFkZTY4MS1lMzFmLTQzMjktYmYyYi00NmQ0MTkwMTIyOWUiLCJjbGllbnRfaWQiOiJzZXJ2aWNlIn0.8EE5GJdjcIN6D_ZJY48ETUH8gVG0M_Pt33dvhl0_lLw_Dummy","application_name":"Comarch_Test","level":"production","scope":"","expires_in":"1799","refresh_token":"","refresh_count":"0","status":"approved"}