Logo
Admin API API Documentation

Create apiKey

POST {{URL_ORIGIN}}/api/mp-groups/49/api-keys

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "label": "AllPermissions", "permissions": [ "market-service:market:order_book_depth", "market-service:market:order_book_state", "market-service:market:execution_reports", "market-service:market:mass_order_status", "market-service:market:trades", "reporting:mp:orders", "reporting:mp:trades" ], "mpGroupId": "2", "secret": "feed105f5f3060e4c452df9919aaa57ed13294d31bd8ff3758f52c0e05f5328d", "apiKey": "f3f922ea-da5e-475e-a81c-311581ccb241" }



Curl
curl -X POST 'URL_ORIGIN/api/mp-groups/49/api-keys' -d '{"label":"AllPermissions","permissions":["market-service:market:order_book_depth","market-service:market:order_book_state","market-service:market:execution_reports","market-service:market:mass_order_status","market-service:market:trades","reporting:mp:orders","reporting:mp:trades"]}'

ENDPOINTS