Roles Endpoint
POSThttps://api.gemini.com/v1/roles
The v1/roles endpoint will return a string of the role of the current API key. The response fields will be different for account-level and master-level API keys.
POST
curl --request POST \
--url https://api.gemini.com/v1/roles \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"request": "/v1/roles",
"nonce": "<nonce>"
}
'Headers
Request Body
Responses
The response will be a JSON object indicating the assigned roles to the set of API keys used to call `/v1/roles`. The `Auditor` role cannot be combined with other roles. `Fund Manager` and `Trader` can be combined.
Last modified on