Create API Key
Endpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA public key. The platform will use this public key to verify signatures on API requests.
Authorizations
Your API key ID
RSA-PSS signature of the request
Request timestamp in milliseconds
Body
Name for the API key. This helps identify the key's purpose
RSA public key in PEM format. This will be used to verify signatures on API requests
List of scopes to grant to the API key. If the broad write parent scope is included, read must also be included. Child scopes may be granted without the broad parent scope. Defaults to full access (read, write) if not provided.
Scope granted to an API key. Parent scopes grant broad access; for example, read grants all read endpoints and write grants all write endpoints. Child scopes such as read::block_trade_accept, read::portfolio_balance, write::trade, write::transfer, and write::block_trade_accept grant only their specific endpoint group and can be granted without the parent scope.
read, write, read::block_trade_accept, read::portfolio_balance, write::trade, write::transfer, write::block_trade_accept If set, restricts the API key to a single sub-account (0-63) that you own. A restricted key may only read and trade on that sub-account; it cannot act on other sub-accounts, transfer funds between sub-accounts, or create sub-accounts. Omit to leave the key unrestricted.
0 <= x <= 63Response
API key created successfully
Unique identifier for the newly created API key